Home
last modified time | relevance | path

Searched refs:cur_td (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/usb/cdns3/
H A Dcdnsp-ring.c433 struct cdnsp_td *cur_td, in cdnsp_find_new_dequeue_state() argument
472 if (new_deq == cur_td->last_trb) in cdnsp_find_new_dequeue_state()
695 struct cdnsp_td *cur_td = NULL; in cdnsp_remove_request() local
707 cur_td = &preq->td; in cdnsp_remove_request()
718 seg = cdnsp_trb_in_td(pdev, cur_td->start_seg, cur_td->first_trb, in cdnsp_remove_request()
719 cur_td->last_trb, hw_deq); in cdnsp_remove_request()
724 cur_td, &deq_state); in cdnsp_remove_request()
726 cdnsp_td_to_noop(pdev, ep_ring, cur_td, false); in cdnsp_remove_request()
732 list_del_init(&cur_td->td_list); in cdnsp_remove_request()
746 cdnsp_unmap_td_bounce_buffer(pdev, ep_ring, cur_td); in cdnsp_remove_request()
[all …]
/openbmc/linux/drivers/usb/host/
H A Dxhci-ring.c787 struct xhci_td *cur_td, int status) in xhci_giveback_urb_in_irq() argument
789 struct urb *urb = cur_td->urb; in xhci_giveback_urb_in_irq()
1252 struct xhci_td *cur_td; in xhci_kill_ring_urbs() local
1255 list_for_each_entry_safe(cur_td, tmp, &ring->td_list, td_list) { in xhci_kill_ring_urbs()
1256 list_del_init(&cur_td->td_list); in xhci_kill_ring_urbs()
1258 if (!list_empty(&cur_td->cancelled_td_list)) in xhci_kill_ring_urbs()
1259 list_del_init(&cur_td->cancelled_td_list); in xhci_kill_ring_urbs()
1261 xhci_unmap_td_bounce_buffer(xhci, ring, cur_td); in xhci_kill_ring_urbs()
1263 inc_td_cnt(cur_td->urb); in xhci_kill_ring_urbs()
1264 if (last_td_in_urb(cur_td)) in xhci_kill_ring_urbs()
[all …]
/openbmc/u-boot/drivers/usb/host/
H A Dehci-hcd.c1400 struct qTD *cur_td; in _ehci_poll_int_queue() local
1410 cur_td = &queue->tds[queue->current - queue->first]; in _ehci_poll_int_queue()
1411 invalidate_dcache_range((unsigned long)cur_td, in _ehci_poll_int_queue()
1412 ALIGN_END_ADDR(struct qTD, cur_td, 1)); in _ehci_poll_int_queue()
1413 token = hc32_to_cpu(cur_td->qt_token); in _ehci_poll_int_queue()