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

/linux-4.4.14/drivers/usb/host/
H A Dohci-mem.c73 dma_to_td (struct ohci_hcd *hc, dma_addr_t td_dma) dma_to_td() argument
77 td_dma &= TD_MASK; dma_to_td()
78 td = hc->td_hash [TD_HASH_FUNC(td_dma)]; dma_to_td()
79 while (td && td->td_dma != td_dma) dma_to_td()
96 td->td_dma = dma; td_alloc()
105 struct td **prev = &hc->td_hash [TD_HASH_FUNC (td->td_dma)]; td_free()
113 dma_pool_free (hc->td_cache, td, td->td_dma); td_free()
H A Dohci-q.c431 ed->hwTailP = cpu_to_hc32 (ohci, td->td_dma); ed_get()
567 td->hwNextTD = cpu_to_hc32 (ohci, td_pt->td_dma); td_fill()
573 hash = TD_HASH_FUNC (td->td_dma); td_fill()
935 u32 td_dma; update_done_list() local
938 td_dma = hc32_to_cpup (ohci, &ohci->hcca->done_head); update_done_list()
945 while (td_dma) { update_done_list()
948 td = dma_to_td (ohci, td_dma); update_done_list()
950 ohci_err (ohci, "bad entry %8x\n", td_dma); update_done_list()
965 td_dma = hc32_to_cpup (ohci, &td->hwNextTD); update_done_list()
1001 if (td->td_dma != head && finish_unlinks()
H A Dohci.h135 dma_addr_t td_dma; /* addr of this TD */ member in struct:td
345 #define TD_HASH_FUNC(td_dma) ((td_dma ^ (td_dma >> 6)) % TD_HASH_SIZE)
H A Dohci-hcd.c792 if (head == (u32) td_next->td_dma) io_watchdog_func()
/linux-4.4.14/drivers/usb/gadget/udc/
H A Dnet2280.h99 dma_addr_t td_dma; /* of dummy */ member in struct:net2280_ep
145 dma_addr_t td_dma; member in struct:net2280_request
H A Dnet2280.c573 &req->td_dma); net2280_alloc_request()
600 pci_pool_free(ep->dev->requests, req->td, req->td_dma); net2280_free_request()
853 static void start_queue(struct net2280_ep *ep, u32 dmactl, u32 td_dma) start_queue() argument
864 writel(td_dma, &dma->dmadesc); start_queue()
932 req->td->dmadesc = cpu_to_le32 (ep->td_dma); start_dma()
937 start_queue(ep, tmp, req->td_dma); start_dma()
951 tmp = ep->td_dma; queue_dma()
952 ep->td_dma = req->td_dma; queue_dma()
953 req->td_dma = tmp; queue_dma()
955 end->dmadesc = cpu_to_le32 (ep->td_dma); queue_dma()
1371 !list_empty(&ep->queue) && ep->td_dma) net2280_set_halt_and_wedge()
1818 if (ep->dma && req->td_dma == readl(&ep->dma->dmadesc)) queues_show()
1841 (u32) req->td_dma, queues_show()
2579 != req->td_dma) handle_ep_small()
2889 if (!list_empty(&e->queue) && e->td_dma) handle_stat0_irqs_superspeed()
3177 !list_empty(&e->queue) && e->td_dma) handle_stat0_irqs()
3510 dev->ep[i].td_dma); net2280_remove()
3667 &dev->ep[i].td_dma); net2280_probe()
H A Dmv_udc.h309 dma_addr_t td_dma; /* dma address for this td */ member in struct:mv_dtd
H A Dmv_udc_core.c194 while ((curr_dqh->curr_dtd_ptr == curr_dtd->td_dma)) { process_ep_req()
238 dma_pool_free(udc->dtd_pool, curr_td, curr_td->td_dma);
277 req->head->td_dma & EP_QUEUE_HEAD_NEXT_POINTER_MASK; queue_dtd()
325 dqh->next_dtd_ptr = req->head->td_dma queue_dtd()
370 dtd->td_dma = *dma; build_dtd()
768 dqh->next_dtd_ptr = req->head->td_dma mv_prime_ep()
H A Dfsl_udc_core.c187 dma_pool_free(udc->td_pool, curr_td, curr_td->td_dma); fsl_set_accessors()
711 qh->next_dtd_ptr = cpu_to_hc32(td->td_dma fsl_prime_ep()
744 cpu_to_hc32(req->head->td_dma & DTD_ADDR_MASK); fsl_queue_td()
792 dtd->td_dma = *dma; fsl_build_dtd()
H A Dfsl_usb2_udc.h417 dma_addr_t td_dma; /* dma address for this td */ member in struct:ep_td_struct

Completed in 328 milliseconds