Lines Matching refs:usbRegBase
131 … 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()
182 usbHostState->usbRegBase->HcControl = portStatus; in USB_HostOhciControlBus()
183 portStatus = usbHostState->usbRegBase->HcRhPortStatus[0]; in USB_HostOhciControlBus()
186 usbHostState->usbRegBase->HcRhPortStatus[0] = portStatus; in USB_HostOhciControlBus()
556 …uint32_t portCount = (usbHostState->usbRegBase->HcRhDescriptorA & USB_HOST_OHCI_RHDESCRIPTORA_NDP_… in USB_HostOhciPortChange()
560 portStatus = usbHostState->usbRegBase->HcRhPortStatus[i]; in USB_HostOhciPortChange()
567 portStatus = usbHostState->usbRegBase->HcRhPortStatus[i]; in USB_HostOhciPortChange()
569 … usbHostState->usbRegBase->HcRhPortStatus[i] = portStatus | USB_HOST_OHCI_RHPORTSTATUS_PSSC_MASK; in USB_HostOhciPortChange()
570 … while (0U != (usbHostState->usbRegBase->HcRhPortStatus[i] & USB_HOST_OHCI_RHPORTSTATUS_PSS_MASK)) in USB_HostOhciPortChange()
573 portStatus = usbHostState->usbRegBase->HcControl; in USB_HostOhciPortChange()
577 usbHostState->usbRegBase->HcControl = portStatus; in USB_HostOhciPortChange()
578 portStatus = usbHostState->usbRegBase->HcRhPortStatus[i]; in USB_HostOhciPortChange()
581 usbHostState->usbRegBase->HcRhPortStatus[i] = portStatus; in USB_HostOhciPortChange()
591 portStatus = usbHostState->usbRegBase->HcRhPortStatus[i]; in USB_HostOhciPortChange()
595 … usbHostState->usbRegBase->HcRhPortStatus[i] = portStatus | USB_HOST_OHCI_RHPORTSTATUS_CSC_MASK; in USB_HostOhciPortChange()
606 portStatus = usbHostState->usbRegBase->HcRhPortStatus[i]; in USB_HostOhciPortChange()
625 … usbHostState->usbRegBase->HcRhPortStatus[i] = portStatus | USB_HOST_OHCI_RHPORTSTATUS_PSSC_MASK; in USB_HostOhciPortChange()
627 … (usbHostState->usbRegBase->HcRhPortStatus[i] & USB_HOST_OHCI_RHPORTSTATUS_PSS_MASK)) in USB_HostOhciPortChange()
630 portStatus = usbHostState->usbRegBase->HcControl; in USB_HostOhciPortChange()
634 usbHostState->usbRegBase->HcControl = portStatus; in USB_HostOhciPortChange()
635 … portStatus = usbHostState->usbRegBase->HcRhPortStatus[i]; in USB_HostOhciPortChange()
638 usbHostState->usbRegBase->HcRhPortStatus[i] = portStatus; in USB_HostOhciPortChange()
655 … if (0U == ((usbHostState->usbRegBase->HcRhPortStatus[i] & USB_HOST_OHCI_RHPORTSTATUS_CCS_MASK))) in USB_HostOhciPortChange()
661 portStatus = usbHostState->usbRegBase->HcRhPortStatus[i]; in USB_HostOhciPortChange()
672 … usbHostState->usbRegBase->HcRhPortStatus[i] = portStatus | USB_HOST_OHCI_RHPORTSTATUS_PRS_MASK; in USB_HostOhciPortChange()
674 … while (0U != (usbHostState->usbRegBase->HcRhPortStatus[i] & USB_HOST_OHCI_RHPORTSTATUS_PRS_MASK)) in USB_HostOhciPortChange()
680 … (0U != (usbHostState->usbRegBase->HcRhPortStatus[i] & USB_HOST_OHCI_RHPORTSTATUS_LSDA_MASK)) ? in USB_HostOhciPortChange()
827 usbHostState->usbRegBase->HcControl |= USB_HOST_OHCI_CONTROL_CLE_MASK; in USB_HostOhciOpenControlBulkPipe()
833 usbHostState->usbRegBase->HcControl |= USB_HOST_OHCI_CONTROL_BLE_MASK; in USB_HostOhciOpenControlBulkPipe()
878 …usbHostState->usbRegBase->HcControl &= ~(USB_HOST_OHCI_CONTROL_PLE_MASK | USB_HOST_OHCI_CONTROL_IE… in USB_HostOhciOpenIsoPipe()
882 …usbHostState->usbRegBase->HcControl |= USB_HOST_OHCI_CONTROL_PLE_MASK | USB_HOST_OHCI_CONTROL_IE_M… in USB_HostOhciOpenIsoPipe()
924 usbHostState->usbRegBase->HcControl |= USB_HOST_OHCI_CONTROL_PLE_MASK; in USB_HostOhciOpenInterruptPipe()
1681 usbHostState->usbRegBase->HcCommandStatus |= USB_HOST_OHCI_COMMAND_STATUS_CLF_MASK; in USB_HostOhciLinkGtdControlTr()
1792 usbHostState->usbRegBase->HcCommandStatus |= USB_HOST_OHCI_COMMAND_STATUS_BLF_MASK; in USB_HostOhciLinkGtdTr()
2057 usbHostState->usbRegBase->HcCommandStatus = USB_HOST_OHCI_COMMAND_STATUS_HCR_MASK; in UBS_HostOhciControllerReset()
2058 … while (0U != (usbHostState->usbRegBase->HcCommandStatus & USB_HOST_OHCI_COMMAND_STATUS_HCR_MASK)) in UBS_HostOhciControllerReset()
2137 usbHostState->usbRegBase->HcControl = 0U; in UBS_HostOhciControllerInit()
2138 usbHostState->usbRegBase->HcControl &= ~USB_HOST_OHCI_CONTROL_HCFS_MASK; in UBS_HostOhciControllerInit()
2139 …usbHostState->usbRegBase->HcControl |= USB_HOST_OHCI_CONTROL_HCFS(USB_HOST_OHCI_CONTROL_HCFS_OPERA… in UBS_HostOhciControllerInit()
2140 usbHostState->usbRegBase->HcFmInterval = in UBS_HostOhciControllerInit()
2143 usbHostState->usbRegBase->HcPeriodicStart = USB_HOST_OHCI_PERIODIC_START_PS( in UBS_HostOhciControllerInit()
2146 usbHostState->usbRegBase->HcControlHeadED = in UBS_HostOhciControllerInit()
2149 usbHostState->usbRegBase->HcBulkHeadED = in UBS_HostOhciControllerInit()
2157 usbHostState->usbRegBase->HcHCCA = (uint32_t)&s_UsbHostOhciHcca[usbHostState->controllerId]; in UBS_HostOhciControllerInit()
2158 …usbHostState->usbRegBase->HcControl |= USB_HOST_OHCI_CONTROL_CBSR(USB_HOST_OHCI_CONTROL_CBSR_C1_B1… in UBS_HostOhciControllerInit()
2159 if (0U != (usbHostState->usbRegBase->HcRhDescriptorA & USB_HOST_OHCI_RHDESCRIPTORA_NPS_MASK)) in UBS_HostOhciControllerInit()
2166 if (usbHostState->usbRegBase->HcRhDescriptorA & USB_HOST_OHCI_RHDESCRIPTORA_PSM_MASK) in UBS_HostOhciControllerInit()
2168 usbHostState->usbRegBase->HcRhDescriptorB |= USB_HOST_OHCI_RHDESCRIPTORB_PPCM(0xFFFEUL); in UBS_HostOhciControllerInit()
2169 …for (i = 0; i < (usbHostState->usbRegBase->HcRhDescriptorA & USB_HOST_OHCI_RHDESCRIPTORA_NDP_MASK)… in UBS_HostOhciControllerInit()
2171 uint32_t portStatus = usbHostState->usbRegBase->HcRhPortStatus[i]; in UBS_HostOhciControllerInit()
2174 usbHostState->usbRegBase->HcRhPortStatus[i] = portStatus; in UBS_HostOhciControllerInit()
2176 usbHostState->usbRegBase->HcRhStatus = USB_HOST_OHCI_RHSTATUS_LPSC_MASK; in UBS_HostOhciControllerInit()
2180 usbHostState->usbRegBase->HcRhStatus = USB_HOST_OHCI_RHSTATUS_LPSC_MASK; in UBS_HostOhciControllerInit()
2183 usbHostState->usbRegBase->HcRhDescriptorB &= ~USB_HOST_OHCI_RHDESCRIPTORB_PPCM(0xFFFEUL); in UBS_HostOhciControllerInit()
2184 usbHostState->usbRegBase->HcRhStatus = USB_HOST_OHCI_RHSTATUS_LPSC_MASK; in UBS_HostOhciControllerInit()
2187 usbHostState->usbRegBase->HcInterruptDisable |= USB_HOST_OHCI_INTERRUPT_DISABLE_MASK; in UBS_HostOhciControllerInit()
2188 usbHostState->usbRegBase->HcInterruptEnable |= in UBS_HostOhciControllerInit()
2228 …usbHostState->usbRegBase = (usb_host_ohci_hcor_struct_t *)usb_base_addrs[usbHostState->controllerI… in USB_HostOhciCreate()
2251 usbHostState->usbRegBase->PortMode &= ~USB_HOST_OHCI_PORTMODE_DEV_ENABLE_MASK; in USB_HostOhciCreate()
2253 (uint8_t)(usbHostState->usbRegBase->HcRhDescriptorA & USB_HOST_OHCI_RHDESCRIPTORA_NDP_MASK); in USB_HostOhciCreate()
2296 usbHostState->usbRegBase->HcInterruptDisable |= USB_HOST_OHCI_INTERRUPT_DISABLE_MASK; in USB_HostOhciDestory()
2297 usbHostState->usbRegBase->HcRhStatus |= USB_HOST_OHCI_RHSTATUS_LPS_MASK; in USB_HostOhciDestory()
2298 usbHostState->usbRegBase->HcControl = 0U; in USB_HostOhciDestory()
2731 interruptStatus = usbHostState->usbRegBase->HcInterruptStatus; in USB_HostOhciIsrFunction()
2732 interruptStatus &= usbHostState->usbRegBase->HcInterruptEnable; in USB_HostOhciIsrFunction()
2785 usbHostState->usbRegBase->HcInterruptStatus = interruptStatus; /* clear interrupt */ in USB_HostOhciIsrFunction()