Home
last modified time | relevance | path

Searched refs:td_dma (Results 1 – 7 of 7) 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.c414 ed->hwTailP = cpu_to_hc32 (ohci, td->td_dma); in ed_get()
551 td->hwNextTD = cpu_to_hc32 (ohci, td_pt->td_dma); in td_fill()
557 hash = TD_HASH_FUNC (td->td_dma); in td_fill()
853 u32 td_dma; in dl_reverse_done_list() local
857 td_dma = hc32_to_cpup (ohci, &ohci->hcca->done_head); in dl_reverse_done_list()
864 while (td_dma) { in dl_reverse_done_list()
867 td = dma_to_td (ohci, td_dma); in dl_reverse_done_list()
869 ohci_err (ohci, "bad entry %8x\n", td_dma); in dl_reverse_done_list()
886 td_dma = hc32_to_cpup (ohci, &td->hwNextTD); in dl_reverse_done_list()
925 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.c422 &req->td_dma); in net2280_alloc_request()
448 pci_pool_free (ep->dev->requests, req->td, req->td_dma); in net2280_free_request()
697 static void start_queue (struct net2280_ep *ep, u32 dmactl, u32 td_dma) in start_queue() argument
708 writel (td_dma, &dma->dmadesc); in start_queue()
774 req->td->dmadesc = cpu_to_le32 (ep->td_dma); in start_dma()
780 start_queue (ep, tmp, req->td_dma); in start_dma()
794 tmp = ep->td_dma; in queue_dma()
795 ep->td_dma = req->td_dma; in queue_dma()
796 req->td_dma = tmp; in queue_dma()
798 end->dmadesc = cpu_to_le32 (ep->td_dma); in queue_dma()
[all …]
Dnet2280.h100 dma_addr_t td_dma; /* of dummy */ member
137 dma_addr_t td_dma; member
Dfsl_usb2_udc.h401 dma_addr_t td_dma; /* dma address for this td */ member
Dfsl_usb2_udc.c116 dma_pool_free(udc->td_pool, curr_td, curr_td->td_dma); in done()
617 cpu_to_le32(req->head->td_dma & DTD_ADDR_MASK); in fsl_queue_td()
641 temp = req->head->td_dma & EP_QUEUE_HEAD_NEXT_POINTER_MASK; in fsl_queue_td()
681 dtd->td_dma = *dma; in fsl_build_dtd()