Searched refs:qh (Results 1 – 10 of 10) sorted by relevance
| /bsp/allwinner/libraries/sunxi-hal/hal/source/usb/host/ |
| A D | ehci-q.c | 860 if (!qh) in qh_make() 918 qh->ps.bw_period = qh->ps.bw_uperiod >> 3; in qh_make() 950 qh->ps.bw_uperiod = qh->ps.bw_period << 3; in qh_make() 1033 return qh; in qh_make() 1127 head->qh_next.qh = qh; in qh_link_async() 1281 while (prev->qh_next.qh != qh) in single_unlink_async() 1287 ehci->qh_scan_next = qh->qh_next.qh; in single_unlink_async() 1424 qh->qh_next.qh = NULL; in end_unlink_async() 1445 for (qh = ehci->async->qh_next.qh; qh; qh = qh->qh_next.qh) { in unlink_empty_async() 1477 qh = ehci->async->qh_next.qh; in unlink_empty_async_suspended() [all …]
|
| A D | ehci-mem.c | 73 if (!list_empty (&qh->qtd_list) || qh->qh_next.ptr) { in qh_destroy() 76 if (qh->dummy) in qh_destroy() 79 usb_dma_free((void *)qh->hw, qh->qh_dma); in qh_destroy() 80 hal_free(qh); in qh_destroy() 88 qh = hal_malloc(sizeof *qh); in ehci_qh_alloc() 89 if (!qh) in ehci_qh_alloc() 95 if (!qh->hw) in ehci_qh_alloc() 97 memset(qh->hw, 0, sizeof *qh->hw); in ehci_qh_alloc() 109 return qh; in ehci_qh_alloc() 112 usb_dma_free(qh->hw, qh->qh_dma); in ehci_qh_alloc() [all …]
|
| A D | ehci-sched.c | 552 qh, qh->ps.phase, qh->ps.usecs, qh->ps.c_usecs); in qh_link_periodic() 577 while (here.ptr && qh != here.qh) { in qh_link_periodic() 578 if (qh->ps.period > here.qh->ps.period) in qh_link_periodic() 585 if (qh != here.qh) { in qh_link_periodic() 590 prev->qh = qh; in qh_link_periodic() 600 ? ((qh->ps.usecs + qh->ps.c_usecs) / qh->ps.bw_period) in qh_link_periodic() 638 ? ((qh->ps.usecs + qh->ps.c_usecs) / qh->ps.bw_period) in qh_unlink_periodic() 644 qh, qh->ps.phase, qh->ps.usecs, qh->ps.c_usecs); in qh_unlink_periodic() 842 qh->ps.bw_uperiod, qh->ps.c_usecs)) in check_intr_schedule() 910 qh->ps.bw_phase = qh->ps.phase & (qh->ps.bw_period - 1); in qh_schedule() [all …]
|
| A D | ehci-hcd.c | 938 struct ehci_qh *qh; in ehci_urb_dequeue() local 956 switch (qh->qh_state) { in ehci_urb_dequeue() 991 struct ehci_qh *qh; in ehci_endpoint_disable() local 998 qh = ep->hcpriv; in ehci_endpoint_disable() 999 if (!qh) in ehci_endpoint_disable() 1005 if (qh->hw == NULL) { in ehci_endpoint_disable() 1018 switch (qh->qh_state) { in ehci_endpoint_disable() 1052 qh, ep->desc.bEndpointAddress, qh->qh_state, in ehci_endpoint_disable() 1065 struct ehci_qh *qh; in ehci_endpoint_reset() local 1075 qh = ep->hcpriv; in ehci_endpoint_reset() [all …]
|
| A D | ehci-timer.c | 267 struct ehci_qh *qh; in ehci_handle_start_intr_unlinks() local 269 qh = list_first_entry(&ehci->intr_unlink_wait, in ehci_handle_start_intr_unlinks() 271 if (!stopped && (qh->unlink_cycle == in ehci_handle_start_intr_unlinks() 274 list_del_init(&qh->unlink_node); in ehci_handle_start_intr_unlinks() 275 qh->unlink_reason |= QH_UNLINK_QUEUE_EMPTY; in ehci_handle_start_intr_unlinks() 276 start_unlink_intr(ehci, qh); in ehci_handle_start_intr_unlinks() 300 struct ehci_qh *qh; in ehci_handle_intr_unlinks() local 302 qh = list_first_entry(&ehci->intr_unlink, struct ehci_qh, in ehci_handle_intr_unlinks() 304 if (!stopped && qh->unlink_cycle == ehci->intr_unlink_cycle) in ehci_handle_intr_unlinks() 306 list_del_init(&qh->unlink_node); in ehci_handle_intr_unlinks() [all …]
|
| A D | ehci.h | 371 struct ehci_qh *qh; /* Q_TYPE_QH */ member
|
| /bsp/nxp/imx/imxrt/libraries/drivers/usb/device/ |
| A D | usb_device_ehci.c | 194 ehciState->qh[i].nextDtdPointer = USB_DEVICE_ECHI_DTD_TERMINATE_MASK; in USB_DeviceEhciSetDefaultState() 199 ehciState->qh[i].endpointStatusUnion.endpointStatusBitmap.isOpened = 0U; in USB_DeviceEhciSetDefaultState() 203 ehciState->registerBase->EPLISTADDR = (uint32_t)ehciState->qh; in USB_DeviceEhciSetDefaultState() 295 ehciState->qh[index].endpointStatusUnion.endpointStatusBitmap.isOpened = 1U; in USB_DeviceEhciEndpointInit() 448 ehciState->qh[index].setupBufferBack[0] = ehciState->qh[index].setupBuffer[0]; in USB_DeviceEhciFillSetupBuffer() 449 ehciState->qh[index].setupBufferBack[1] = ehciState->qh[index].setupBuffer[1]; in USB_DeviceEhciFillSetupBuffer() 517 ehciState->qh[index].dtdTokenUnion.dtdToken = 0U; in USB_DeviceEhciCancelControlPipe() 689 ehciState->qh[index].dtdTokenUnion.dtdToken = 0U; in USB_DeviceEhciInterruptTokenDone() 1045 ehciState->qh[index].nextDtdPointer = (uint32_t)dtdHard; in USB_DeviceEhciTransfer() 1046 ehciState->qh[index].dtdTokenUnion.dtdToken = 0U; in USB_DeviceEhciTransfer() [all …]
|
| A D | usb_device_ehci.h | 68 usb_device_ehci_qh_struct_t *qh; /*!< The QH structure base address */ member
|
| /bsp/nxp/imx/imx6ull-smart/drivers/usb/device/ |
| A D | usb_device_ehci.c | 200 ehciState->qh[i].nextDtdPointer = USB_DEVICE_ECHI_DTD_TERMINATE_MASK; in USB_DeviceEhciSetDefaultState() 205 ehciState->qh[i].endpointStatusUnion.endpointStatusBitmap.isOpened = 0U; in USB_DeviceEhciSetDefaultState() 302 ehciState->qh[index].endpointStatusUnion.endpointStatusBitmap.isOpened = 1U; in USB_DeviceEhciEndpointInit() 454 ehciState->qh[index].setupBufferBack[0] = ehciState->qh[index].setupBuffer[0]; in USB_DeviceEhciFillSetupBuffer() 455 ehciState->qh[index].setupBufferBack[1] = ehciState->qh[index].setupBuffer[1]; in USB_DeviceEhciFillSetupBuffer() 523 ehciState->qh[index].dtdTokenUnion.dtdToken = 0U; in USB_DeviceEhciCancelControlPipe() 696 ehciState->qh[index].dtdTokenUnion.dtdToken = 0U; in USB_DeviceEhciInterruptTokenDone() 1056 ehciState->qh[index].nextDtdPointer = (uint32_t)dtdhard_phy; in USB_DeviceEhciTransfer() 1058 ehciState->qh[index].dtdTokenUnion.dtdToken = 0U; in USB_DeviceEhciTransfer() 1137 ehciState->qh = (usb_device_ehci_qh_struct_t *)qh_buffer_vir; in USB_DeviceEhciInit() [all …]
|
| A D | usb_device_ehci.h | 68 usb_device_ehci_qh_struct_t *qh; /*!< The QH structure base address */ member
|
Completed in 38 milliseconds