/kernel/linux/linux-5.10/drivers/usb/host/ |
H A 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 in qh_completions() 1020 qh_append_tds( struct ehci_hcd *ehci, struct urb *urb, struct list_head *qtd_list, int epnum, void **ptr ) qh_append_tds() argument 1102 submit_async( struct ehci_hcd *ehci, struct urb *urb, struct list_head *qtd_list, gfp_t mem_flags ) submit_async() argument 1174 struct list_head qtd_list; submit_single_step_set_feature() local [all...] |
H A 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() 1961 qh_append_tds(struct oxu_hcd *oxu, struct urb *urb, struct list_head *qtd_list, int epnum, void **ptr) qh_append_tds() argument 2036 submit_async(struct oxu_hcd *oxu, struct urb *urb, struct list_head *qtd_list, gfp_t mem_flags) submit_async() argument 2610 intr_submit(struct oxu_hcd *oxu, struct urb *urb, struct list_head *qtd_list, gfp_t mem_flags) intr_submit() argument 3236 struct list_head qtd_list; __oxu_urb_enqueue() local [all...] |
H A D | fotg210-hcd.c | 395 list_for_each_entry(td, &qh->qtd_list, qtd_list) { in qh_lines() 493 list_for_each_entry(qtd, &qh->qtd_list, qtd_list) { in output_buf_tds_dir() 1812 INIT_LIST_HEAD(&qtd->qtd_list); in fotg210_qtd_init() 1838 if (!list_empty(&qh->qtd_list) || qh->qh_next.ptr) { in qh_destroy() 1861 INIT_LIST_HEAD(&qh->qtd_list); in fotg210_qh_alloc() 2067 if (list_empty(&qh->qtd_list)) in qh_refresh() 2070 qtd = list_entry(qh->qtd_list.next, in qh_refresh() 2071 struct fotg210_qtd, qtd_list); in qh_refresh() 2939 qh_append_tds(struct fotg210_hcd *fotg210, struct urb *urb, struct list_head *qtd_list, int epnum, void **ptr) qh_append_tds() argument 3013 submit_async(struct fotg210_hcd *fotg210, struct urb *urb, struct list_head *qtd_list, gfp_t mem_flags) submit_async() argument 3817 intr_submit(struct fotg210_hcd *fotg210, struct urb *urb, struct list_head *qtd_list, gfp_t mem_flags) intr_submit() argument 5262 struct list_head qtd_list; fotg210_urb_enqueue() local [all...] |
H A 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()
|
H A D | ehci-hcd.c | 890 struct list_head qtd_list; in ehci_urb_enqueue() local 892 INIT_LIST_HEAD (&qtd_list); in ehci_urb_enqueue() 904 if (!qh_urb_transaction (ehci, urb, &qtd_list, mem_flags)) in ehci_urb_enqueue() 906 return submit_async(ehci, urb, &qtd_list, mem_flags); in ehci_urb_enqueue() 909 if (!qh_urb_transaction (ehci, urb, &qtd_list, mem_flags)) in ehci_urb_enqueue() 911 return intr_submit(ehci, urb, &qtd_list, mem_flags); in ehci_urb_enqueue() 1009 if (list_empty(&qh->qtd_list)) in ehci_endpoint_disable() 1028 if (list_empty (&qh->qtd_list)) { in ehci_endpoint_disable() 1041 list_empty (&qh->qtd_list) ? "" : "(has tds)"); in ehci_endpoint_disable() 1071 if (!list_empty(&qh->qtd_list)) { in ehci_endpoint_reset() [all...] |
H A D | fotg210.h | 36 * fotg210_qh: qh_next, qtd_list 37 * fotg210_qtd: qtd_list 348 struct list_head qtd_list; /* sw qtd list */ member 442 struct list_head qtd_list; /* sw qtd list */ member
|
H A 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() 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() 897 intr_submit( struct ehci_hcd *ehci, struct urb *urb, struct list_head *qtd_list, gfp_t mem_flags ) intr_submit() argument
|
H A D | ehci.h | 69 * ehci_qh: qh_next, qtd_list 70 * ehci_qtd: qtd_list 316 struct list_head qtd_list; /* sw qtd list */ member 410 struct list_head qtd_list; /* sw qtd list */ member
|
H A 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()
|
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | ehci-q.c | 118 qtd = list_entry(qh->qtd_list.next, struct ehci_qtd, qtd_list); in qh_refresh() 150 if (qh->qh_state == QH_STATE_IDLE && !list_empty(&qh->qtd_list) in ehci_clear_tt_buffer_complete() 323 list_for_each_safe (entry, tmp, &qh->qtd_list) { in qh_completions() 328 qtd = list_entry (entry, struct ehci_qtd, qtd_list); in qh_completions() 444 qh->qtd_list.next == &qtd->qtd_list && in qh_completions() 496 if (stopped && qtd->qtd_list.prev != &qh->qtd_list) { in qh_completions() 497 last = list_entry (qtd->qtd_list in qh_completions() 1021 qh_append_tds( struct ehci_hcd *ehci, struct urb *urb, struct list_head *qtd_list, int epnum, void **ptr ) qh_append_tds() argument 1103 submit_async( struct ehci_hcd *ehci, struct urb *urb, struct list_head *qtd_list, gfp_t mem_flags ) submit_async() argument 1175 struct list_head qtd_list; ehci_submit_single_step_set_feature() local [all...] |
H A 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() 1417 if (unlikely(list_empty(&qh->qtd_list))) in qh_completions() 1962 qh_append_tds(struct oxu_hcd *oxu, struct urb *urb, struct list_head *qtd_list, int epnum, void **ptr) qh_append_tds() argument 2037 submit_async(struct oxu_hcd *oxu, struct urb *urb, struct list_head *qtd_list, gfp_t mem_flags) submit_async() argument 2611 intr_submit(struct oxu_hcd *oxu, struct urb *urb, struct list_head *qtd_list, gfp_t mem_flags) intr_submit() argument 3237 struct list_head qtd_list; __oxu_urb_enqueue() local [all...] |
H A 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()
|
H A 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() [all...] |
H A 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() 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() 904 intr_submit( struct ehci_hcd *ehci, struct urb *urb, struct list_head *qtd_list, gfp_t mem_flags ) intr_submit() argument
|
H A D | ehci.h | 69 * ehci_qh: qh_next, qtd_list 70 * ehci_qtd: qtd_list 319 struct list_head qtd_list; /* sw qtd list */ member 413 struct list_head qtd_list; /* sw qtd list */ member
|
H A 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()
|
/kernel/linux/linux-5.10/drivers/usb/isp1760/ |
H A 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_lis in collect_qtds() 1373 qtd_list_free(struct list_head *qtd_list) qtd_list_free() argument [all...] |
/kernel/linux/linux-6.6/drivers/usb/isp1760/ |
H A 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_lis in collect_qtds() 1756 qtd_list_free(struct list_head *qtd_list) qtd_list_free() argument [all...] |
/kernel/linux/linux-6.6/drivers/usb/fotg210/ |
H A D | fotg210-hcd.c | 394 list_for_each_entry(td, &qh->qtd_list, qtd_list) { in qh_lines() 492 list_for_each_entry(qtd, &qh->qtd_list, qtd_list) { in output_buf_tds_dir() 1812 INIT_LIST_HEAD(&qtd->qtd_list); in fotg210_qtd_init() 1838 if (!list_empty(&qh->qtd_list) || qh->qh_next.ptr) { in qh_destroy() 1862 INIT_LIST_HEAD(&qh->qtd_list); in fotg210_qh_alloc() 2068 if (list_empty(&qh->qtd_list)) in qh_refresh() 2071 qtd = list_entry(qh->qtd_list.next, in qh_refresh() 2072 struct fotg210_qtd, qtd_list); in qh_refresh() 2940 qh_append_tds(struct fotg210_hcd *fotg210, struct urb *urb, struct list_head *qtd_list, int epnum, void **ptr) qh_append_tds() argument 3014 submit_async(struct fotg210_hcd *fotg210, struct urb *urb, struct list_head *qtd_list, gfp_t mem_flags) submit_async() argument 3818 intr_submit(struct fotg210_hcd *fotg210, struct urb *urb, struct list_head *qtd_list, gfp_t mem_flags) intr_submit() argument 5261 struct list_head qtd_list; fotg210_urb_enqueue() local [all...] |
H A D | fotg210-hcd.h | 36 * fotg210_qh: qh_next, qtd_list 37 * fotg210_qtd: qtd_list 346 struct list_head qtd_list; /* sw qtd list */ member 440 struct list_head qtd_list; /* sw qtd list */ member
|
/kernel/linux/linux-5.10/drivers/usb/dwc2/ |
H A 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...] |
H A 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()
|
H A 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() 2038 cur_head = list_first_entry(&qh->qtd_list, struct dwc2_qtd, in dwc2_check_qtd_still_ok() 2101 if (list_empty(&chan->qh->qtd_list)) { in dwc2_hc_n_intr() 2117 qtd = list_first_entry(&chan->qh->qtd_list, struct dwc2_qtd, in dwc2_hc_n_intr()
|
/kernel/linux/linux-6.6/drivers/usb/dwc2/ |
H A 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() 945 list_for_each_entry(qtd, &qh->qtd_list, qtd_list_entry) in dwc2_complete_isoc_xfer_ddma() 964 list_for_each_entry_safe(qtd, qtd_tmp, &qh->qtd_list, in dwc2_complete_isoc_xfer_ddma() 982 list_for_each_entry_safe(qtd, qtd_tmp, &qh->qtd_list, qtd_list_entry) { in dwc2_complete_isoc_xfer_ddma() 1021 qtd_next = list_first_entry(&qh->qtd_list, in dwc2_complete_isoc_xfer_ddma() 1203 list_for_each_entry(qtd, &qh->qtd_list, qtd_list_entry) in dwc2_complete_non_isoc_xfer_ddma() 1208 list_for_each_safe(qtd_item, qtd_tmp, &qh->qtd_list) { in dwc2_complete_non_isoc_xfer_ddma() 1282 list_empty(&qh->qtd_list)) { in dwc2_hcd_complete_xfer_ddma() 1290 &qh->qtd_list, in dwc2_hcd_complete_xfer_ddma() [all...] |
H A D | hcd_queue.c | 1506 INIT_LIST_HEAD(&qh->qtd_list); in dwc2_qh_init() 1959 if (!list_empty(&qh->qtd_list)) in dwc2_hcd_qh_deactivate() 1985 if (list_empty(&qh->qtd_list)) { in dwc2_hcd_qh_deactivate() 2064 list_add_tail(&qtd->qtd_list_entry, &qh->qtd_list); in dwc2_hcd_qtd_add()
|