Searched refs:is_host (Results 1 – 15 of 15) sorted by relevance
/linux/drivers/misc/vmw_vmci/ |
H A D | vmci_driver.c | 93 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()
|
H A D | vmci_driver.h | 39 void vmci_call_vsock_callback(bool is_host);
|
/linux/drivers/usb/musb/ |
H A D | musb_core.h | 54 #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
|
H A D | mediatek.c | 264 musb->is_host = false; in mtk_musb_init()
|
/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_switchdev.c | 520 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/drivers/usb/mtu3/ |
H A D | mtu3_dr.c | 136 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()
|
H A D | mtu3_plat.c | 55 if (!ssusb->is_host) in wait_for_ip_sleep() 391 ssusb->is_host = !(ssusb->dr_mode == USB_DR_MODE_PERIPHERAL); in mtu3_probe() 501 ssusb_host_resume(ssusb, !ssusb->is_host); in resume_ip_and_ports() 502 if (!ssusb->is_host) in resume_ip_and_ports() 531 if (!ssusb->is_host) { in mtu3_suspend_common()
|
H A D | mtu3_debugfs.c | 435 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()
|
H A D | mtu3.h | 257 bool is_host; member
|
H A D | mtu3_host.c | 332 if (ssusb->is_host) in ssusb_host_cleanup()
|
/linux/drivers/usb/renesas_usbhs/ |
H A D | pipe.c | 400 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/drivers/accel/habanalabs/gaudi/ |
H A D | gaudi_coresight.c | 535 u64 size, bool *is_host) in gaudi_etr_validate_address() argument 558 *is_host = true; in gaudi_etr_validate_address() 618 bool is_host = false; in gaudi_config_etr() local 633 &is_host)) { in gaudi_config_etr() 657 is_host ? 0 : 7); in gaudi_config_etr()
|
/linux/include/linux/ |
H A D | vmw_vmci_api.h | 22 typedef void (*vmci_vsock_cb) (bool is_host);
|
/linux/tools/perf/util/ |
H A D | symbol.c | 2108 bool is_host = false; in dso__find_kallsyms() 2120 is_host = dso__build_id_equal(dso, &bid); in dso__find_kallsyms() 2123 if (is_host) { in dso__find_kallsyms() 2146 if (is_host) { in dso__find_kallsyms() 2105 bool is_host = false; dso__find_kallsyms() local
|
/linux/net/vmw_vsock/ |
H A D | vmci_transport.c | 2072 static void vmci_vsock_transport_cb(bool is_host) in vmci_vsock_transport_cb() argument 2076 if (is_host) in vmci_vsock_transport_cb()
|