Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/misc/vmw_vmci/
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()
Dvmci_driver.h39 void vmci_call_vsock_callback(bool is_host);
/linux-6.6.21/drivers/usb/musb/
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")
360 bool is_host; member
Dmediatek.c264 musb->is_host = false; in mtk_musb_init()
/linux-6.6.21/drivers/net/ethernet/microchip/sparx5/
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.6.21/drivers/usb/dwc2/
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()
Dcore.h1295 int dwc2_enter_hibernation(struct dwc2_hsotg *hsotg, int is_host);
1297 int reset, int is_host);
1321 int is_host);
/linux-6.6.21/drivers/usb/mtu3/
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()
Dmtu3_plat.c55 if (!ssusb->is_host) in wait_for_ip_sleep()
391 ssusb->is_host = !(ssusb->dr_mode == USB_DR_MODE_PERIPHERAL); in mtu3_probe()
495 ssusb_host_resume(ssusb, !ssusb->is_host); in resume_ip_and_ports()
496 if (!ssusb->is_host) in resume_ip_and_ports()
525 if (!ssusb->is_host) { in mtu3_suspend_common()
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()
Dmtu3.h257 bool is_host; member
Dmtu3_host.c302 if (ssusb->is_host) in ssusb_host_cleanup()
/linux-6.6.21/drivers/usb/renesas_usbhs/
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.6.21/drivers/accel/habanalabs/gaudi/
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.6.21/include/linux/
Dvmw_vmci_api.h22 typedef void (*vmci_vsock_cb) (bool is_host);
/linux-6.6.21/tools/perf/util/
Dsymbol.c2305 bool is_host = false; in dso__find_kallsyms() local
2317 is_host = dso__build_id_equal(dso, &bid); in dso__find_kallsyms()
2320 if (is_host) { in dso__find_kallsyms()
2343 if (is_host) { in dso__find_kallsyms()
/linux-6.6.21/net/vmw_vsock/
Dvmci_transport.c2072 static void vmci_vsock_transport_cb(bool is_host) in vmci_vsock_transport_cb() argument
2076 if (is_host) in vmci_vsock_transport_cb()