Home
last modified time | relevance | path

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

/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);
/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.c315 musb->is_host = false; in mtk_musb_init()
/drivers/usb/dwc2/
Dcore.c252 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()
Dcore.h1307 int dwc2_enter_hibernation(struct dwc2_hsotg *hsotg, int is_host);
1309 int reset, int is_host);
1333 int is_host);
/drivers/usb/mtu3/
Dmtu3_dr.c166 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()
Dmtu3_plat.c362 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()
Dmtu3_debugfs.c434 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()
Dmtu3_host.c213 if (ssusb->is_host) in ssusb_host_cleanup()
Dmtu3.h260 bool is_host; member
/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()
/drivers/misc/habanalabs/gaudi/
Dgaudi_coresight.c531 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()