Lines Matching refs:cur_td
755 struct xhci_td *cur_td, int status) in xhci_giveback_urb_in_irq() argument
757 struct urb *urb = cur_td->urb; in xhci_giveback_urb_in_irq()
1155 struct xhci_td *cur_td; in xhci_kill_ring_urbs() local
1158 list_for_each_entry_safe(cur_td, tmp, &ring->td_list, td_list) { in xhci_kill_ring_urbs()
1159 list_del_init(&cur_td->td_list); in xhci_kill_ring_urbs()
1161 if (!list_empty(&cur_td->cancelled_td_list)) in xhci_kill_ring_urbs()
1162 list_del_init(&cur_td->cancelled_td_list); in xhci_kill_ring_urbs()
1164 xhci_unmap_td_bounce_buffer(xhci, ring, cur_td); in xhci_kill_ring_urbs()
1166 inc_td_cnt(cur_td->urb); in xhci_kill_ring_urbs()
1167 if (last_td_in_urb(cur_td)) in xhci_kill_ring_urbs()
1168 xhci_giveback_urb_in_irq(xhci, cur_td, -ESHUTDOWN); in xhci_kill_ring_urbs()
1175 struct xhci_td *cur_td; in xhci_kill_endpoint_urbs() local
1209 list_for_each_entry_safe(cur_td, tmp, &ep->cancelled_td_list, in xhci_kill_endpoint_urbs()
1211 list_del_init(&cur_td->cancelled_td_list); in xhci_kill_endpoint_urbs()
1212 inc_td_cnt(cur_td->urb); in xhci_kill_endpoint_urbs()
1214 if (last_td_in_urb(cur_td)) in xhci_kill_endpoint_urbs()
1215 xhci_giveback_urb_in_irq(xhci, cur_td, -ESHUTDOWN); in xhci_kill_endpoint_urbs()