Home
last modified time | relevance | path

Searched refs:td_list (Results 1 – 25 of 28) sorted by relevance

12

/drivers/usb/host/
A Dfhci-q.c63 struct td *td = td_list[i]; in fhci_add_tds_to_ed()
64 list_add_tail(&td->node, &ed->td_list); in fhci_add_tds_to_ed()
67 ed->td_head = td_list[0]; in fhci_add_tds_to_ed()
74 if (!list_empty(&ed->td_list)) in peek_td_from_ed()
75 td = list_entry(ed->td_list.next, struct td, node); in peek_td_from_ed()
111 if (!list_empty(&ed->td_list)) { in fhci_remove_td_from_ed()
112 td = list_entry(ed->td_list.next, struct td, node); in fhci_remove_td_from_ed()
113 list_del_init(ed->td_list.next); in fhci_remove_td_from_ed()
116 if (!list_empty(&ed->td_list)) in fhci_remove_td_from_ed()
148 if (!list_empty(&ed->td_list)) in fhci_move_td_from_ed_to_done_list()
[all …]
A Dohci-q.c572 list_add_tail (&td->td_list, &td->ed->td_list); in td_fill()
762 list_del (&td->td_list); in td_done()
852 while (tmp != &ed->td_list) { in ed_halted()
856 tmp = next->td_list.next; in ed_halted()
869 list_del(&next->td_list); in ed_halted()
910 list_for_each_entry_continue_reverse(td2, &ed->td_list, td_list) { in add_to_done_list()
995 if (!list_empty(&ed->td_list)) { in finish_unlinks()
999 td = list_first_entry(&ed->td_list, struct td, td_list); in finish_unlinks()
1087 if (list_empty(&ed->td_list)) { in finish_unlinks()
1166 if (list_empty(&ed->td_list)) { in takeback_td()
[all …]
A Duhci-q.c144 list_add_tail(&td->list, &urbp->td_list); in uhci_add_td_to_urbp()
241 list_for_each_entry(td, &urbp->td_list, list) in uhci_unlink_isochronous_tds()
339 WARN_ON(list_empty(&purbp->td_list)); in uhci_cleanup_queue()
359 WARN_ON(list_empty(&urbp->td_list)); in uhci_cleanup_queue()
735 INIT_LIST_HEAD(&urbp->td_list); in uhci_alloc_urb_priv()
1135 WARN_ON(list_empty(&urbp->td_list)); in uhci_fixup_short_transfer()
1149 if (list_empty(&urbp->td_list)) in uhci_fixup_short_transfer()
1152 tmp = urbp->td_list.prev; in uhci_fixup_short_transfer()
1157 while (tmp != &urbp->td_list) { in uhci_fixup_short_transfer()
1213 if (td->list.next != urbp->td_list.prev) in uhci_result_common()
[all …]
A Dehci-sched.c1008 INIT_LIST_HEAD(&stream->td_list); in iso_stream_alloc()
1172 INIT_LIST_HEAD(&iso_sched->td_list); in iso_sched_alloc()
1289 list_add(&itd->itd_list, &sched->td_list); in itd_urb_transaction()
1755 if (unlikely(list_empty(&stream->td_list))) in itd_link_urb()
1775 itd = list_entry(iso_sched->td_list.next, in itd_link_urb()
1903 if (list_empty(&stream->td_list)) { in itd_complete()
2156 if (list_empty(&stream->td_list)) in sitd_link_urb()
2174 BUG_ON(list_empty(&sched->td_list)); in sitd_link_urb()
2178 sitd = list_entry(sched->td_list.next, in sitd_link_urb()
2272 if (list_is_singular(&stream->td_list)) in sitd_complete()
[all …]
A Dohci-hcd.c381 if (list_empty (&ed->td_list)) { in ohci_endpoint_disable()
393 list_empty (&ed->td_list) ? "" : " (has tds)"); in ohci_endpoint_disable()
803 list_for_each_entry(td_next, &ed->td_list, td_list) { in io_watchdog_func()
813 td_next = list_prepare_entry(td, &ed->td_list, td_list); in io_watchdog_func()
814 list_for_each_entry_continue(td_next, &ed->td_list, td_list) { in io_watchdog_func()
A Dxhci-ring.c896 if (!list_empty(&td->td_list)) in xhci_td_cleanup()
897 list_del_init(&td->td_list); in xhci_td_cleanup()
1054 list_del_init(&td->td_list); in xhci_invalidate_cancelled_tds()
1160 td = list_first_entry(&ep->ring->td_list, struct xhci_td, td_list); in find_halted_td()
1307 list_for_each_entry_safe(cur_td, tmp, &ring->td_list, td_list) { in xhci_kill_ring_urbs()
1308 list_del_init(&cur_td->td_list); in xhci_kill_ring_urbs()
2828 td = list_first_entry_or_null(&ep_ring->td_list, struct xhci_td, td_list); in handle_tx_event()
2839 if (list_empty(&ep_ring->td_list)) { in handle_tx_event()
2860 td_list); in handle_tx_event()
3371 INIT_LIST_HEAD(&td->td_list); in prepare_transfer()
[all …]
A Dohci-dbg.c350 list_for_each (tmp, &ed->td_list) { in ohci_dump_ed()
352 td = list_entry (tmp, struct td, td_list); in ohci_dump_ed()
433 list_for_each (entry, &ed->td_list) { in show_list()
436 td = list_entry (entry, struct td, td_list); in show_list()
536 list_for_each (entry, &ed->td_list) in fill_periodic_buffer()
A Dfhci-mem.c33 INIT_LIST_HEAD(&ed->td_list); in init_ed()
A Dfhci.h330 struct list_head td_list; /* a list of all queued TD to this pipe */ member
521 void fhci_add_tds_to_ed(struct ed *ed, struct td **td_list, int number);
A Dohci-mem.c146 INIT_LIST_HEAD (&ed->td_list); in ed_alloc()
A Dohci.h50 struct list_head td_list; /* "shadow list" of our TDs */ member
139 struct list_head td_list; /* "shadow list", TDs on same ED */ member
A Dfhci-sched.c63 if (ed->td_list.next->next != &ed->td_list) { in fhci_transaction_confirm()
65 list_entry(ed->td_list.next->next, struct td, in fhci_transaction_confirm()
A Dehci.h470 struct list_head td_list; member
486 struct list_head td_list; /* queued itds/sitds */ member
A Duhci-debug.c139 list_for_each_entry(td, &urbp->td_list, list) { in uhci_show_urbp()
222 struct uhci_td *td = list_entry(urbp->td_list.next, in uhci_show_qh()
A Duhci-hcd.h485 struct list_head td_list; member
A Dxhci.h1304 struct list_head td_list; member
1370 struct list_head td_list; member
A Dehci-hcd.c994 if (!list_empty(&stream->td_list)) in ehci_endpoint_disable()
A Dxhci.c1812 if (!list_empty(&td->td_list)) in xhci_urb_dequeue()
1813 list_del_init(&td->td_list); in xhci_urb_dequeue()
3360 if (!list_empty(&ep->ring->td_list)) { in xhci_endpoint_reset()
3453 if (!list_empty(&xhci->devs[slot_id]->eps[ep_index].ring->td_list)) { in xhci_check_streams_endpoint()
/drivers/usb/c67x00/
A Dc67x00-sched.c59 struct list_head td_list; member
218 list_for_each_entry(td, &c67x00->td_list, td_list) in c67x00_release_urb()
633 list_add_tail(&td->td_list, &c67x00->td_list); in c67x00_create_td()
639 list_del_init(&td->td_list); in c67x00_release_td()
804 list_for_each_entry_safe(td, ttd, &c67x00->td_list, td_list) { in c67x00_fill_frame()
895 while (td->td_list.next != &c67x00->td_list) { in c67x00_clear_pipe()
896 td = list_entry(td->td_list.next, struct c67x00_td, td_list); in c67x00_clear_pipe()
985 list_for_each_entry_safe(td, tmp, &c67x00->td_list, td_list) { in c67x00_check_td_list()
1034 tmp = list_entry(td->td_list.next, typeof(*td), td_list); in c67x00_check_td_list()
1073 list_for_each_entry(td, &c67x00->td_list, td_list) { in c67x00_send_frame()
[all …]
A Dc67x00-hcd.h71 struct list_head td_list; member
A Dc67x00-hcd.c354 INIT_LIST_HEAD(&c67x00->td_list); in c67x00_hcd_probe()
/drivers/usb/cdns3/
A Dcdnsp-ring.c360 if (pep->ring && !list_empty(&pep->ring->td_list)) in cdnsp_ring_doorbell_for_active_rings()
382 td_list) { in cdnsp_ring_doorbell_for_active_rings()
733 list_del_init(&cur_td->td_list); in cdnsp_remove_request()
913 list_del_init(&td->td_list); in cdnsp_td_cleanup()
1029 td_list); in cdnsp_process_ctrl_td()
1218 td_list) { in cdnsp_handle_tx_nrdy()
1311 if (list_empty(&ep_ring->td_list)) { in cdnsp_handle_tx_event()
1334 td_list); in cdnsp_handle_tx_event()
1694 INIT_LIST_HEAD(&preq->td.td_list); in cdnsp_prepare_transfer()
1698 list_add_tail(&preq->td.td_list, &ep_ring->td_list); in cdnsp_prepare_transfer()
[all …]
A Dcdnsp-gadget.h1204 struct list_head td_list; member
1270 struct list_head td_list; member
/drivers/usb/fotg210/
A Dfotg210-hcd.h489 struct list_head td_list; member
504 struct list_head td_list; /* queued itds */ member
A Dfotg210-hcd.c3904 INIT_LIST_HEAD(&stream->td_list); in iso_stream_alloc()
4012 INIT_LIST_HEAD(&iso_sched->td_list); in iso_sched_alloc()
4061 list_splice(&iso_sched->td_list, &stream->free_list); in iso_sched_free()
4116 list_add(&itd->itd_list, &sched->td_list); in itd_urb_transaction()
4178 if (likely(!list_empty(&stream->td_list))) { in iso_stream_schedule()
4354 if (unlikely(list_empty(&stream->td_list))) { in itd_link_urb()
4372 itd = list_entry(iso_sched->td_list.next, in itd_link_urb()
4374 list_move_tail(&itd->itd_list, &stream->td_list); in itd_link_urb()
4486 if (unlikely(list_is_singular(&stream->td_list))) { in itd_complete()
4502 if (list_empty(&stream->td_list)) { in itd_complete()
[all …]

Completed in 86 milliseconds

12