Lines Matching refs:hw_mode
54 unsigned int hw_mode; in dwc3_get_dr_mode() local
60 hw_mode = DWC3_GHWPARAMS0_MODE(dwc->hwparams.hwparams0); in dwc3_get_dr_mode()
62 switch (hw_mode) { in dwc3_get_dr_mode()
520 unsigned int hw_mode; in dwc3_alloc_event_buffers() local
522 hw_mode = DWC3_GHWPARAMS0_MODE(dwc->hwparams.hwparams0); in dwc3_alloc_event_buffers()
523 if (hw_mode == DWC3_GHWPARAMS0_MODE_HOST) { in dwc3_alloc_event_buffers()
992 unsigned int hw_mode; in dwc3_core_setup_global_control() local
997 hw_mode = DWC3_GHWPARAMS0_MODE(dwc->hwparams.hwparams0); in dwc3_core_setup_global_control()
1044 hw_mode != DWC3_GHWPARAMS0_MODE_GADGET && DWC3_VER_IS(DWC31, 200A)) in dwc3_core_setup_global_control()
1315 unsigned int hw_mode; in dwc3_core_init() local
1319 hw_mode = DWC3_GHWPARAMS0_MODE(dwc->hwparams.hwparams0); in dwc3_core_init()
1470 if (hw_mode != DWC3_GHWPARAMS0_MODE_GADGET && in dwc3_core_init()
2112 unsigned int hw_mode; in dwc3_probe() local
2202 hw_mode = DWC3_GHWPARAMS0_MODE(dwc->hwparams.hwparams0); in dwc3_probe()
2203 if (hw_mode == DWC3_GHWPARAMS0_MODE_HOST) { in dwc3_probe()