Searched refs:pQh (Results 1 – 3 of 3) sorted by relevance
| /utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/newhost/ |
| H A D | drvEhciHcd.c | 875 ms_qh_refresh (struct ehci_hcd *pEhci, struct ehci_qh *pQh) in ms_qh_refresh() argument 880 pQtd = entry_to_container(pQh->qtd_list.next, struct ehci_qtd, qtd_list); in ms_qh_refresh() 882 if (pQh->hw_token & QTD_STS_ACT) in ms_qh_refresh() 884 ms_debug_debug("[USB] QTD_STS_ACT, (%x,%x)\n", pQh->hw_next_qtd, pQtd->hw_next_qtd); in ms_qh_refresh() 885 pQh->hw_next_qtd = pQtd->hw_next_qtd; in ms_qh_refresh() 888 if (pQh->qh_status != QH_STS_IDLE) in ms_qh_refresh() 890 pQh->hw_next_qtd = (U32)(pQtd->qtd_dma_addr); in ms_qh_refresh() 891 pQh->hw_alt_next_qtd = EHCI_LIST_END; in ms_qh_refresh() 893 if (!(pQh->hw_ep_state1 & QH_DTC_BIT)) { in ms_qh_refresh() 897 epnum = (pQh->hw_ep_state1 >> 8) & 0x0f; in ms_qh_refresh() [all …]
|
| H A D | drvEHCI_SCHD.cxx | 115 union ehci_qh_shadow *pQh = &pEhci->pshadow [u32Frame]; in ms_periodic_usecs() local 118 while (pQh->ptr) in ms_periodic_usecs() 122 if (pQh->qh->hw_ep_state2 & (1 << u32uFrame)) in ms_periodic_usecs() 123 u32uSecs += pQh->qh->u8Usecs; in ms_periodic_usecs() 124 if (pQh->qh->hw_ep_state2 & (1 << (8 + u32uFrame))) in ms_periodic_usecs() 125 u32uSecs += pQh->qh->c_usecs; in ms_periodic_usecs() 126 phw_p = &pQh->qh->hw_next_qh; // patch from Linux, move hardware pointer too in ms_periodic_usecs() 127 pQh = &pQh->qh->qh_next; in ms_periodic_usecs() 193 static int ms_qh_schedule (struct ehci_hcd *pEhci, struct ehci_qh *pQh); 397 const struct ehci_qh *pQh, in ms_check_intr_schedule() argument [all …]
|
| H A D | drvEHCI_MEM.cxx | 117 struct ehci_qh *pQh; in ms_ehci_qh_alloc() local 120 pQh = (struct ehci_qh *)ms_mem_pool_alloc (pEhci->pQhPool, iFlags, &tDmaAddr); in ms_ehci_qh_alloc() 121 if (!pQh) in ms_ehci_qh_alloc() 122 return pQh; in ms_ehci_qh_alloc() 124 memset (pQh, 0, sizeof *pQh); in ms_ehci_qh_alloc() 125 osapi_atomic_set (&pQh->tRefCnt, 1); in ms_ehci_qh_alloc() 126 pQh->qh_dma_addr = tDmaAddr; in ms_ehci_qh_alloc() 128 diag_printf("pQh: %p, pQh->qh_dma_addr: %p\n", (void *)pQh, (void *)pQh->qh_dma_addr); in ms_ehci_qh_alloc() 129 ms_list_init (&pQh->qtd_list); in ms_ehci_qh_alloc() 131 pQh->pDummyQtd = ms_ehci_qtd_alloc (pEhci, iFlags); in ms_ehci_qh_alloc() [all …]
|