Home
last modified time | relevance | path

Searched refs:is_otg_enabled (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/usb/musb-new/
H A Dam35x.c106 if (is_otg_enabled(musb)) in am35x_musb_enable()
195 if (!is_otg_enabled(musb)) in am35x_musb_try_idle()
346 if (is_otg_enabled(musb) && musb->xceiv->state == OTG_STATE_B_IDLE) in am35x_musb_interrupt()
H A Dmusb_gadget.c1907 if (is_otg_enabled(musb)) in musb_gadget_setup()
1999 if (!is_otg_enabled(musb)) in musb_gadget_start()
2006 if (is_otg_enabled(musb)) { in musb_gadget_start()
2035 if (!is_otg_enabled(musb)) in musb_gadget_start()
2117 if (is_otg_enabled(musb)) { in musb_gadget_stop()
2125 if (!is_otg_enabled(musb)) in musb_gadget_stop()
2298 } else if (is_otg_enabled(musb)) { in musb_g_reset()
2306 is_otg_enabled(musb) ? 8 : 100); in musb_g_reset()
H A Dmusb_core.c636 musb->is_active = is_otg_enabled(musb) in musb_stage0_irq()
653 musb->is_active = is_otg_enabled(musb) in musb_stage0_irq()
746 if (musb->a_wait_bcon != 0 && is_otg_enabled(musb)) in musb_stage0_irq()
930 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()
H A Dmusb_dsps.c171 if (is_otg_enabled(musb)) in dsps_musb_enable()
263 if (!is_otg_enabled(musb)) in dsps_musb_try_idle()
400 if (is_otg_enabled(musb) && musb->xceiv->state == OTG_STATE_B_IDLE) in dsps_interrupt()
H A Dmusb_core.h58 #define is_otg_enabled(musb) ((musb)->board_mode == MUSB_OTG) macro