Home
last modified time | relevance | path

Searched refs:usbRegBase (Results 1 – 8 of 8) sorted by relevance

/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/host/
Dusb_host_khci.c77 tempFrameCount = usbHostPointer->usbRegBase->FRMNUMH; in _USB_HostKhciGetFrameCount()
79 return ((tempFrameCount << 8U) | (usbHostPointer->usbRegBase->FRMNUML)); in _USB_HostKhciGetFrameCount()
148 status = (uint8_t)((usbHostPointer->usbRegBase->ISTAT)); in USB_HostKhciIsrFunction()
149 status &= (uint8_t)(usbHostPointer->usbRegBase->INTEN); in USB_HostKhciIsrFunction()
156 usbHostPointer->usbRegBase->ISTAT = status; in USB_HostKhciIsrFunction()
165 usbHostPointer->usbRegBase->INTEN &= (uint8_t)(~USB_INTEN_ATTACHEN_MASK); in USB_HostKhciIsrFunction()
178 usbHostPointer->usbRegBase->USBTRC0 &= (uint8_t)(~USB_USBTRC0_USBRESMEN_MASK); in USB_HostKhciIsrFunction()
187 usbHostPointer->usbRegBase->INTEN &= (uint8_t)(~USB_INTEN_RESUMEEN_MASK); in USB_HostKhciIsrFunction()
188 usbHostPointer->usbRegBase->USBTRC0 &= (uint8_t)(~USB_USBTRC0_USBRESMEN_MASK); in USB_HostKhciIsrFunction()
201 usbHostPointer->usbRegBase->CTL |= USB_CTL_RESUME_MASK; in USB_HostKhciIsrFunction()
[all …]
Dusb_host_ip3516hs.c95 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()
[all …]
Dusb_host_ohci.c131 … if (0U != (usbHostState->usbRegBase->HcRhPortStatus[0] & USB_HOST_OHCI_RHPORTSTATUS_CCS_MASK)) in USB_HostOhciControlBus()
134 portStatus = usbHostState->usbRegBase->HcRhPortStatus[0]; in USB_HostOhciControlBus()
138 usbHostState->usbRegBase->HcRhPortStatus[0] = portStatus; in USB_HostOhciControlBus()
140 portStatus = usbHostState->usbRegBase->HcControl; in USB_HostOhciControlBus()
144 usbHostState->usbRegBase->HcControl = portStatus; in USB_HostOhciControlBus()
153 usbHostState->usbRegBase->HcRhStatus |= USB_HOST_OHCI_RHSTATUS_DRWE_MASK; in USB_HostOhciControlBus()
166 … if (0u != (usbHostState->usbRegBase->HcRhPortStatus[0] & USB_HOST_OHCI_RHPORTSTATUS_CCS_MASK)) in USB_HostOhciControlBus()
168 portStatus = usbHostState->usbRegBase->HcRhPortStatus[0]; in USB_HostOhciControlBus()
171 usbHostState->usbRegBase->HcRhPortStatus[0] = portStatus; in USB_HostOhciControlBus()
178 portStatus = usbHostState->usbRegBase->HcControl; in USB_HostOhciControlBus()
[all …]
Dusb_host_khci.h178 volatile USB_Type *usbRegBase; /*!< The base address of the register */ member
Dusb_host_ohci.h444 volatile usb_host_ohci_hcor_struct_t *usbRegBase; /*!< The base address of the register */ member
Dusb_host_ip3516hs.h591 … volatile usb_host_ip3516hs_register_struct_t *usbRegBase; /*!< The base address of the register */ member
/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/otg/
Dusb_otg_khci.c70 (0U != (otgKhciInstance->usbRegBase->OTGSTAT & USB_OTGSTAT_LINESTATESTABLE_MASK))) in _USB_OtgKhciCheckSrp()
93 (0U != (otgKhciInstance->usbRegBase->OTGSTAT & USB_OTGSTAT_LINESTATESTABLE_MASK))) in _USB_OtgKhciCheckSrp()
125 otgKhciInstance->usbRegBase->OTGCTL |= USB_OTGCTL_DPHIGH_MASK; in USB_OtgKhciControlPullUp()
126 otgKhciInstance->usbRegBase->CONTROL |= USB_CONTROL_DPPULLUPNONOTG_MASK; in USB_OtgKhciControlPullUp()
128 otgKhciInstance->usbRegBase->CONTROL |= USB_CONTROL_DPPULLUPNONOTG_MASK; in USB_OtgKhciControlPullUp()
134 otgKhciInstance->usbRegBase->OTGCTL &= (uint8_t)(~USB_OTGCTL_DPHIGH_MASK); in USB_OtgKhciControlPullUp()
135 otgKhciInstance->usbRegBase->CONTROL &= (uint8_t)(~USB_CONTROL_DPPULLUPNONOTG_MASK); in USB_OtgKhciControlPullUp()
137 otgKhciInstance->usbRegBase->CONTROL &= (uint8_t)(~USB_CONTROL_DPPULLUPNONOTG_MASK); in USB_OtgKhciControlPullUp()
357 otgKhciInstance->usbRegBase = (USB_Type *)temp; in USB_OtgKhciInit()
361 otgKhciInstance->usbRegBase->ISTAT = 0xFFU; /* clear all interrupts */ in USB_OtgKhciInit()
[all …]
Dusb_otg_khci.h62 USB_Type *usbRegBase; /*!< EHCI IP base address */ member