Searched refs:READ_REG32 (Results 1 – 4 of 4) sorted by relevance
89 UINT32 val = READ_REG32(DSTS) & 2; in usb_drv_port_speed()134 WRITE_REG32(DOEPCTL0, (READ_REG32(DOEPCTL0) | 0x84000000)); in reset_endpoints()143 WRITE_REG32(DIEPCTL(ep), (READ_REG32(DIEPCTL(ep))) | 0x8000); in ep_tx()183 WRITE_REG32(DIEPCTL(ep), READ_REG32(DIEPCTL(ep)) | 0x84000800); in ep_tx()190 WRITE_REG32(DOEPCTL(ep), ((READ_REG32(DOEPCTL(ep))) & (~0x00200000))); in ep_rx()192 WRITE_REG32(DOEPCTL(ep), (READ_REG32(DOEPCTL(ep)) | 0x8000)); in ep_rx()219 WRITE_REG32(DOEPCTL(ep), (READ_REG32(DOEPCTL(ep)) | 0x84000000)); in ep_rx()306 WRITE_REG32(DCFG, (READ_REG32(DCFG) & ~0x7F0) | (Request->Value << 4)); in HandleSetAddress()329 WRITE_REG32(DIEPCTL(ep), ((READ_REG32(DIEPCTL(ep)))& ~0x000C0000) | newbits | (ep<<22)|0x20000); in usb_drv_request_endpoint()331 WRITE_REG32(DOEPCTL(ep), ((READ_REG32(DOEPCTL(ep))) & ~0x000C0000) | newbits); in usb_drv_request_endpoint()[all …]
21 #define READ_REG32(Offset) MmioRead32 (DW_USB_BASE + Offset) macro22 #define READ_REG16(Offset) (UINT16)READ_REG32 (Offset)
139 ((UINT32 *) Buffer)[Index] = READ_REG32 (ISP1761_DATA_PORT); in ReadEndpointBuffer()147 Val32 = READ_REG32 (ISP1761_DATA_PORT); in ReadEndpointBuffer()403 DcInterrupts = READ_REG32 (ISP1761_DC_INTERRUPT); in CheckInterrupts()520 while (READ_REG32 (ISP1761_SW_RESET_REG) & ISP1761_SW_RESET_ALL) { in Isp1761PeriphStart()524 while (READ_REG32 (ISP1761_MODE) & ISP1761_MODE_SFRESET) { in Isp1761PeriphStart()618 DeviceId = READ_REG32 (ISP1761_DEVICE_ID); in Isp1761PeriphEntryPoint()
20 #define READ_REG32(Offset) MmioRead32 (ISP1761_USB_BASE + Offset) macro21 #define READ_REG16(Offset) (UINT16) READ_REG32 (Offset)