Searched refs:pQtd (Results 1 – 2 of 2) sorted by relevance
| /utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/newhost/ |
| H A D | drvEhciHcd.c | 817 ms_qtd_pack (struct ehci_qtd *pQtd, dma_addr_t tBufAddr, size_t total, in ms_qtd_pack() argument 827 pQtd->hw_buffer [0] = tBufAddr; in ms_qtd_pack() 839 pQtd->hw_buffer [i] = tBufAddr; in ms_qtd_pack() 849 pQtd->hw_token = (u32Cnt << 16) | iToken; in ms_qtd_pack() 850 pQtd->length = u32Cnt; in ms_qtd_pack() 877 struct ehci_qtd *pQtd; in ms_qh_refresh() local 880 pQtd = entry_to_container(pQh->qtd_list.next, struct ehci_qtd, qtd_list); 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() 890 pQh->hw_next_qtd = (U32)(pQtd->qtd_dma_addr); in ms_qh_refresh() [all …]
|
| H A D | drvEHCI_MEM.cxx | 82 static __inline__ void ms_ehci_qtd_init (struct ehci_qtd *pQtd, dma_addr_t tDmaAddr); 87 struct ehci_qtd *pQtd; in ms_ehci_qtd_alloc() local 90 pQtd = (struct ehci_qtd*) ms_mem_pool_alloc (pEhci->pQtdPool, iFlags, &tDmaAddr); in ms_ehci_qtd_alloc() 91 if (pQtd != 0) in ms_ehci_qtd_alloc() 93 ms_ehci_qtd_init (pQtd, tDmaAddr); in ms_ehci_qtd_alloc() 96 return pQtd; in ms_ehci_qtd_alloc() 99 static __inline__ void ms_ehci_qtd_init (struct ehci_qtd *pQtd, dma_addr_t tDmaAddr) in ms_ehci_qtd_init() argument 101 memset (pQtd, 0, sizeof *pQtd); in ms_ehci_qtd_init() 102 pQtd->qtd_dma_addr = tDmaAddr; in ms_ehci_qtd_init() 103 pQtd->hw_token = QTD_STS_HALT; in ms_ehci_qtd_init() [all …]
|