Home
last modified time | relevance | path

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

/Linux-v6.1/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.c814 if (head == (u32) td_next->td_dma) in io_watchdog_func()
/Linux-v6.1/drivers/usb/gadget/udc/
Dnet2280.h96 dma_addr_t td_dma; /* of dummy */ member
142 dma_addr_t td_dma; member
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()
937 swap(ep->td_dma, req->td_dma); in queue_dma()
939 req->td->dmadesc = cpu_to_le32 (ep->td_dma); in queue_dma()
1365 !list_empty(&ep->queue) && ep->td_dma) in net2280_set_halt_and_wedge()
1852 if (ep->dma && req->td_dma == readl(&ep->dma->dmadesc)) in queues_show()
[all …]
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.c181 dma_pool_free(udc->td_pool, curr_td, curr_td->td_dma); in done()
703 qh->next_dtd_ptr = cpu_to_hc32(td->td_dma in fsl_prime_ep()
736 cpu_to_hc32(req->head->td_dma & DTD_ADDR_MASK); in fsl_queue_td()
784 dtd->td_dma = *dma; in fsl_build_dtd()
/Linux-v6.1/drivers/net/ethernet/
Dkorina.c341 dma_addr_t td_dma; member
380 return lp->td_dma + (idx * sizeof(struct dma_desc)); in korina_tx_dma()
1340 &lp->td_dma, GFP_KERNEL); in korina_probe()