Searched refs:is_host_enabled (Results 1 – 5 of 5) sorted by relevance
338 if ((usbintr & MUSB_INTR_BABBLE) && is_host_enabled(musb)) in dsps_interrupt()347 err = is_host_enabled(musb) && (musb->int_usb & in dsps_interrupt()366 } else if (is_host_enabled(musb) && drvvbus) { in dsps_interrupt()445 if (is_host_enabled(musb)) in dsps_musb_init()489 if (is_host_enabled(musb)) in dsps_musb_exit()
288 err = is_host_enabled(musb) && (musb->int_usb & in am35x_musb_interrupt()306 } else if (is_host_enabled(musb) && drvvbus) { in am35x_musb_interrupt()397 if (is_host_enabled(musb)) in am35x_musb_init()435 if (is_host_enabled(musb)) in am35x_musb_exit()
237 if (is_host_enabled(musb)) { in sunxi_musb_enable()273 if (is_host_enabled(musb)) { in sunxi_musb_disable()317 if (is_host_enabled(musb)) { in sunxi_musb_init()
942 } else if (is_host_enabled(musb)) { in musb_start()1027 if (!is_otg_enabled(musb) && is_host_enabled(musb)) in musb_shutdown()2031 if (is_host_enabled(musb)) { in musb_init_controller()2054 if (!is_otg_enabled(musb) && is_host_enabled(musb)) { in musb_init_controller()2129 if (!is_otg_enabled(musb) && is_host_enabled(musb)) in musb_init_controller()2229 if (is_host_enabled(musb)) { in musb_save_context()2272 if (is_host_enabled(musb)) { in musb_save_context()2306 if (is_host_enabled(musb)) { in musb_restore_context()2349 if (is_host_enabled(musb)) { in musb_restore_context()
56 #define is_host_enabled(musb) ((musb)->board_mode != MUSB_PERIPHERAL) macro