Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/usb/musb-new/
H A Dmusb_dsps.c338 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()
H A Dam35x.c288 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()
H A Dsunxi.c240 if (is_host_enabled(musb)) { in sunxi_musb_enable()
276 if (is_host_enabled(musb)) { in sunxi_musb_disable()
323 if (is_host_enabled(musb)) { in sunxi_musb_init()
H A Dmusb_core.c942 } else if (is_host_enabled(musb)) { in musb_start()
1028 if (!is_otg_enabled(musb) && is_host_enabled(musb)) in musb_shutdown()
2032 if (is_host_enabled(musb)) { in musb_init_controller()
2055 if (!is_otg_enabled(musb) && is_host_enabled(musb)) { in musb_init_controller()
2130 if (!is_otg_enabled(musb) && is_host_enabled(musb)) in musb_init_controller()
2230 if (is_host_enabled(musb)) { in musb_save_context()
2273 if (is_host_enabled(musb)) { in musb_save_context()
2307 if (is_host_enabled(musb)) { in musb_restore_context()
2350 if (is_host_enabled(musb)) { in musb_restore_context()
H A Dmusb_core.h56 #define is_host_enabled(musb) ((musb)->board_mode != MUSB_PERIPHERAL) macro