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

12

/drivers/usb/host/
H A Dfhci-q.c62 void fhci_add_tds_to_ed(struct ed *ed, struct td **td_list, int number) argument
67 struct td *td = td_list[i];
68 list_add_tail(&td->node, &ed->td_list);
71 ed->td_head = td_list[0];
78 if (!list_empty(&ed->td_list))
79 td = list_entry(ed->td_list.next, struct td, node);
115 if (!list_empty(&ed->td_list)) {
116 td = list_entry(ed->td_list.next, struct td, node);
117 list_del_init(ed->td_list.next);
120 if (!list_empty(&ed->td_list))
[all...]
H A Dohci-q.c569 list_add_tail (&td->td_list, &td->ed->td_list);
759 list_del (&td->td_list);
835 struct list_head *tmp = td->td_list.next;
849 while (tmp != &ed->td_list) {
852 next = list_entry (tmp, struct td, td_list);
853 tmp = next->td_list.next;
866 list_del(&next->td_list);
907 list_for_each_entry_continue_reverse(td2, &ed->td_list, td_list) {
[all...]
H A Duhci-q.c144 list_add_tail(&td->list, &urbp->td_list);
241 list_for_each_entry(td, &urbp->td_list, list)
340 WARN_ON(list_empty(&purbp->td_list));
341 ptd = list_entry(purbp->td_list.prev, struct uhci_td,
343 td = list_entry(urbp->td_list.prev, struct uhci_td,
360 WARN_ON(list_empty(&urbp->td_list));
361 td = list_entry(urbp->td_list.next, struct uhci_td, list);
399 td = list_entry(urbp->td_list.next, struct uhci_td, list);
401 td = list_entry(urbp->td_list.prev, struct uhci_td,
407 list_for_each_entry(td, &urbp->td_list, lis
[all...]
H A Dfhci-mem.c37 INIT_LIST_HEAD(&ed->td_list);
H A Dohci-mem.c128 INIT_LIST_HEAD (&ed->td_list);
H A Dohci-hcd.c378 if (list_empty (&ed->td_list)) {
390 list_empty (&ed->td_list) ? "" : " (has tds)");
779 list_for_each_entry(td_next, &ed->td_list, td_list) {
789 td_next = list_prepare_entry(td, &ed->td_list, td_list);
790 list_for_each_entry_continue(td_next, &ed->td_list, td_list) {
H A Dehci-sched.c1031 INIT_LIST_HEAD(&stream->td_list);
1202 INIT_LIST_HEAD (&iso_sched->td_list);
1258 list_splice (&iso_sched->td_list, &stream->free_list);
1319 list_add (&itd->itd_list, &sched->td_list);
1506 bool empty = list_empty(&stream->td_list);
1779 if (unlikely (list_empty(&stream->td_list)))
1795 // BUG_ON (list_empty (&iso_sched->td_list));
1799 itd = list_entry (iso_sched->td_list.next,
1801 list_move_tail (&itd->itd_list, &stream->td_list);
1898 list_for_each_entry (itd, &stream->td_list, itd_lis
[all...]
H A Dohci-dbg.c346 /* use ed->td_list because HC concurrently modifies
349 list_for_each (tmp, &ed->td_list) {
351 td = list_entry (tmp, struct td, td_list);
432 list_for_each (entry, &ed->td_list) {
435 td = list_entry (entry, struct td, td_list);
533 list_for_each (entry, &ed->td_list)
H A Dehci.h460 struct list_head td_list; member in struct:ehci_iso_sched
476 struct list_head td_list; /* queued itds/sitds */ member in struct:ehci_iso_stream
H A Dfhci.h336 struct list_head td_list; /* a list of all queued TD to this pipe */ member in struct:ed
527 void fhci_add_tds_to_ed(struct ed *ed, struct td **td_list, int number);
H A Dfotg210.h537 struct list_head td_list; member in struct:fotg210_iso_sched
552 struct list_head td_list; /* queued itds */ member in struct:fotg210_iso_stream
H A Dfusbh200.h527 struct list_head td_list; member in struct:fusbh200_iso_sched
542 struct list_head td_list; /* queued itds */ member in struct:fusbh200_iso_stream
H A Dxhci-ring.c352 if (ep->ring && !(list_empty(&ep->ring->td_list)))
360 if (!list_empty(&stream_info->stream_rings[stream_id]->td_list))
678 * removed from the td_list for that endpoint. In
704 list_del_init(&cur_td->td_list);
754 while (!list_empty(&ring->td_list)) {
755 cur_td = list_first_entry(&ring->td_list,
756 struct xhci_td, td_list);
757 list_del_init(&cur_td->td_list);
1866 list_del_init(&td->td_list);
2273 list_for_each(tmp, &ep_ring->td_list)
[all...]
H A Dimx21-hcd.h343 struct list_head td_list; member in struct:ep_priv
H A Dimx21-hcd.c579 if (list_empty(&ep_priv->td_list))
590 td = list_entry(ep_priv->td_list.next, struct td, list);
706 INIT_LIST_HEAD(&ep_priv->td_list);
817 if (list_empty(&ep_priv->td_list)) {
820 urb->start_frame = wrap_frame(list_entry(ep_priv->td_list.prev,
854 list_add_tail(&td->list, &ep_priv->td_list);
899 list_for_each_entry_safe(td, tmp, &ep_priv->td_list, list) {
H A Dohci.h49 struct list_head td_list; /* "shadow list" of our TDs */ member in struct:ed
138 struct list_head td_list; /* "shadow list", TDs on same ED */ member in struct:td
H A Duhci-debug.c138 list_for_each_entry(td, &urbp->td_list, list) {
221 struct uhci_td *td = list_entry(urbp->td_list.next,
H A Dfhci-sched.c67 if (ed->td_list.next->next != &ed->td_list) {
69 list_entry(ed->td_list.next->next, struct td,
H A Duhci-hcd.h482 struct list_head td_list; member in struct:urb_priv
H A Dfotg210-hcd.c4091 INIT_LIST_HEAD(&stream->td_list);
4207 INIT_LIST_HEAD(&iso_sched->td_list);
4263 list_splice(&iso_sched->td_list, &stream->free_list);
4323 list_add(&itd->itd_list, &sched->td_list);
4398 if (likely(!list_empty(&stream->td_list))) {
4585 if (unlikely(list_empty(&stream->td_list))) {
4603 itd = list_entry(iso_sched->td_list.next,
4605 list_move_tail(&itd->itd_list, &stream->td_list);
4705 list_for_each_entry (itd, &stream->td_list, itd_list)
4718 if (unlikely(list_is_singular(&stream->td_list))) {
[all...]
H A Dfusbh200-hcd.c4025 INIT_LIST_HEAD(&stream->td_list);
4142 INIT_LIST_HEAD (&iso_sched->td_list);
4198 list_splice (&iso_sched->td_list, &stream->free_list);
4258 list_add (&itd->itd_list, &sched->td_list);
4333 if (likely (!list_empty (&stream->td_list))) {
4522 if (unlikely (list_empty(&stream->td_list))) {
4537 // BUG_ON (list_empty (&iso_sched->td_list));
4541 itd = list_entry (iso_sched->td_list.next,
4543 list_move_tail (&itd->itd_list, &stream->td_list);
4640 list_for_each_entry (itd, &stream->td_list, itd_lis
[all...]
H A Dxhci.h1285 struct list_head td_list; member in struct:xhci_td
1327 struct list_head td_list; member in struct:xhci_ring
/drivers/usb/c67x00/
H A Dc67x00-sched.c73 struct list_head td_list; member in struct:c67x00_td
232 list_for_each_entry(td, &c67x00->td_list, td_list)
647 list_add_tail(&td->td_list, &c67x00->td_list);
653 list_del_init(&td->td_list);
814 if (!list_empty(&c67x00->td_list)) {
817 list_for_each_entry_safe(td, ttd, &c67x00->td_list, td_list) {
908 while (td->td_list
[all...]
H A Dc67x00-hcd.h81 /* USB bandwidth allocated to td_list */
85 struct list_head td_list; member in struct:c67x00_hcd
H A Dc67x00-hcd.c368 INIT_LIST_HEAD(&c67x00->td_list);

Completed in 245 milliseconds

12