Searched refs:is_host (Results 1 – 13 of 13) sorted by relevance
/drivers/misc/vmw_vmci/ |
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()
|
D | vmci_driver.h | 39 void vmci_call_vsock_callback(bool is_host);
|
/drivers/usb/musb/ |
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
|
D | mediatek.c | 315 musb->is_host = false; in mtk_musb_init()
|
/drivers/usb/dwc2/ |
D | core.c | 252 int is_host) in dwc2_restore_essential_regs() argument 268 if (is_host) { in dwc2_restore_essential_regs() 289 if (is_host) { in dwc2_restore_essential_regs() 320 int is_host) in dwc2_hib_restore_common() argument 348 if (!is_host && rem_wakeup) in dwc2_hib_restore_common() 364 dwc2_restore_essential_regs(hsotg, rem_wakeup, is_host); in dwc2_hib_restore_common() 461 int dwc2_enter_hibernation(struct dwc2_hsotg *hsotg, int is_host) in dwc2_enter_hibernation() argument 466 if (is_host) in dwc2_enter_hibernation() 483 int reset, int is_host) in dwc2_exit_hibernation() argument 485 if (is_host) in dwc2_exit_hibernation()
|
D | core.h | 1307 int dwc2_enter_hibernation(struct dwc2_hsotg *hsotg, int is_host); 1309 int reset, int is_host); 1333 int is_host);
|
/drivers/usb/mtu3/ |
D | mtu3_dr.c | 166 ssusb->is_host = true; in ssusb_set_mailbox() 169 ssusb->is_host = false; in ssusb_set_mailbox() 329 if (to_host ^ ssusb->is_host) in ssusb_role_sw_set() 340 role = ssusb->is_host ? USB_ROLE_HOST : USB_ROLE_DEVICE; in ssusb_role_sw_get()
|
D | mtu3_plat.c | 362 ssusb->is_host = !(ssusb->dr_mode == USB_DR_MODE_PERIPHERAL); in mtu3_probe() 459 if (!ssusb->is_host) in mtu3_suspend() 477 if (!ssusb->is_host) in mtu3_resume()
|
D | mtu3_debugfs.c | 434 ssusb->is_host ? "host" : "device", in ssusb_mode_show() 455 if (!strncmp(buf, "host", 4) && !ssusb->is_host) { in ssusb_mode_write() 457 } else if (!strncmp(buf, "device", 6) && ssusb->is_host) { in ssusb_mode_write()
|
D | mtu3_host.c | 213 if (ssusb->is_host) in ssusb_host_cleanup()
|
D | mtu3.h | 260 bool is_host; member
|
/drivers/usb/renesas_usbhs/ |
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()
|
/drivers/misc/habanalabs/gaudi/ |
D | gaudi_coresight.c | 531 u64 size, bool *is_host) in gaudi_etr_validate_address() argument 554 *is_host = true; in gaudi_etr_validate_address() 607 bool is_host = false; in gaudi_config_etr() local 622 &is_host)) { in gaudi_config_etr() 640 WREG32(mmPSOC_ETR_AXICTL, (is_host ? 0 : 0x700) | in gaudi_config_etr()
|