/linux/drivers/usb/host/ |
H A 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 in qh_completions() 555 qtd_list_free(struct ehci_hcd * ehci,struct urb * urb,struct list_head * qtd_list) qtd_list_free() argument 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 1171 struct list_head qtd_list; ehci_submit_single_step_set_feature() 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 | 887 struct list_head qtd_list; in ehci_urb_enqueue() local 889 INIT_LIST_HEAD (&qtd_list); in ehci_urb_enqueue() 901 if (!qh_urb_transaction (ehci, urb, &qtd_list, mem_flags)) in ehci_urb_enqueue() 903 return submit_async(ehci, urb, &qtd_list, mem_flags); in ehci_urb_enqueue() 906 if (!qh_urb_transaction (ehci, urb, &qtd_list, mem_flags)) in ehci_urb_enqueue() 908 return intr_submit(ehci, urb, &qtd_list, mem_flags); in ehci_urb_enqueue() 1006 if (list_empty(&qh->qtd_list)) in ehci_endpoint_disable() 1025 if (list_empty (&qh->qtd_list)) { in ehci_endpoint_disable() 1038 list_empty (&qh->qtd_list) ? "" : "(has tds)"); in ehci_endpoint_disable() 1068 if (!list_empty(&qh->qtd_list)) { in ehci_endpoint_reset() [all...] |
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()
|
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 419 struct list_head qtd_list; /* sw qtd list */ member
|
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() 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/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...] |
/linux/drivers/usb/fotg210/ |
H A 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() 2937 qh_append_tds(struct fotg210_hcd * fotg210,struct urb * urb,struct list_head * qtd_list,int epnum,void ** ptr) qh_append_tds() argument 3011 submit_async(struct fotg210_hcd * fotg210,struct urb * urb,struct list_head * qtd_list,gfp_t mem_flags) submit_async() argument 3815 intr_submit(struct fotg210_hcd * fotg210,struct urb * urb,struct list_head * qtd_list,gfp_t mem_flags) intr_submit() argument 5256 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
|
/linux/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() 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...] |
H A 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()
|
H A 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() 3924 list_for_each_entry(qtd, &chan->qh->qtd_list, qtd_list_entry) { in dwc2_hcd_dump_state() 4787 list_for_each_entry_safe(qtd2, qtd2_tmp, &qh->qtd_list, in _dwc2_hcd_urb_enqueue()
|
H A D | hcd.h | 284 * @qtd_list: List of QTDs for this QH 335 struct list_head qtd_list; member
|