/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() 1417 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() 493 list_for_each_entry(qtd, &qh->qtd_list, qtd_list) { in output_buf_tds_dir() 1813 INIT_LIST_HEAD(&qtd->qtd_list); in fotg210_qtd_init() 1839 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-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() 82 INIT_LIST_HEAD (&qh->qtd_list); in ehci_qh_alloc()
|
D | fotg210.h | 345 struct list_head qtd_list; /* sw qtd list */ member 439 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.h | 318 struct list_head qtd_list; /* sw qtd list */ member 412 struct list_head qtd_list; /* sw qtd list */ member
|
D | ehci-sched.c | 711 if (!list_empty(&qh->qtd_list)) in end_unlink_intr() 715 if (!list_empty(&qh->qtd_list) && ehci->rh_state == EHCI_RH_RUNNING) { in end_unlink_intr() 906 struct list_head *qtd_list, in intr_submit() argument 942 qh = qh_append_tds(ehci, urb, qtd_list, epnum, &urb->ep->hcpriv); in intr_submit() 963 qtd_list_free(ehci, urb, qtd_list); in intr_submit() 976 if (!list_empty(&qh->qtd_list)) { in scan_intr() 989 else if (unlikely(list_empty(&qh->qtd_list) && in scan_intr()
|
/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() 986 INIT_LIST_HEAD(&qtd->qtd_list); in qtd_alloc() 1061 list_for_each_entry_safe(qtd, qtd_next, &qh->qtd_list, qtd_list) { in collect_qtds() 1111 list_del(&qtd->qtd_list); in collect_qtds() 1129 if (unlikely(list_empty(&qh->qtd_list))) { in enqueue_qtds() [all …]
|
/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() 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()
|
D | hcd.c | 1610 list_for_each_entry_safe(qtd, qtd_tmp, &qh->qtd_list, in dwc2_kill_urbs_in_qh_list() 1638 list_for_each_entry_safe(qtd, qtd_tmp, &qh->qtd_list, in dwc2_qh_list_free() 1984 } else if (list_empty(&qh->qtd_list)) { in dwc2_hcd_urb_dequeue() 2011 while (!list_empty(&qh->qtd_list) && retry--) { in dwc2_hcd_endpoint_disable() 2032 list_for_each_entry_safe(qtd, qtd_tmp, &qh->qtd_list, qtd_list_entry) in dwc2_hcd_endpoint_disable() 2586 if (list_empty(&qh->qtd_list)) { in dwc2_assign_and_init_hc() 2602 qtd = list_first_entry(&qh->qtd_list, struct dwc2_qtd, qtd_list_entry); in dwc2_assign_and_init_hc() 3955 list_for_each_entry(qtd, &chan->qh->qtd_list, qtd_list_entry) { in dwc2_hcd_dump_state() 4815 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
|