Lines Matching refs:usbRegBase

95     Ip3516HsortSC = usbHostState->usbRegBase->PORTSC1;  in USB_HostIp3516HsTestSetMode()
98 usbHostState->usbRegBase->PORTSC1 = Ip3516HsortSC; in USB_HostIp3516HsTestSetMode()
147 …usbHostState->usbRegBase->USBCMD &= ~(USB_HOST_IP3516HS_USBCMD_INT_EN_MASK | USB_HOST_IP3516HS_USB… in USB_HostIp3516HsTestSingleStepGetDeviceDesc()
190 …usbHostState->usbRegBase->USBCMD &= ~(USB_HOST_IP3516HS_USBCMD_INT_EN_MASK | USB_HOST_IP3516HS_USB… in USB_HostIp3516HsTestSingleStepGetDeviceDescData()
270 portStatus = usbHostState->usbRegBase->PORTSC1; in USB_HostIp3516HsSuspendBus()
274 portStatus = usbHostState->usbRegBase->PORTSC1; in USB_HostIp3516HsSuspendBus()
277 usbHostState->usbRegBase->PORTSC1 = portStatus; in USB_HostIp3516HsSuspendBus()
289 portStatus = usbHostState->usbRegBase->PORTSC1; in USB_HostIp3516HsResumeBus()
292 portStatus = usbHostState->usbRegBase->PORTSC1; in USB_HostIp3516HsResumeBus()
295 usbHostState->usbRegBase->PORTSC1 = portStatus; in USB_HostIp3516HsResumeBus()
299 portStatus = usbHostState->usbRegBase->PORTSC1; in USB_HostIp3516HsResumeBus()
302 usbHostState->usbRegBase->PORTSC1 = portStatus; in USB_HostIp3516HsResumeBus()
343 …sofStart = (uint32_t)((usbHostState->usbRegBase->FLADJ_FRINDEX & USB_HOST_IP3516HS_FLADJ_FRINDEX_M… in USB_HostIp3516HsDelay()
348 …SofEnd = (uint32_t)((usbHostState->usbRegBase->FLADJ_FRINDEX & USB_HOST_IP3516HS_FLADJ_FRINDEX_M… in USB_HostIp3516HsDelay()
358 uint32_t portStatus = usbHostState->usbRegBase->PORTSC1; in USB_HostIp3516HsControlBusReset()
361 usbHostState->usbRegBase->PORTSC1 = portStatus | USB_HOST_IP3516HS_PORTSC1_PR_MASK; in USB_HostIp3516HsControlBusReset()
365 portStatus = usbHostState->usbRegBase->PORTSC1; in USB_HostIp3516HsControlBusReset()
367 usbHostState->usbRegBase->PORTSC1 = portStatus; in USB_HostIp3516HsControlBusReset()
368 while (0U != (usbHostState->usbRegBase->PORTSC1 & USB_HOST_IP3516HS_PORTSC1_PR_MASK)) in USB_HostIp3516HsControlBusReset()
378 uint32_t portStatus = usbHostState->usbRegBase->PORTSC1; in USB_HostIp3516HsControlBus()
393 if (0U != (usbHostState->usbRegBase->PORTSC1 & USB_HOST_IP3516HS_PORTSC1_CCS_MASK)) in USB_HostIp3516HsControlBus()
397 portStatus = usbHostState->usbRegBase->PORTSC1; in USB_HostIp3516HsControlBus()
400 usbHostState->usbRegBase->PORTSC1 = portStatus; in USB_HostIp3516HsControlBus()
408 portStatus = usbHostState->usbRegBase->USBCMD; in USB_HostIp3516HsControlBus()
410 usbHostState->usbRegBase->USBCMD = portStatus; in USB_HostIp3516HsControlBus()
423 if (0U != (usbHostState->usbRegBase->PORTSC1 & USB_HOST_IP3516HS_PORTSC1_CCS_MASK)) in USB_HostIp3516HsControlBus()
428 usbHostState->usbRegBase->USBCMD |= USB_HOST_IP3516HS_USBCMD_RS_MASK; in USB_HostIp3516HsControlBus()
429 portStatus = usbHostState->usbRegBase->PORTSC1; in USB_HostIp3516HsControlBus()
432 usbHostState->usbRegBase->PORTSC1 = portStatus; in USB_HostIp3516HsControlBus()
437 portStatus = usbHostState->usbRegBase->PORTSC1; in USB_HostIp3516HsControlBus()
440 usbHostState->usbRegBase->PORTSC1 = portStatus; in USB_HostIp3516HsControlBus()
450 usbHostState->usbRegBase->USBCMD |= USB_HOST_IP3516HS_USBCMD_RS_MASK; in USB_HostIp3516HsControlBus()
451 portStatus = usbHostState->usbRegBase->PORTSC1; in USB_HostIp3516HsControlBus()
454 usbHostState->usbRegBase->PORTSC1 = portStatus; in USB_HostIp3516HsControlBus()
463 if (0U != (usbHostState->usbRegBase->PORTSC1 & USB_HOST_IP3516HS_PORTSC1_CCS_MASK)) in USB_HostIp3516HsControlBus()
467 portStatus = usbHostState->usbRegBase->USBCMD; in USB_HostIp3516HsControlBus()
472 usbHostState->usbRegBase->USBCMD = portStatus; in USB_HostIp3516HsControlBus()
479 usbHostState->usbRegBase->PORTSC1 |= (uint32_t)( in USB_HostIp3516HsControlBus()
485 while (0U == (usbHostState->usbRegBase->PORTSC1 & in USB_HostIp3516HsControlBus()
492 portStatus = usbHostState->usbRegBase->PORTSC1; in USB_HostIp3516HsControlBus()
494 … if ((0U != (usbHostState->usbRegBase->PORTSC1 & USB_HOST_IP3516HS_PORTSC1_SUSP_MASK)) && in USB_HostIp3516HsControlBus()
502 portStatus = usbHostState->usbRegBase->USBCMD; in USB_HostIp3516HsControlBus()
504 usbHostState->usbRegBase->USBCMD = portStatus; in USB_HostIp3516HsControlBus()
549 if (0U != (usbHostState->usbRegBase->PORTSC1 & USB_HOST_IP3516HS_PORTSC1_CCS_MASK)) in USB_HostIp3516HsControlBus()
554 usbHostState->usbRegBase->USBCMD |= USB_HOST_IP3516HS_USBCMD_RS_MASK; in USB_HostIp3516HsControlBus()
555 portStatus = usbHostState->usbRegBase->PORTSC1; in USB_HostIp3516HsControlBus()
558 usbHostState->usbRegBase->PORTSC1 = portStatus; in USB_HostIp3516HsControlBus()
561 portStatus = (usbHostState->usbRegBase->PORTSC1); in USB_HostIp3516HsControlBus()
577 usbHostState->usbRegBase->USBCMD |= USB_HOST_IP3516HS_USBCMD_RS_MASK; in USB_HostIp3516HsControlBus()
578 portStatus = usbHostState->usbRegBase->PORTSC1; in USB_HostIp3516HsControlBus()
581 usbHostState->usbRegBase->PORTSC1 = portStatus; in USB_HostIp3516HsControlBus()
591 if (0UL != (usbHostState->usbRegBase->HCSPARAMS & in USB_HostIp3516HsControlBus()
595 uint32_t tmp = usbHostState->usbRegBase->PORTSC1; in USB_HostIp3516HsControlBus()
597 usbHostState->usbRegBase->PORTSC1 = (tmp); /* turn on port power */ in USB_HostIp3516HsControlBus()
599 tmp = usbHostState->usbRegBase->PORTSC1; in USB_HostIp3516HsControlBus()
601 …usbHostState->usbRegBase->PORTSC1 = (tmp | USB_HOST_IP3516HS_PORTSC1_PP_MASK); /* turn on port pow… in USB_HostIp3516HsControlBus()
789 portStatus = usbHostState->usbRegBase->PORTSC1; in USB_HostIp3516HsPortChange()
796 usbHostState->usbRegBase->USBCMD |= USB_HOST_IP3516HS_USBCMD_RS_MASK; in USB_HostIp3516HsPortChange()
797 portStatus = usbHostState->usbRegBase->PORTSC1; in USB_HostIp3516HsPortChange()
800 usbHostState->usbRegBase->PORTSC1 = portStatus; in USB_HostIp3516HsPortChange()
806 … (uint32_t)((usbHostState->usbRegBase->FLADJ_FRINDEX & USB_HOST_IP3516HS_FLADJ_FRINDEX_MASK) >> in USB_HostIp3516HsPortChange()
811 portStatus = usbHostState->usbRegBase->PORTSC1; in USB_HostIp3516HsPortChange()
815 … usbHostState->usbRegBase->PORTSC1 = portStatus | USB_HOST_IP3516HS_PORTSC1_CSC_MASK; in USB_HostIp3516HsPortChange()
817 …sof = (uint32_t)((usbHostState->usbRegBase->FLADJ_FRINDEX & USB_HOST_IP3516HS_FLADJ_FRINDEX_MASK) … in USB_HostIp3516HsPortChange()
827 portStatus = usbHostState->usbRegBase->PORTSC1; in USB_HostIp3516HsPortChange()
850 usbHostState->usbRegBase->USBCMD |= USB_HOST_IP3516HS_USBCMD_RS_MASK; in USB_HostIp3516HsPortChange()
851 portStatus = usbHostState->usbRegBase->PORTSC1; in USB_HostIp3516HsPortChange()
854 usbHostState->usbRegBase->PORTSC1 = portStatus; in USB_HostIp3516HsPortChange()
859 portStatus = usbHostState->usbRegBase->PORTSC1; in USB_HostIp3516HsPortChange()
862 usbHostState->usbRegBase->PORTSC1 = portStatus; in USB_HostIp3516HsPortChange()
879 usbHostState->usbRegBase->USBCMD |= USB_HOST_IP3516HS_USBCMD_RS_MASK; in USB_HostIp3516HsPortChange()
884 portStatus = (usbHostState->usbRegBase->PORTSC1); in USB_HostIp3516HsPortChange()
892 portStatus = usbHostState->usbRegBase->PORTSC1; in USB_HostIp3516HsPortChange()
895 usbHostState->usbRegBase->PORTSC1 = portStatus; in USB_HostIp3516HsPortChange()
907 portStatus = usbHostState->usbRegBase->PORTSC1; in USB_HostIp3516HsPortChange()
909 … if ((0U != (usbHostState->usbRegBase->PORTSC1 & USB_HOST_IP3516HS_PORTSC1_SUSP_MASK)) && in USB_HostIp3516HsPortChange()
913 portStatus = usbHostState->usbRegBase->USBCMD; in USB_HostIp3516HsPortChange()
915 usbHostState->usbRegBase->USBCMD = portStatus; in USB_HostIp3516HsPortChange()
967 if (0U == (usbHostState->usbRegBase->PORTSC1 & USB_HOST_IP3516HS_PORTSC1_CCS_MASK)) in USB_HostIp3516HsPortChange()
973 portStatus = usbHostState->usbRegBase->PORTSC1; in USB_HostIp3516HsPortChange()
990 … (uint8_t)((usbHostState->usbRegBase->PORTSC1 & USB_HOST_IP3516HS_PORTSC1_PSPD_MASK) >> in USB_HostIp3516HsPortChange()
1587 usbHostState->usbRegBase->ATL_PTD_SKIP_MAP |= 1UL << pipe->tdIndex; in USB_HostIp3516HsCancelPipe()
1591 usbHostState->usbRegBase->INT_PTD_SKIP_MAP |= 1UL << pipe->tdIndex; in USB_HostIp3516HsCancelPipe()
1596 …usbHostState->usbRegBase->ISO_PTD_SKIP_MAP |= ((1UL << USB_HOST_IP3516HS_ISO_MULTIPLE_TRANSFER) - … in USB_HostIp3516HsCancelPipe()
1604 …startUFrame = (uint32_t)((usbHostState->usbRegBase->FLADJ_FRINDEX & USB_HOST_IP3516HS_FLADJ_FRIN… in USB_HostIp3516HsCancelPipe()
1610 …currentUFrame = (uint32_t)((usbHostState->usbRegBase->FLADJ_FRINDEX & USB_HOST_IP3516HS_FLADJ_FRIN… in USB_HostIp3516HsCancelPipe()
1782 usbHostState->usbRegBase->ATL_PTD_SKIP_MAP &= ~(1UL << pipe->tdIndex); in USB_HostIp3516HsCancelPipe()
1786 usbHostState->usbRegBase->INT_PTD_SKIP_MAP &= ~(1UL << pipe->tdIndex); in USB_HostIp3516HsCancelPipe()
1791 usbHostState->usbRegBase->ISO_PTD_SKIP_MAP &= in USB_HostIp3516HsCancelPipe()
2323 …currentUFrame = (uint32_t)((usbHostState->usbRegBase->FLADJ_FRINDEX & USB_HOST_IP3516HS_FLADJ_FRIN… in USB_HostIp3516HsWriteIsoPipe()
2491 …currentUFrame = (uint32_t)((usbHostState->usbRegBase->FLADJ_FRINDEX & USB_HOST_IP3516HS_FLADJ_FRIN… in USB_HostIp3516HsWriteInterruptPipe()
2578 uint32_t tokenDoneBits = usbHostState->usbRegBase->ISO_PTD_DONE_MAP; in USB_HostIp3516HsCheckIsoTransferSofar()
2636 usbHostState->usbRegBase->ISO_PTD_DONE_MAP = tokenDoneBits; in USB_HostIp3516HsCheckIsoTransferSofar()
2644 uint32_t tokenDoneBits = usbHostState->usbRegBase->INT_PTD_DONE_MAP; in USB_HostIp3516HsCheckIntTransferSofar()
2667 usbHostState->usbRegBase->INT_PTD_DONE_MAP = tokenDoneBits; in USB_HostIp3516HsCheckIntTransferSofar()
2674 uint32_t tokenDoneBits = usbHostState->usbRegBase->ATL_PTD_DONE_MAP; in USB_HostIp3516HsCheckAtlTransferSofar()
2697 usbHostState->usbRegBase->ATL_PTD_DONE_MAP = tokenDoneBits; in USB_HostIp3516HsCheckAtlTransferSofar()
3140 usbHostState->usbRegBase->ATL_PTD_SKIP_MAP |= 1UL << p->tdIndex; in USB_HostIp3516HsTokenDone()
3145 usbHostState->usbRegBase->INT_PTD_SKIP_MAP |= 1UL << p->tdIndex; in USB_HostIp3516HsTokenDone()
3153 … (usbHostState->usbRegBase->FLADJ_FRINDEX & USB_HOST_IP3516HS_FLADJ_FRINDEX_MASK) >> in USB_HostIp3516HsTokenDone()
3160 … (usbHostState->usbRegBase->FLADJ_FRINDEX & USB_HOST_IP3516HS_FLADJ_FRINDEX_MASK) >> in USB_HostIp3516HsTokenDone()
3169 usbHostState->usbRegBase->ATL_PTD_SKIP_MAP &= ~(1UL << p->tdIndex); in USB_HostIp3516HsTokenDone()
3177 usbHostState->usbRegBase->INT_PTD_SKIP_MAP &= ~(1UL << p->tdIndex); in USB_HostIp3516HsTokenDone()
3259 usbHostState->usbRegBase->USBCMD = USB_HOST_IP3516HS_USBCMD_HCRESET_MASK; in USB_HostIp3516HsControllerReset()
3260 while (0U != (usbHostState->usbRegBase->USBCMD & USB_HOST_IP3516HS_USBCMD_HCRESET_MASK)) in USB_HostIp3516HsControllerReset()
3303 usbHostState->usbRegBase->ATL_PTD_BASE_ADDRESS = in USB_HostIp3516HsControllerInit()
3306 …usbHostState->usbRegBase->LAST_PTD_IN_USE = (i - 1U) & USB_HOST_IP3516HS_LAST_PTD_IN_USE_ATL_LAST_… in USB_HostIp3516HsControllerInit()
3307 usbHostState->usbRegBase->USBCMD |= USB_HOST_IP3516HS_USBCMD_ATL_EN_MASK; in USB_HostIp3516HsControllerInit()
3318 usbHostState->usbRegBase->ISO_PTD_BASE_ADDRESS = in USB_HostIp3516HsControllerInit()
3321 usbHostState->usbRegBase->LAST_PTD_IN_USE |= in USB_HostIp3516HsControllerInit()
3324 usbHostState->usbRegBase->USBCMD |= USB_HOST_IP3516HS_USBCMD_ISO_EN_MASK; in USB_HostIp3516HsControllerInit()
3336 usbHostState->usbRegBase->INT_PTD_BASE_ADDRESS = in USB_HostIp3516HsControllerInit()
3339 usbHostState->usbRegBase->LAST_PTD_IN_USE |= in USB_HostIp3516HsControllerInit()
3342 usbHostState->usbRegBase->USBCMD |= USB_HOST_IP3516HS_USBCMD_INT_EN_MASK; in USB_HostIp3516HsControllerInit()
3361 if (0U != (usbHostState->usbRegBase->HCSPARAMS & in USB_HostIp3516HsControllerInit()
3365 uint32_t tmp = usbHostState->usbRegBase->PORTSC1; in USB_HostIp3516HsControllerInit()
3367 …usbHostState->usbRegBase->PORTSC1 = (tmp | USB_HOST_IP3516HS_PORTSC1_PP_MASK); /* turn on port pow… in USB_HostIp3516HsControllerInit()
3369 usbHostState->usbRegBase->DATA_PAYLOAD_BASE_ADDRESS = in USB_HostIp3516HsControllerInit()
3372 usbHostState->usbRegBase->USBSTS = 0xFFFFFFFFU; in USB_HostIp3516HsControllerInit()
3374 usbHostState->usbRegBase->USBINTR = in USB_HostIp3516HsControllerInit()
3380 …usbHostState->usbRegBase->PACKET_TURNAROUND_TIMEOUT &= ~USBHSH_PACKET_TURNAROUND_TIME_HOST_TIMEOUT… in USB_HostIp3516HsControllerInit()
3381 usbHostState->usbRegBase->PACKET_TURNAROUND_TIMEOUT |= 0x00000654; in USB_HostIp3516HsControllerInit()
3384 usbHostState->usbRegBase->USBCMD |= USB_HOST_IP3516HS_USBCMD_RS_MASK; in USB_HostIp3516HsControllerInit()
3431 …usbHostState->usbRegBase = (usb_host_ip3516hs_register_struct_t *)usb_base_addrs[usbHostState->… in USB_HostIp3516HsCreate()
3452 (uint8_t)(usbHostState->usbRegBase->HCSPARAMS & USB_HOST_IP3516HS_HCSPARAMS_N_PORTS_MASK); in USB_HostIp3516HsCreate()
3506 usbHostState->usbRegBase->USBINTR = 0U; in USB_HostIp3516HsDestory()
3507 usbHostState->usbRegBase->USBSTS = 0xFFFFFFFFU; in USB_HostIp3516HsDestory()
3509 usbHostState->usbRegBase->USBCMD &= ~USB_HOST_IP3516HS_USBCMD_RS_MASK; in USB_HostIp3516HsDestory()
3821 … (uint32_t)((usbHostState->usbRegBase->FLADJ_FRINDEX & USB_HOST_IP3516HS_FLADJ_FRINDEX_MASK) >> in USB_HostIp3516HsIoctl()
3834 usbHostState->usbRegBase->ATL_PTD_SKIP_MAP |= 1UL << pipe->tdIndex; in USB_HostIp3516HsIoctl()
3838 usbHostState->usbRegBase->ATL_PTD_SKIP_MAP &= ~(1UL << pipe->tdIndex); in USB_HostIp3516HsIoctl()
3842 usbHostState->usbRegBase->INT_PTD_SKIP_MAP |= 1UL << pipe->tdIndex; in USB_HostIp3516HsIoctl()
3846 usbHostState->usbRegBase->INT_PTD_SKIP_MAP &= ~(1UL << pipe->tdIndex); in USB_HostIp3516HsIoctl()
3851 usbHostState->usbRegBase->ISO_PTD_SKIP_MAP |= 1UL << pipe->tdIndex; in USB_HostIp3516HsIoctl()
3855 usbHostState->usbRegBase->ISO_PTD_SKIP_MAP &= ~(1UL << pipe->tdIndex); in USB_HostIp3516HsIoctl()
3871 usbHostState->usbRegBase->ATL_PTD_SKIP_MAP |= 1UL << pipe->tdIndex; in USB_HostIp3516HsIoctl()
3875 usbHostState->usbRegBase->ATL_PTD_SKIP_MAP &= ~(1UL << pipe->tdIndex); in USB_HostIp3516HsIoctl()
3879 usbHostState->usbRegBase->INT_PTD_SKIP_MAP |= 1UL << pipe->tdIndex; in USB_HostIp3516HsIoctl()
3883 usbHostState->usbRegBase->INT_PTD_SKIP_MAP &= ~(1UL << pipe->tdIndex); in USB_HostIp3516HsIoctl()
3888 usbHostState->usbRegBase->ISO_PTD_SKIP_MAP |= 1UL << pipe->tdIndex; in USB_HostIp3516HsIoctl()
3900 usbHostState->usbRegBase->ISO_PTD_SKIP_MAP &= ~(1UL << pipe->tdIndex); in USB_HostIp3516HsIoctl()
4018 interruptStatus = usbHostState->usbRegBase->USBSTS; in USB_HostIp3516HsIsrFunction()
4019 interruptStatus &= usbHostState->usbRegBase->USBINTR; in USB_HostIp3516HsIsrFunction()
4065 usbHostState->usbRegBase->USBSTS = interruptStatus; /* clear interrupt */ in USB_HostIp3516HsIsrFunction()