/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | fhci-q.c | 58 void fhci_add_tds_to_ed(struct ed *ed, struct td **td_list, int number) in fhci_add_tds_to_ed() argument 63 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() [all...] |
H A D | ohci-q.c | 572 list_add_tail (&td->td_list, &td->ed->td_list); in td_fill() 762 list_del (&td->td_list); in td_done() 838 struct list_head *tmp = td->td_list.next; in ed_halted() 852 while (tmp != &ed->td_list) { in ed_halted() 855 next = list_entry (tmp, struct td, 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() [all...] |
H A D | uhci-q.c | 144 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() 340 ptd = list_entry(purbp->td_list.prev, struct uhci_td, in uhci_cleanup_queue() 342 td = list_entry(urbp->td_list.prev, struct uhci_td, in uhci_cleanup_queue() 359 WARN_ON(list_empty(&urbp->td_list)); in uhci_cleanup_queue() 360 td = list_entry(urbp->td_list.next, struct uhci_td, list); in uhci_cleanup_queue() 398 td = list_entry(urbp->td_list.next, struct uhci_td, list); in uhci_fixup_toggles() 400 td = list_entry(urbp->td_list.prev, struct uhci_td, in uhci_fixup_toggles() 406 list_for_each_entry(td, &urbp->td_list, lis in uhci_fixup_toggles() [all...] |
H A D | ehci-sched.c | 1001 INIT_LIST_HEAD(&stream->td_list); in iso_stream_alloc() 1167 INIT_LIST_HEAD(&iso_sched->td_list); in iso_sched_alloc() 1223 list_splice(&iso_sched->td_list, &stream->free_list); in iso_sched_free() 1284 list_add(&itd->itd_list, &sched->td_list); in itd_urb_transaction() 1471 bool empty = list_empty(&stream->td_list); in iso_stream_schedule() 1744 if (unlikely(list_empty(&stream->td_list))) in itd_link_urb() 1760 /* BUG_ON(list_empty(&iso_sched->td_list)); */ in itd_link_urb() 1764 itd = list_entry(iso_sched->td_list.next, in itd_link_urb() 1766 list_move_tail(&itd->itd_list, &stream->td_list); in itd_link_urb() 1863 * list_for_each_entry (itd, &stream->td_list, itd_lis in itd_complete() [all...] |
H A D | xhci-ring.c | 441 if (ep->ring && !(list_empty(&ep->ring->td_list))) in ring_doorbell_for_active_rings() 449 if (!list_empty(&stream_info->stream_rings[stream_id]->td_list)) in ring_doorbell_for_active_rings() 595 if (list_empty(&ep_ring->td_list)) { in xhci_find_new_dequeue_state() 798 list_del_init(&td->td_list); in xhci_td_cleanup() 894 list_del_init(&td->td_list); in xhci_invalidate_cancelled_tds() 1023 list_for_each_entry_safe(cur_td, tmp, &ring->td_list, td_list) { in xhci_kill_ring_urbs() 1024 list_del_init(&cur_td->td_list); in xhci_kill_ring_urbs() 2500 list_for_each(tmp, &ep_ring->td_list) in handle_tx_event() 2589 if (!list_empty(&ep_ring->td_list)) in handle_tx_event() [all...] |
H A D | ohci-hcd.c | 383 if (list_empty (&ed->td_list)) { in ohci_endpoint_disable() 395 list_empty (&ed->td_list) ? "" : " (has tds)"); in ohci_endpoint_disable() 804 list_for_each_entry(td_next, &ed->td_list, td_list) { in io_watchdog_func() 814 td_next = list_prepare_entry(td, &ed->td_list, td_list); in io_watchdog_func() 815 list_for_each_entry_continue(td_next, &ed->td_list, td_list) { in io_watchdog_func()
|
H A D | ohci-dbg.c | 347 /* use ed->td_list because HC concurrently modifies in ohci_dump_ed() 350 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()
|
H A D | fotg210.h | 491 struct list_head td_list; member 506 struct list_head td_list; /* queued itds */ member
|
H A D | ohci-mem.c | 146 INIT_LIST_HEAD (&ed->td_list); in ed_alloc()
|
H A D | fhci-mem.c | 33 INIT_LIST_HEAD(&ed->td_list); in init_ed()
|
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | fhci-q.c | 58 void fhci_add_tds_to_ed(struct ed *ed, struct td **td_list, int number) in fhci_add_tds_to_ed() argument 63 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() [all...] |
H A D | ohci-q.c | 572 list_add_tail (&td->td_list, &td->ed->td_list); in td_fill() 762 list_del (&td->td_list); in td_done() 838 struct list_head *tmp = td->td_list.next; in ed_halted() 852 while (tmp != &ed->td_list) { in ed_halted() 855 next = list_entry (tmp, struct td, 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() [all...] |
H A D | uhci-q.c | 144 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() 340 ptd = list_entry(purbp->td_list.prev, struct uhci_td, in uhci_cleanup_queue() 342 td = list_entry(urbp->td_list.prev, struct uhci_td, in uhci_cleanup_queue() 359 WARN_ON(list_empty(&urbp->td_list)); in uhci_cleanup_queue() 360 td = list_entry(urbp->td_list.next, struct uhci_td, list); in uhci_cleanup_queue() 398 td = list_entry(urbp->td_list.next, struct uhci_td, list); in uhci_fixup_toggles() 400 td = list_entry(urbp->td_list.prev, struct uhci_td, in uhci_fixup_toggles() 406 list_for_each_entry(td, &urbp->td_list, lis in uhci_fixup_toggles() [all...] |
H A D | ehci-sched.c | 1008 INIT_LIST_HEAD(&stream->td_list); in iso_stream_alloc() 1172 INIT_LIST_HEAD(&iso_sched->td_list); in iso_sched_alloc() 1228 list_splice(&iso_sched->td_list, &stream->free_list); in iso_sched_free() 1289 list_add(&itd->itd_list, &sched->td_list); in itd_urb_transaction() 1482 bool empty = list_empty(&stream->td_list); in iso_stream_schedule() 1755 if (unlikely(list_empty(&stream->td_list))) in itd_link_urb() 1771 /* BUG_ON(list_empty(&iso_sched->td_list)); */ in itd_link_urb() 1775 itd = list_entry(iso_sched->td_list.next, in itd_link_urb() 1777 list_move_tail(&itd->itd_list, &stream->td_list); in itd_link_urb() 1874 * list_for_each_entry (itd, &stream->td_list, itd_lis in itd_complete() [all...] |
H A D | xhci-ring.c | 518 if (ep->ring && !(list_empty(&ep->ring->td_list))) in ring_doorbell_for_active_rings() 526 if (!list_empty(&stream_info->stream_rings[stream_id]->td_list)) in ring_doorbell_for_active_rings() 653 if (list_empty(&ep_ring->td_list)) { in xhci_move_dequeue_past_td() 854 /* TD might be removed from td_list if we are giving back a cancelled URB */ in xhci_td_cleanup() 855 if (!list_empty(&td->td_list)) in xhci_td_cleanup() 856 list_del_init(&td->td_list); in xhci_td_cleanup() 881 /* Complete the cancelled URBs we unlinked from td_list. */ 998 list_del_init(&td->td_list); in xhci_invalidate_cancelled_tds() 1069 if (!list_empty(&ep->ring->td_list)) { /* Not streams compatible */ in find_halted_td() 1072 td = list_first_entry(&ep->ring->td_list, struc in find_halted_td() [all...] |
H A D | ohci-hcd.c | 381 if (list_empty (&ed->td_list)) { in ohci_endpoint_disable() 393 list_empty (&ed->td_list) ? "" : " (has tds)"); in ohci_endpoint_disable() 802 list_for_each_entry(td_next, &ed->td_list, td_list) { in io_watchdog_func() 812 td_next = list_prepare_entry(td, &ed->td_list, td_list); in io_watchdog_func() 813 list_for_each_entry_continue(td_next, &ed->td_list, td_list) { in io_watchdog_func()
|
H A D | ohci-dbg.c | 347 /* use ed->td_list because HC concurrently modifies in ohci_dump_ed() 350 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()
|
H A D | fhci-mem.c | 33 INIT_LIST_HEAD(&ed->td_list); in init_ed()
|
H A D | ohci-mem.c | 146 INIT_LIST_HEAD (&ed->td_list); in ed_alloc()
|
/kernel/linux/linux-5.10/drivers/usb/c67x00/ |
H A D | c67x00-sched.c | 59 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() 801 if (!list_empty(&c67x00->td_list)) { in c67x00_fill_frame() 804 list_for_each_entry_safe(td, ttd, &c67x00->td_list, td_list) { in c67x00_fill_frame() 895 while (td->td_list in c67x00_clear_pipe() [all...] |
H A D | c67x00-hcd.h | 67 /* USB bandwidth allocated to td_list */ 71 struct list_head td_list; member
|
/kernel/linux/linux-6.6/drivers/usb/c67x00/ |
H A D | c67x00-sched.c | 59 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() 801 if (!list_empty(&c67x00->td_list)) { in c67x00_fill_frame() 804 list_for_each_entry_safe(td, ttd, &c67x00->td_list, td_list) { in c67x00_fill_frame() 895 while (td->td_list in c67x00_clear_pipe() [all...] |
H A D | c67x00-hcd.h | 67 /* USB bandwidth allocated to td_list */ 71 struct list_head td_list; member
|
/kernel/linux/linux-6.6/drivers/usb/cdns3/ |
H A D | cdnsp-ring.c | 359 if (pep->ring && !list_empty(&pep->ring->td_list)) in cdnsp_ring_doorbell_for_active_rings() 380 list_for_each_entry_safe(td, td_temp, &ep_ring->td_list, in cdnsp_ring_doorbell_for_active_rings() 381 td_list) { in cdnsp_ring_doorbell_for_active_rings() 731 list_del_init(&cur_td->td_list); in cdnsp_remove_request() 908 list_del_init(&td->td_list); in cdnsp_td_cleanup() 1023 td = list_entry(ep_ring->td_list.next, struct cdnsp_td, in cdnsp_process_ctrl_td() 1024 td_list); in cdnsp_process_ctrl_td() 1212 list_for_each_entry_safe(td, td_temp, &ep_ring->td_list, in cdnsp_handle_tx_nrdy() 1213 td_list) { in cdnsp_handle_tx_nrdy() 1306 if (list_empty(&ep_ring->td_list)) { in cdnsp_handle_tx_event() [all...] |
/kernel/linux/linux-6.6/drivers/usb/fotg210/ |
H A D | fotg210-hcd.h | 489 struct list_head td_list; member 504 struct list_head td_list; /* queued itds */ member
|