Searched refs:is_otg_enabled (Results 1 – 6 of 6) sorted by relevance
105 if (is_otg_enabled(musb)) in am35x_musb_enable()194 if (!is_otg_enabled(musb)) in am35x_musb_try_idle()345 if (is_otg_enabled(musb) && musb->xceiv->state == OTG_STATE_B_IDLE) in am35x_musb_interrupt()
1906 if (is_otg_enabled(musb)) in musb_gadget_setup()1998 if (!is_otg_enabled(musb)) in musb_gadget_start()2005 if (is_otg_enabled(musb)) { in musb_gadget_start()2034 if (!is_otg_enabled(musb)) in musb_gadget_start()2116 if (is_otg_enabled(musb)) { in musb_gadget_stop()2124 if (!is_otg_enabled(musb)) in musb_gadget_stop()2297 } else if (is_otg_enabled(musb)) { in musb_g_reset()2305 is_otg_enabled(musb) ? 8 : 100); in musb_g_reset()
635 musb->is_active = is_otg_enabled(musb) in musb_stage0_irq()652 musb->is_active = is_otg_enabled(musb) in musb_stage0_irq()745 if (musb->a_wait_bcon != 0 && is_otg_enabled(musb)) in musb_stage0_irq()929 if (is_otg_enabled(musb)) { in musb_start()1027 if (!is_otg_enabled(musb) && is_host_enabled(musb)) in musb_shutdown()2036 if (is_otg_enabled(musb)) in musb_init_controller()2054 if (!is_otg_enabled(musb) && is_host_enabled(musb)) { in musb_init_controller()2085 is_otg_enabled(musb) ? "OTG" : "PERIPHERAL", in musb_init_controller()2129 if (!is_otg_enabled(musb) && is_host_enabled(musb)) in musb_init_controller()
170 if (is_otg_enabled(musb)) in dsps_musb_enable()262 if (!is_otg_enabled(musb)) in dsps_musb_try_idle()399 if (is_otg_enabled(musb) && musb->xceiv->state == OTG_STATE_B_IDLE) in dsps_interrupt()
257 if (!is_otg_enabled(musb) || musb->gadget_driver) { in omap_musb_set_mailbox()280 if (is_otg_enabled(musb) || is_peripheral_enabled(musb)) in omap_musb_set_mailbox()
57 #define is_otg_enabled(musb) ((musb)->board_mode == MUSB_OTG) macro