Searched refs:is_otg_enabled (Results 1 – 5 of 5) 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()
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()1028 if (!is_otg_enabled(musb) && is_host_enabled(musb)) in musb_shutdown()2037 if (is_otg_enabled(musb)) in musb_init_controller()2055 if (!is_otg_enabled(musb) && is_host_enabled(musb)) { in musb_init_controller()2086 is_otg_enabled(musb) ? "OTG" : "PERIPHERAL", in musb_init_controller()2130 if (!is_otg_enabled(musb) && is_host_enabled(musb)) in musb_init_controller()
1917 if (is_otg_enabled(musb)) in musb_gadget_setup()2009 if (!is_otg_enabled(musb)) in musb_gadget_start()2016 if (is_otg_enabled(musb)) { in musb_gadget_start()2045 if (!is_otg_enabled(musb)) in musb_gadget_start()2127 if (is_otg_enabled(musb)) { in musb_gadget_stop()2135 if (!is_otg_enabled(musb)) in musb_gadget_stop()2308 } else if (is_otg_enabled(musb)) { in musb_g_reset()2316 is_otg_enabled(musb) ? 8 : 100); in musb_g_reset()
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()
57 #define is_otg_enabled(musb) ((musb)->board_mode == MUSB_OTG) macro