Searched refs:is_host (Results 1 – 10 of 10) sorted by relevance
/Linux-v4.19/drivers/usb/renesas_usbhs/ |
D | rcar3.c | 86 bool is_host = false; in usbhs_rcar3_power_and_pll_ctrl() local 91 is_host = extcon_get_state(priv->edev, EXTCON_USB_HOST); in usbhs_rcar3_power_and_pll_ctrl() 93 usbhs_rcar3_set_usbsel(priv, is_host); in usbhs_rcar3_power_and_pll_ctrl()
|
D | pipe.c | 385 static int usbhsp_setup_pipecfg(struct usbhs_pipe *pipe, int is_host, in usbhsp_setup_pipecfg() argument 431 if (!!is_host ^ !!dir_in) in usbhsp_setup_pipecfg() 683 int is_host = usbhs_mod_is_host(priv); in usbhs_pipe_malloc() local 705 if (usbhsp_setup_pipecfg(pipe, is_host, dir_in, &pipecfg)) { in usbhs_pipe_malloc()
|
/Linux-v4.19/drivers/usb/musb/ |
D | musb_core.h | 53 #define is_peripheral_active(m) (!(m)->is_host) 54 #define is_host_active(m) ((m)->is_host) 98 { (_musb)->is_host = true; } 100 { (_musb)->is_host = false; } 105 #define MUSB_MODE(musb) ((musb)->is_host ? "Host" : "Peripheral") 351 bool is_host; member
|
/Linux-v4.19/drivers/usb/mtu3/ |
D | mtu3_dr.c | 156 ssusb->is_host = true; in ssusb_set_mailbox() 159 ssusb->is_host = false; in ssusb_set_mailbox() 289 ssusb->is_host ? "host" : "device", in ssusb_mode_show() 310 if (!strncmp(buf, "host", 4) && !ssusb->is_host) { in ssusb_mode_write() 312 } else if (!strncmp(buf, "device", 6) && ssusb->is_host) { in ssusb_mode_write()
|
D | mtu3_plat.c | 366 ssusb->is_host = !(ssusb->dr_mode == USB_DR_MODE_PERIPHERAL); in mtu3_probe() 455 if (!ssusb->is_host) in mtu3_suspend() 473 if (!ssusb->is_host) in mtu3_resume()
|
D | mtu3_host.c | 213 if (ssusb->is_host) in ssusb_host_cleanup()
|
D | mtu3.h | 258 bool is_host; member
|
/Linux-v4.19/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 | 1256 int dwc2_enter_hibernation(struct dwc2_hsotg *hsotg, int is_host); 1258 int reset, int is_host); 1278 int is_host);
|
/Linux-v4.19/tools/perf/util/ |
D | symbol.c | 1812 bool is_host = false; in dso__find_kallsyms() local 1825 is_host = dso__build_id_equal(dso, host_build_id); in dso__find_kallsyms() 1828 if (is_host) { in dso__find_kallsyms() 1851 if (is_host) { in dso__find_kallsyms()
|