Home
last modified time | relevance | path

Searched refs:DWC_MODE_HOST (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/dev/usb/controller/
H A Ddwc_otg_hisi.c75 sc->sc_otg.sc_mode = DWC_MODE_HOST; in hisi_dwc_otg_attach()
H A Ddwc_otg_fdt.c111 sc->sc_otg.sc_mode = DWC_MODE_HOST; in dwc_otg_attach()
H A Ddwc_otg.h212 #define DWC_MODE_HOST 2 /* host only */ macro
H A Ddwc_otg.c330 if (mode == DWC_MODE_HOST) { in dwc_otg_init_fifo()
2825 if ((is_on != 0) || (sc->sc_mode == DWC_MODE_HOST)) { in dwc_otg_vbus_interrupt()
3901 case DWC_MODE_HOST: in dwc_otg_init()
4040 if (sc->sc_mode == DWC_MODE_OTG || sc->sc_mode == DWC_MODE_HOST) { in dwc_otg_init()
4603 if (sc->sc_mode == DWC_MODE_HOST || sc->sc_mode == DWC_MODE_OTG) { in dwc_otg_roothub_exec()
4663 (void) dwc_otg_init_fifo(sc, DWC_MODE_HOST); in dwc_otg_roothub_exec()
4677 if (sc->sc_mode == DWC_MODE_HOST || sc->sc_mode == DWC_MODE_OTG) { in dwc_otg_roothub_exec()