Lines Matching refs:cur_td
764 struct xhci_td *cur_td, int status) in xhci_giveback_urb_in_irq() argument
766 struct urb *urb = cur_td->urb; in xhci_giveback_urb_in_irq()
1190 struct xhci_td *cur_td; in xhci_kill_ring_urbs() local
1193 list_for_each_entry_safe(cur_td, tmp, &ring->td_list, td_list) { in xhci_kill_ring_urbs()
1194 list_del_init(&cur_td->td_list); in xhci_kill_ring_urbs()
1196 if (!list_empty(&cur_td->cancelled_td_list)) in xhci_kill_ring_urbs()
1197 list_del_init(&cur_td->cancelled_td_list); in xhci_kill_ring_urbs()
1199 xhci_unmap_td_bounce_buffer(xhci, ring, cur_td); in xhci_kill_ring_urbs()
1201 inc_td_cnt(cur_td->urb); in xhci_kill_ring_urbs()
1202 if (last_td_in_urb(cur_td)) in xhci_kill_ring_urbs()
1203 xhci_giveback_urb_in_irq(xhci, cur_td, -ESHUTDOWN); in xhci_kill_ring_urbs()
1210 struct xhci_td *cur_td; in xhci_kill_endpoint_urbs() local
1244 list_for_each_entry_safe(cur_td, tmp, &ep->cancelled_td_list, in xhci_kill_endpoint_urbs()
1246 list_del_init(&cur_td->cancelled_td_list); in xhci_kill_endpoint_urbs()
1247 inc_td_cnt(cur_td->urb); in xhci_kill_endpoint_urbs()
1249 if (last_td_in_urb(cur_td)) in xhci_kill_endpoint_urbs()
1250 xhci_giveback_urb_in_irq(xhci, cur_td, -ESHUTDOWN); in xhci_kill_endpoint_urbs()