Home
last modified time | relevance | path

Searched refs:is_host (Results 1 – 17 of 17) sorted by relevance

/linux-6.3-rc2/drivers/misc/vmw_vmci/
A Dvmci_driver.c93 void vmci_call_vsock_callback(bool is_host) in vmci_call_vsock_callback() argument
103 if (is_host) { in vmci_call_vsock_callback()
110 vmci_vsock_transport_cb(is_host); in vmci_call_vsock_callback()
A Dvmci_driver.h39 void vmci_call_vsock_callback(bool is_host);
/linux-6.3-rc2/drivers/usb/musb/
A Dmusb_core.h54 #define is_peripheral_active(m) (!(m)->is_host)
55 #define is_host_active(m) ((m)->is_host)
99 { (_musb)->is_host = true; }
101 { (_musb)->is_host = false; }
106 #define MUSB_MODE(musb) ((musb)->is_host ? "Host" : "Peripheral")
362 bool is_host; member
A Dmediatek.c263 musb->is_host = false; in mtk_musb_init()
/linux-6.3-rc2/drivers/net/ethernet/microchip/sparx5/
A Dsparx5_switchdev.c520 bool is_host, is_new; in sparx5_handle_port_mdb_add() local
527 is_host = netif_is_bridge_master(v->obj.orig_dev); in sparx5_handle_port_mdb_add()
556 if (is_host && !entry->cpu_copy) { in sparx5_handle_port_mdb_add()
559 } else if (!is_host) { in sparx5_handle_port_mdb_add()
577 bool is_host; in sparx5_handle_port_mdb_del() local
583 is_host = netif_is_bridge_master(v->obj.orig_dev); in sparx5_handle_port_mdb_del()
595 if (is_host && entry->cpu_copy) { in sparx5_handle_port_mdb_del()
598 } else if (!is_host) { in sparx5_handle_port_mdb_del()
/linux-6.3-rc2/drivers/usb/dwc2/
A Dcore.c147 int is_host) in dwc2_restore_essential_regs() argument
163 if (is_host) { in dwc2_restore_essential_regs()
184 if (is_host) { in dwc2_restore_essential_regs()
215 int is_host) in dwc2_hib_restore_common() argument
243 if (!is_host && rem_wakeup) in dwc2_hib_restore_common()
259 dwc2_restore_essential_regs(hsotg, rem_wakeup, is_host); in dwc2_hib_restore_common()
362 int dwc2_enter_hibernation(struct dwc2_hsotg *hsotg, int is_host) in dwc2_enter_hibernation() argument
364 if (is_host) in dwc2_enter_hibernation()
381 int reset, int is_host) in dwc2_exit_hibernation() argument
383 if (is_host) in dwc2_exit_hibernation()
A Dcore.h1293 int dwc2_enter_hibernation(struct dwc2_hsotg *hsotg, int is_host);
1295 int reset, int is_host);
1319 int is_host);
/linux-6.3-rc2/drivers/usb/mtu3/
A Dmtu3_dr.c136 current_role = ssusb->is_host ? USB_ROLE_HOST : USB_ROLE_DEVICE; in ssusb_mode_sw_work()
158 ssusb->is_host = true; in ssusb_mode_sw_work()
162 ssusb->is_host = false; in ssusb_mode_sw_work()
274 return ssusb->is_host ? USB_ROLE_HOST : USB_ROLE_DEVICE; in ssusb_role_sw_get()
A Dmtu3_plat.c55 if (!ssusb->is_host) in wait_for_ip_sleep()
389 ssusb->is_host = !(ssusb->dr_mode == USB_DR_MODE_PERIPHERAL); in mtu3_probe()
493 ssusb_host_resume(ssusb, !ssusb->is_host); in resume_ip_and_ports()
494 if (!ssusb->is_host) in resume_ip_and_ports()
523 if (!ssusb->is_host) { in mtu3_suspend_common()
A Dmtu3_debugfs.c435 ssusb->is_host ? "host" : "device", in ssusb_mode_show()
456 if (!strncmp(buf, "host", 4) && !ssusb->is_host) { in ssusb_mode_write()
458 } else if (!strncmp(buf, "device", 6) && ssusb->is_host) { in ssusb_mode_write()
A Dmtu3.h256 bool is_host; member
A Dmtu3_host.c301 if (ssusb->is_host) in ssusb_host_cleanup()
/linux-6.3-rc2/drivers/usb/renesas_usbhs/
A Dpipe.c400 static int usbhsp_setup_pipecfg(struct usbhs_pipe *pipe, int is_host, in usbhsp_setup_pipecfg() argument
446 if (!!is_host ^ !!dir_in) in usbhsp_setup_pipecfg()
698 int is_host = usbhs_mod_is_host(priv); in usbhs_pipe_malloc() local
720 if (usbhsp_setup_pipecfg(pipe, is_host, dir_in, &pipecfg)) { in usbhs_pipe_malloc()
/linux-6.3-rc2/drivers/accel/habanalabs/gaudi/
A Dgaudi_coresight.c530 u64 size, bool *is_host) in gaudi_etr_validate_address() argument
553 *is_host = true; in gaudi_etr_validate_address()
606 bool is_host = false; in gaudi_config_etr() local
621 &is_host)) { in gaudi_config_etr()
645 is_host ? 0 : 7); in gaudi_config_etr()
/linux-6.3-rc2/include/linux/
A Dvmw_vmci_api.h22 typedef void (*vmci_vsock_cb) (bool is_host);
/linux-6.3-rc2/tools/perf/util/
A Dsymbol.c2192 bool is_host = false; in dso__find_kallsyms() local
2204 is_host = dso__build_id_equal(dso, &bid); in dso__find_kallsyms()
2207 if (is_host) { in dso__find_kallsyms()
2230 if (is_host) { in dso__find_kallsyms()
/linux-6.3-rc2/net/vmw_vsock/
A Dvmci_transport.c2059 static void vmci_vsock_transport_cb(bool is_host) in vmci_vsock_transport_cb() argument
2063 if (is_host) in vmci_vsock_transport_cb()

Completed in 48 milliseconds