Lines Matching refs:cur_td
433 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()
723 cur_td, &deq_state); in cdnsp_remove_request()
725 cdnsp_td_to_noop(pdev, ep_ring, cur_td, false); in cdnsp_remove_request()
731 list_del_init(&cur_td->td_list); in cdnsp_remove_request()
744 cdnsp_unmap_td_bounce_buffer(pdev, ep_ring, cur_td); in cdnsp_remove_request()
745 cdnsp_gadget_giveback(pep, cur_td->preq, status); in cdnsp_remove_request()