Home
last modified time | relevance | path

Searched refs:td_dma (Results 1 – 9 of 9) sorted by relevance

/drivers/usb/host/
Dohci-mem.c72 dma_to_td (struct ohci_hcd *hc, dma_addr_t td_dma) in dma_to_td() argument
76 td_dma &= TD_MASK; in dma_to_td()
77 td = hc->td_hash [TD_HASH_FUNC(td_dma)]; in dma_to_td()
78 while (td && td->td_dma != td_dma) in dma_to_td()
95 td->td_dma = dma; in td_alloc()
104 struct td **prev = &hc->td_hash [TD_HASH_FUNC (td->td_dma)]; in td_free()
112 dma_pool_free (hc->td_cache, td, td->td_dma); in td_free()
Dohci-q.c419 ed->hwTailP = cpu_to_hc32 (ohci, td->td_dma); in ed_get()
556 td->hwNextTD = cpu_to_hc32 (ohci, td_pt->td_dma); in td_fill()
562 hash = TD_HASH_FUNC (td->td_dma); in td_fill()
861 u32 td_dma; in dl_reverse_done_list() local
865 td_dma = hc32_to_cpup (ohci, &ohci->hcca->done_head); in dl_reverse_done_list()
872 while (td_dma) { in dl_reverse_done_list()
875 td = dma_to_td (ohci, td_dma); in dl_reverse_done_list()
877 ohci_err (ohci, "bad entry %8x\n", td_dma); in dl_reverse_done_list()
894 td_dma = hc32_to_cpup (ohci, &td->hwNextTD); in dl_reverse_done_list()
933 if (td->td_dma != head) { in finish_unlinks()
Dohci.h127 dma_addr_t td_dma; /* addr of this TD */ member
337 #define TD_HASH_FUNC(td_dma) ((td_dma ^ (td_dma >> 6)) % TD_HASH_SIZE) argument
/drivers/usb/gadget/
Dnet2280.c415 &req->td_dma); in net2280_alloc_request()
440 pci_pool_free (ep->dev->requests, req->td, req->td_dma); in net2280_free_request()
689 static void start_queue (struct net2280_ep *ep, u32 dmactl, u32 td_dma) in start_queue() argument
700 writel (td_dma, &dma->dmadesc); in start_queue()
766 req->td->dmadesc = cpu_to_le32 (ep->td_dma); in start_dma()
772 start_queue (ep, tmp, req->td_dma); in start_dma()
786 tmp = ep->td_dma; in queue_dma()
787 ep->td_dma = req->td_dma; in queue_dma()
788 req->td_dma = tmp; in queue_dma()
790 end->dmadesc = cpu_to_le32 (ep->td_dma); in queue_dma()
[all …]
Dnet2280.h91 dma_addr_t td_dma; /* of dummy */ member
128 dma_addr_t td_dma; member
Dmv_udc.h309 dma_addr_t td_dma; /* dma address for this td */ member
Dmv_udc_core.c195 while ((curr_dqh->curr_dtd_ptr == curr_dtd->td_dma)) { in process_ep_req()
239 dma_pool_free(udc->dtd_pool, curr_td, curr_td->td_dma); in done()
282 req->head->td_dma & EP_QUEUE_HEAD_NEXT_POINTER_MASK; in queue_dtd()
330 dqh->next_dtd_ptr = req->head->td_dma in queue_dtd()
375 dtd->td_dma = *dma; in build_dtd()
773 dqh->next_dtd_ptr = req->head->td_dma in mv_prime_ep()
Dfsl_usb2_udc.h414 dma_addr_t td_dma; /* dma address for this td */ member
Dfsl_udc_core.c185 dma_pool_free(udc->td_pool, curr_td, curr_td->td_dma); in done()
711 qh->next_dtd_ptr = cpu_to_hc32(td->td_dma in fsl_prime_ep()
744 cpu_to_hc32(req->head->td_dma & DTD_ADDR_MASK); in fsl_queue_td()
792 dtd->td_dma = *dma; in fsl_build_dtd()