Home
last modified time | relevance | path

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

/drivers/usb/host/
Dohci-mem.c77 dma_to_td (struct ohci_hcd *hc, dma_addr_t td_dma) in dma_to_td() argument
81 td_dma &= TD_MASK; in dma_to_td()
82 td = hc->td_hash [TD_HASH_FUNC(td_dma)]; in dma_to_td()
83 while (td && td->td_dma != td_dma) in dma_to_td()
104 td->td_dma = dma; in td_alloc()
113 struct td **prev = &hc->td_hash [TD_HASH_FUNC (td->td_dma)]; in td_free()
127 dma_pool_free(hc->td_cache, td, td->td_dma); in td_free()
Dohci-q.c433 ed->hwTailP = cpu_to_hc32 (ohci, td->td_dma); in ed_get()
569 td->hwNextTD = cpu_to_hc32 (ohci, td_pt->td_dma); in td_fill()
575 hash = TD_HASH_FUNC (td->td_dma); in td_fill()
937 u32 td_dma; in update_done_list() local
940 td_dma = hc32_to_cpup (ohci, &ohci->hcca->done_head); in update_done_list()
947 while (td_dma) { in update_done_list()
950 td = dma_to_td (ohci, td_dma); in update_done_list()
952 ohci_err (ohci, "bad entry %8x\n", td_dma); in update_done_list()
967 td_dma = hc32_to_cpup (ohci, &td->hwNextTD); in update_done_list()
1003 if (td->td_dma != head && in finish_unlinks()
Dohci.h136 dma_addr_t td_dma; /* addr of this TD */ member
346 #define TD_HASH_FUNC(td_dma) ((td_dma ^ (td_dma >> 6)) % TD_HASH_SIZE) argument
Dohci-hcd.c816 if (head == (u32) td_next->td_dma) in io_watchdog_func()
/drivers/usb/gadget/udc/
Dnet2280.c568 &req->td_dma); in net2280_alloc_request()
595 dma_pool_free(ep->dev->requests, req->td, req->td_dma); in net2280_free_request()
847 static void start_queue(struct net2280_ep *ep, u32 dmactl, u32 td_dma) in start_queue() argument
858 writel(td_dma, &dma->dmadesc); in start_queue()
924 req->td->dmadesc = cpu_to_le32 (ep->td_dma); in start_dma()
929 start_queue(ep, tmp, req->td_dma); in start_dma()
943 tmp = ep->td_dma; in queue_dma()
944 ep->td_dma = req->td_dma; in queue_dma()
945 req->td_dma = tmp; in queue_dma()
947 end->dmadesc = cpu_to_le32 (ep->td_dma); in queue_dma()
[all …]
Dnet2280.h96 dma_addr_t td_dma; /* of dummy */ member
142 dma_addr_t td_dma; member
Dmv_udc.h305 dma_addr_t td_dma; /* dma address for this td */ member
Dmv_udc_core.c187 while (curr_dqh->curr_dtd_ptr == curr_dtd->td_dma) { in process_ep_req()
231 dma_pool_free(udc->dtd_pool, curr_td, curr_td->td_dma); in done()
270 req->head->td_dma & EP_QUEUE_HEAD_NEXT_POINTER_MASK; in queue_dtd()
318 dqh->next_dtd_ptr = req->head->td_dma in queue_dtd()
363 dtd->td_dma = *dma; in build_dtd()
755 dqh->next_dtd_ptr = req->head->td_dma in mv_prime_ep()
Dfsl_usb2_udc.h413 dma_addr_t td_dma; /* dma address for this td */ member
Dfsl_udc_core.c182 dma_pool_free(udc->td_pool, curr_td, curr_td->td_dma); in done()
706 qh->next_dtd_ptr = cpu_to_hc32(td->td_dma in fsl_prime_ep()
739 cpu_to_hc32(req->head->td_dma & DTD_ADDR_MASK); in fsl_queue_td()
787 dtd->td_dma = *dma; in fsl_build_dtd()