/linux-6.12.1/drivers/usb/host/ |
D | ehci-q.c | 114 qtd = list_entry(qh->qtd_list.next, struct ehci_qtd, qtd_list); in qh_refresh() 146 if (qh->qh_state == QH_STATE_IDLE && !list_empty(&qh->qtd_list) in ehci_clear_tt_buffer_complete() 319 list_for_each_safe (entry, tmp, &qh->qtd_list) { in qh_completions() 324 qtd = list_entry (entry, struct ehci_qtd, qtd_list); in qh_completions() 440 qh->qtd_list.next == &qtd->qtd_list && in qh_completions() 492 if (stopped && qtd->qtd_list.prev != &qh->qtd_list) { in qh_completions() 493 last = list_entry (qtd->qtd_list.prev, in qh_completions() 494 struct ehci_qtd, qtd_list); in qh_completions() 499 list_del (&qtd->qtd_list); in qh_completions() 555 struct list_head *qtd_list in qtd_list_free() argument [all …]
|
D | oxu210hp-hcd.c | 232 struct list_head qtd_list; /* sw qtd list */ member 305 struct list_head qtd_list; /* sw qtd list */ member 957 INIT_LIST_HEAD(&qtd->qtd_list); in ehci_qtd_init() 993 INIT_LIST_HEAD(&qtd->qtd_list); in ehci_qtd_alloc() 1023 if (!list_empty(&qh->qtd_list) || qh->qh_next.ptr) { in qh_destroy() 1050 INIT_LIST_HEAD(&qh->qtd_list); in oxu_qh_alloc() 1257 if (list_empty(&qh->qtd_list)) in qh_refresh() 1260 qtd = list_entry(qh->qtd_list.next, in qh_refresh() 1261 struct ehci_qtd, qtd_list); in qh_refresh() 1392 if (unlikely(list_empty(&qh->qtd_list))) in qh_completions() [all …]
|
D | ehci-hcd.c | 888 struct list_head qtd_list; in ehci_urb_enqueue() local 890 INIT_LIST_HEAD (&qtd_list); in ehci_urb_enqueue() 902 if (!qh_urb_transaction (ehci, urb, &qtd_list, mem_flags)) in ehci_urb_enqueue() 904 return submit_async(ehci, urb, &qtd_list, mem_flags); in ehci_urb_enqueue() 907 if (!qh_urb_transaction (ehci, urb, &qtd_list, mem_flags)) in ehci_urb_enqueue() 909 return intr_submit(ehci, urb, &qtd_list, mem_flags); in ehci_urb_enqueue() 1007 if (list_empty(&qh->qtd_list)) in ehci_endpoint_disable() 1026 if (list_empty (&qh->qtd_list)) { in ehci_endpoint_disable() 1039 list_empty (&qh->qtd_list) ? "" : "(has tds)"); in ehci_endpoint_disable() 1069 if (!list_empty(&qh->qtd_list)) { in ehci_endpoint_reset()
|
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() 81 INIT_LIST_HEAD (&qh->qtd_list); in ehci_qh_alloc()
|
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.h | 319 struct list_head qtd_list; /* sw qtd list */ member 419 struct list_head qtd_list; /* sw qtd list */ member
|
D | ehci-sched.c | 712 if (!list_empty(&qh->qtd_list)) in end_unlink_intr() 716 if (!list_empty(&qh->qtd_list) && ehci->rh_state == EHCI_RH_RUNNING) { in end_unlink_intr() 907 struct list_head *qtd_list, in intr_submit() argument 943 qh = qh_append_tds(ehci, urb, qtd_list, epnum, &urb->ep->hcpriv); in intr_submit() 964 qtd_list_free(ehci, urb, qtd_list); in intr_submit() 977 if (!list_empty(&qh->qtd_list)) { in scan_intr() 990 else if (unlikely(list_empty(&qh->qtd_list) && in scan_intr()
|
/linux-6.12.1/drivers/usb/isp1760/ |
D | isp1760-hcd.c | 151 struct list_head qtd_list; member 173 struct list_head qtd_list; member 668 INIT_LIST_HEAD(&qh->qtd_list); in qh_alloc() 676 WARN_ON(!list_empty(&qh->qtd_list)); in qh_free() 801 if (list_is_last(&qtd->qtd_list, &qh->qtd_list)) in last_qtd_of_urb() 805 qtd = list_entry(qtd->qtd_list.next, typeof(*qtd), qtd_list); in last_qtd_of_urb() 985 INIT_LIST_HEAD(&qtd->qtd_list); in qtd_alloc() 1060 list_for_each_entry_safe(qtd, qtd_next, &qh->qtd_list, qtd_list) { in collect_qtds() 1110 list_del(&qtd->qtd_list); in collect_qtds() 1128 if (unlikely(list_empty(&qh->qtd_list))) { in enqueue_qtds() [all …]
|
/linux-6.12.1/drivers/usb/fotg210/ |
D | fotg210-hcd.c | 394 list_for_each_entry(td, &qh->qtd_list, qtd_list) { in qh_lines() 488 list_for_each_entry(qtd, &qh->qtd_list, qtd_list) { in output_buf_tds_dir() 1808 INIT_LIST_HEAD(&qtd->qtd_list); in fotg210_qtd_init() 1834 if (!list_empty(&qh->qtd_list) || qh->qh_next.ptr) { in qh_destroy() 1858 INIT_LIST_HEAD(&qh->qtd_list); in fotg210_qh_alloc() 2064 if (list_empty(&qh->qtd_list)) in qh_refresh() 2067 qtd = list_entry(qh->qtd_list.next, in qh_refresh() 2068 struct fotg210_qtd, qtd_list); in qh_refresh() 2097 if (qh->qh_state == QH_STATE_IDLE && !list_empty(&qh->qtd_list) in fotg210_clear_tt_buffer_complete() 2247 if (unlikely(list_empty(&qh->qtd_list))) in qh_completions() [all …]
|
D | fotg210-hcd.h | 346 struct list_head qtd_list; /* sw qtd list */ member 440 struct list_head qtd_list; /* sw qtd list */ member
|
/linux-6.12.1/drivers/usb/dwc2/ |
D | hcd_ddma.c | 592 list_for_each_entry(qtd, &qh->qtd_list, qtd_list_entry) { in dwc2_init_isoc_dma_desc() 728 list_for_each_entry(qtd, &qh->qtd_list, qtd_list_entry) { in dwc2_init_non_isoc_dma_desc() 952 list_for_each_entry(qtd, &qh->qtd_list, qtd_list_entry) in dwc2_complete_isoc_xfer_ddma() 971 list_for_each_entry_safe(qtd, qtd_tmp, &qh->qtd_list, in dwc2_complete_isoc_xfer_ddma() 989 list_for_each_entry_safe(qtd, qtd_tmp, &qh->qtd_list, qtd_list_entry) { in dwc2_complete_isoc_xfer_ddma() 1028 qtd_next = list_first_entry(&qh->qtd_list, in dwc2_complete_isoc_xfer_ddma() 1210 list_for_each_entry(qtd, &qh->qtd_list, qtd_list_entry) in dwc2_complete_non_isoc_xfer_ddma() 1215 list_for_each_safe(qtd_item, qtd_tmp, &qh->qtd_list) { in dwc2_complete_non_isoc_xfer_ddma() 1289 list_empty(&qh->qtd_list)) { in dwc2_hcd_complete_xfer_ddma() 1297 &qh->qtd_list, in dwc2_hcd_complete_xfer_ddma() [all …]
|
D | hcd_queue.c | 1470 INIT_LIST_HEAD(&qh->qtd_list); in dwc2_qh_init() 1923 if (!list_empty(&qh->qtd_list)) in dwc2_hcd_qh_deactivate() 1949 if (list_empty(&qh->qtd_list)) { in dwc2_hcd_qh_deactivate() 2028 list_add_tail(&qtd->qtd_list_entry, &qh->qtd_list); in dwc2_hcd_qtd_add()
|
D | hcd_intr.c | 638 if (list_empty(&qh->qtd_list)) { in dwc2_deactivate_qh() 643 qtd = list_first_entry(&qh->qtd_list, struct dwc2_qtd, qtd_list_entry); in dwc2_deactivate_qh() 2008 cur_head = list_first_entry(&qh->qtd_list, struct dwc2_qtd, in dwc2_check_qtd_still_ok() 2071 if (list_empty(&chan->qh->qtd_list)) { in dwc2_hc_n_intr() 2087 qtd = list_first_entry(&chan->qh->qtd_list, struct dwc2_qtd, in dwc2_hc_n_intr()
|
D | hcd.c | 1577 list_for_each_entry_safe(qtd, qtd_tmp, &qh->qtd_list, in dwc2_kill_urbs_in_qh_list() 1605 list_for_each_entry_safe(qtd, qtd_tmp, &qh->qtd_list, in dwc2_qh_list_free() 1951 } else if (list_empty(&qh->qtd_list)) { in dwc2_hcd_urb_dequeue() 1978 while (!list_empty(&qh->qtd_list) && retry--) { in dwc2_hcd_endpoint_disable() 1999 list_for_each_entry_safe(qtd, qtd_tmp, &qh->qtd_list, qtd_list_entry) in dwc2_hcd_endpoint_disable() 2553 if (list_empty(&qh->qtd_list)) { in dwc2_assign_and_init_hc() 2569 qtd = list_first_entry(&qh->qtd_list, struct dwc2_qtd, qtd_list_entry); in dwc2_assign_and_init_hc() 3928 list_for_each_entry(qtd, &chan->qh->qtd_list, qtd_list_entry) { in dwc2_hcd_dump_state() 4790 list_for_each_entry_safe(qtd2, qtd2_tmp, &qh->qtd_list, in _dwc2_hcd_urb_enqueue()
|
D | hcd.h | 335 struct list_head qtd_list; member
|