Lines Matching refs:usb_global
540 DWC3_regupdateclr(handle->usb_global, DWC3_GEVNTSIZ(intr_num), in usb_dwc3_enable_eventint()
546 DWC3_regupdateset(handle->usb_global, DWC3_GEVNTSIZ(intr_num), in usb_dwc3_disable_eventint()
899 DWC3_regwrite(dwc3_handle->usb_global, DWC3_GEVNTCOUNT(intr_num), evt_count); in dwc3_ack_evt_count()
904 return DWC3_regread(dwc3_handle->usb_global, DWC3_GEVNTCOUNT(intr_num)) & in dwc3_read_intr_count()
2010 VERBOSE("Core ID %08x\n", (uint32_t)DWC3_regread(dwc3_handle->usb_global, DWC3_GSNPSID)); in dwc3_core_init()
2021 DWC3_regupdateclr(dwc3_handle->usb_global, DWC3_GUSB2PHYCFG(0UL), in dwc3_core_init()
2025 DWC3_regupdateset(dwc3_handle->usb_global, DWC3_GUSB2PHYCFG(0UL), in dwc3_core_init()
2043 DWC3_regupdateset(dwc3_handle->usb_global, DWC3_GCTL, USB3_GCTL_CORESOFTRESET); in dwc3_core_init()
2047 DWC3_regupdateset(dwc3_handle->usb_global, DWC3_GUSB3PIPECTL(0UL), in dwc3_core_init()
2053 DWC3_regupdateset(dwc3_handle->usb_global, DWC3_GUSB2PHYCFG(0UL), in dwc3_core_init()
2066 DWC3_regupdateclr(dwc3_handle->usb_global, DWC3_GUSB3PIPECTL(0UL), in dwc3_core_init()
2072 DWC3_regupdateclr(dwc3_handle->usb_global, DWC3_GUSB2PHYCFG(0UL), in dwc3_core_init()
2080 DWC3_regupdateclr(dwc3_handle->usb_global, DWC3_GCTL, USB3_GCTL_CORESOFTRESET); in dwc3_core_init()
2089 DWC3_regwrite(dwc3_handle->usb_global, DWC3_GSBUSCFG0, 0xe); in dwc3_core_init()
2090 DWC3_regwrite(dwc3_handle->usb_global, DWC3_GSBUSCFG1, 0xf00); in dwc3_core_init()
2109 reg = DWC3_regread(dwc3_handle->usb_global, DWC3_GCTL) & ~USB3_GCTL_PRTCAPDIR_MSK; in dwc3_set_current_mode()
2113 DWC3_regwrite(dwc3_handle->usb_global, DWC3_GCTL, reg | in dwc3_set_current_mode()
2117 DWC3_regwrite(dwc3_handle->usb_global, DWC3_GCTL, reg | in dwc3_set_current_mode()
2121 DWC3_regwrite(dwc3_handle->usb_global, DWC3_GCTL, reg | in dwc3_set_current_mode()
2185 DWC3_regwrite(dwc3_handle->usb_global, DWC3_GEVNTADRLO(i), in dwc3_dev_init()
2187 DWC3_regwrite(dwc3_handle->usb_global, DWC3_GEVNTADRHI(i), in dwc3_dev_init()
2189 DWC3_regwrite(dwc3_handle->usb_global, DWC3_GEVNTSIZ(i), in dwc3_dev_init()
2191 DWC3_regwrite(dwc3_handle->usb_global, DWC3_GEVNTCOUNT(i), 0); in dwc3_dev_init()
2200 DWC3_regupdateset(dwc3_handle->usb_global, DWC3_GUCTL2, DWC3_GUCTL2_RST_ACTBITLATER); in dwc3_dev_init()
2308 dwc3_handle->usb_global = (usb_dwc3_global_t *) in usb_dwc3_init_driver()