/Linux-v5.10/drivers/usb/host/ |
D | ehci-q.c | 117 qtd = list_entry(qh->qtd_list.next, struct ehci_qtd, qtd_list); in qh_refresh() 149 if (qh->qh_state == QH_STATE_IDLE && !list_empty(&qh->qtd_list) in ehci_clear_tt_buffer_complete() 322 list_for_each_safe (entry, tmp, &qh->qtd_list) { in qh_completions() 327 qtd = list_entry (entry, struct ehci_qtd, qtd_list); in qh_completions() 443 qh->qtd_list.next == &qtd->qtd_list && in qh_completions() 495 if (stopped && qtd->qtd_list.prev != &qh->qtd_list) { in qh_completions() 496 last = list_entry (qtd->qtd_list.prev, in qh_completions() 497 struct ehci_qtd, qtd_list); in qh_completions() 502 list_del (&qtd->qtd_list); in qh_completions() 558 struct list_head *qtd_list in qtd_list_free() argument [all …]
|
D | oxu210hp-hcd.c | 257 struct list_head qtd_list; /* sw qtd list */ member 330 struct list_head qtd_list; /* sw qtd list */ member 982 INIT_LIST_HEAD(&qtd->qtd_list); in ehci_qtd_init() 1018 INIT_LIST_HEAD(&qtd->qtd_list); in ehci_qtd_alloc() 1048 if (!list_empty(&qh->qtd_list) || qh->qh_next.ptr) { in qh_destroy() 1075 INIT_LIST_HEAD(&qh->qtd_list); in oxu_qh_alloc() 1282 if (list_empty(&qh->qtd_list)) in qh_refresh() 1285 qtd = list_entry(qh->qtd_list.next, in qh_refresh() 1286 struct ehci_qtd, qtd_list); in qh_refresh() 1416 if (unlikely(list_empty(&qh->qtd_list))) in qh_completions() [all …]
|
D | fotg210-hcd.c | 395 list_for_each_entry(td, &qh->qtd_list, qtd_list) { in qh_lines() 496 list_for_each_entry(qtd, &qh->qtd_list, qtd_list) { in output_buf_tds_dir() 1815 INIT_LIST_HEAD(&qtd->qtd_list); in fotg210_qtd_init() 1841 if (!list_empty(&qh->qtd_list) || qh->qh_next.ptr) { in qh_destroy() 1864 INIT_LIST_HEAD(&qh->qtd_list); in fotg210_qh_alloc() 2070 if (list_empty(&qh->qtd_list)) in qh_refresh() 2073 qtd = list_entry(qh->qtd_list.next, in qh_refresh() 2074 struct fotg210_qtd, qtd_list); in qh_refresh() 2103 if (qh->qh_state == QH_STATE_IDLE && !list_empty(&qh->qtd_list) in fotg210_clear_tt_buffer_complete() 2253 if (unlikely(list_empty(&qh->qtd_list))) in qh_completions() [all …]
|
D | ehci-mem.c | 33 INIT_LIST_HEAD (&qtd->qtd_list); in ehci_qtd_init() 57 if (!list_empty (&qh->qtd_list) || qh->qh_next.ptr) { in qh_destroy() 82 INIT_LIST_HEAD (&qh->qtd_list); in ehci_qh_alloc()
|
D | ehci-hcd.c | 859 struct list_head qtd_list; in ehci_urb_enqueue() local 861 INIT_LIST_HEAD (&qtd_list); in ehci_urb_enqueue() 873 if (!qh_urb_transaction (ehci, urb, &qtd_list, mem_flags)) in ehci_urb_enqueue() 875 return submit_async(ehci, urb, &qtd_list, mem_flags); in ehci_urb_enqueue() 878 if (!qh_urb_transaction (ehci, urb, &qtd_list, mem_flags)) in ehci_urb_enqueue() 880 return intr_submit(ehci, urb, &qtd_list, mem_flags); in ehci_urb_enqueue() 978 if (list_empty(&qh->qtd_list)) in ehci_endpoint_disable() 997 if (list_empty (&qh->qtd_list)) { in ehci_endpoint_disable() 1010 list_empty (&qh->qtd_list) ? "" : "(has tds)"); in ehci_endpoint_disable() 1040 if (!list_empty(&qh->qtd_list)) { in ehci_endpoint_reset()
|
D | fotg210.h | 348 struct list_head qtd_list; /* sw qtd list */ member 442 struct list_head qtd_list; /* sw qtd list */ member
|
D | ehci.h | 315 struct list_head qtd_list; /* sw qtd list */ member 409 struct list_head qtd_list; /* sw qtd list */ member
|
D | ehci-dbg.c | 416 list_for_each(entry, &qh->qtd_list) { in qh_lines() 419 td = list_entry(entry, struct ehci_qtd, qtd_list); in qh_lines() 602 list_for_each_entry(qtd, &qh->qtd_list, qtd_list) { in output_buf_tds_dir()
|
D | ehci-sched.c | 705 if (!list_empty(&qh->qtd_list)) in end_unlink_intr() 709 if (!list_empty(&qh->qtd_list) && ehci->rh_state == EHCI_RH_RUNNING) { in end_unlink_intr() 900 struct list_head *qtd_list, in intr_submit() argument 936 qh = qh_append_tds(ehci, urb, qtd_list, epnum, &urb->ep->hcpriv); in intr_submit() 957 qtd_list_free(ehci, urb, qtd_list); in intr_submit() 970 if (!list_empty(&qh->qtd_list)) { in scan_intr() 983 else if (unlikely(list_empty(&qh->qtd_list) && in scan_intr()
|
/Linux-v5.10/drivers/usb/isp1760/ |
D | isp1760-hcd.c | 127 struct list_head qtd_list; member 149 struct list_head qtd_list; member 419 INIT_LIST_HEAD(&qh->qtd_list); in qh_alloc() 427 WARN_ON(!list_empty(&qh->qtd_list)); in qh_free() 517 if (list_is_last(&qtd->qtd_list, &qh->qtd_list)) in last_qtd_of_urb() 521 qtd = list_entry(qtd->qtd_list.next, typeof(*qtd), qtd_list); in last_qtd_of_urb() 702 INIT_LIST_HEAD(&qtd->qtd_list); in qtd_alloc() 773 list_for_each_entry_safe(qtd, qtd_next, &qh->qtd_list, qtd_list) { in collect_qtds() 823 list_del(&qtd->qtd_list); in collect_qtds() 839 if (unlikely(list_empty(&qh->qtd_list))) { in enqueue_qtds() [all …]
|
/Linux-v5.10/drivers/usb/dwc2/ |
D | hcd_ddma.c | 622 list_for_each_entry(qtd, &qh->qtd_list, qtd_list_entry) { in dwc2_init_isoc_dma_desc() 758 list_for_each_entry(qtd, &qh->qtd_list, qtd_list_entry) { in dwc2_init_non_isoc_dma_desc() 975 list_for_each_entry(qtd, &qh->qtd_list, qtd_list_entry) in dwc2_complete_isoc_xfer_ddma() 994 list_for_each_entry_safe(qtd, qtd_tmp, &qh->qtd_list, in dwc2_complete_isoc_xfer_ddma() 1012 list_for_each_entry_safe(qtd, qtd_tmp, &qh->qtd_list, qtd_list_entry) { in dwc2_complete_isoc_xfer_ddma() 1051 qtd_next = list_first_entry(&qh->qtd_list, in dwc2_complete_isoc_xfer_ddma() 1233 list_for_each_entry(qtd, &qh->qtd_list, qtd_list_entry) in dwc2_complete_non_isoc_xfer_ddma() 1238 list_for_each_safe(qtd_item, qtd_tmp, &qh->qtd_list) { in dwc2_complete_non_isoc_xfer_ddma() 1312 list_empty(&qh->qtd_list)) { in dwc2_hcd_complete_xfer_ddma() 1320 &qh->qtd_list, in dwc2_hcd_complete_xfer_ddma() [all …]
|
D | hcd_queue.c | 1536 INIT_LIST_HEAD(&qh->qtd_list); in dwc2_qh_init() 1989 if (!list_empty(&qh->qtd_list)) in dwc2_hcd_qh_deactivate() 2015 if (list_empty(&qh->qtd_list)) { in dwc2_hcd_qh_deactivate() 2094 list_add_tail(&qtd->qtd_list_entry, &qh->qtd_list); in dwc2_hcd_qtd_add()
|
D | hcd_intr.c | 668 if (list_empty(&qh->qtd_list)) { in dwc2_deactivate_qh() 673 qtd = list_first_entry(&qh->qtd_list, struct dwc2_qtd, qtd_list_entry); in dwc2_deactivate_qh() 2026 cur_head = list_first_entry(&qh->qtd_list, struct dwc2_qtd, in dwc2_check_qtd_still_ok() 2090 if (list_empty(&chan->qh->qtd_list)) { in dwc2_hc_n_intr() 2106 qtd = list_first_entry(&chan->qh->qtd_list, struct dwc2_qtd, in dwc2_hc_n_intr()
|
D | hcd.c | 1611 list_for_each_entry_safe(qtd, qtd_tmp, &qh->qtd_list, in dwc2_kill_urbs_in_qh_list() 1639 list_for_each_entry_safe(qtd, qtd_tmp, &qh->qtd_list, in dwc2_qh_list_free() 1985 } else if (list_empty(&qh->qtd_list)) { in dwc2_hcd_urb_dequeue() 2012 while (!list_empty(&qh->qtd_list) && retry--) { in dwc2_hcd_endpoint_disable() 2033 list_for_each_entry_safe(qtd, qtd_tmp, &qh->qtd_list, qtd_list_entry) in dwc2_hcd_endpoint_disable() 2587 if (list_empty(&qh->qtd_list)) { in dwc2_assign_and_init_hc() 2603 qtd = list_first_entry(&qh->qtd_list, struct dwc2_qtd, qtd_list_entry); in dwc2_assign_and_init_hc() 3903 list_for_each_entry(qtd, &chan->qh->qtd_list, qtd_list_entry) { in dwc2_hcd_dump_state() 4695 list_for_each_entry_safe(qtd2, qtd2_tmp, &qh->qtd_list, in _dwc2_hcd_urb_enqueue()
|
D | hcd.h | 364 struct list_head qtd_list; member
|