/linux-4.4.14/drivers/usb/host/ |
D | ehci-q.c | 126 qtd = list_entry(qh->qtd_list.next, struct ehci_qtd, qtd_list); in qh_refresh() 154 if (qh->qh_state == QH_STATE_IDLE && !list_empty(&qh->qtd_list) in ehci_clear_tt_buffer_complete() 320 list_for_each_safe (entry, tmp, &qh->qtd_list) { in qh_completions() 325 qtd = list_entry (entry, struct ehci_qtd, qtd_list); in qh_completions() 437 qh->qtd_list.next == &qtd->qtd_list && in qh_completions() 488 if (stopped && qtd->qtd_list.prev != &qh->qtd_list) { in qh_completions() 489 last = list_entry (qtd->qtd_list.prev, in qh_completions() 490 struct ehci_qtd, qtd_list); in qh_completions() 495 list_del (&qtd->qtd_list); in qh_completions() 556 struct list_head *qtd_list in qtd_list_free() argument [all …]
|
D | oxu210hp-hcd.c | 558 INIT_LIST_HEAD(&qtd->qtd_list); in ehci_qtd_init() 594 INIT_LIST_HEAD(&qtd->qtd_list); in ehci_qtd_alloc() 624 if (!list_empty(&qh->qtd_list) || qh->qh_next.ptr) { in qh_destroy() 651 INIT_LIST_HEAD(&qh->qtd_list); in oxu_qh_alloc() 858 if (list_empty(&qh->qtd_list)) in qh_refresh() 861 qtd = list_entry(qh->qtd_list.next, in qh_refresh() 862 struct ehci_qtd, qtd_list); in qh_refresh() 992 if (unlikely(list_empty(&qh->qtd_list))) in qh_completions() 1010 list_for_each_safe(entry, tmp, &qh->qtd_list) { in qh_completions() 1015 qtd = list_entry(entry, struct ehci_qtd, qtd_list); in qh_completions() [all …]
|
D | fotg210-hcd.c | 405 list_for_each_entry(td, &qh->qtd_list, qtd_list) { in qh_lines() 506 list_for_each_entry(qtd, &qh->qtd_list, qtd_list) { in output_buf_tds_dir() 1837 INIT_LIST_HEAD(&qtd->qtd_list); in fotg210_qtd_init() 1863 if (!list_empty(&qh->qtd_list) || qh->qh_next.ptr) { in qh_destroy() 1888 INIT_LIST_HEAD(&qh->qtd_list); in fotg210_qh_alloc() 2094 if (list_empty(&qh->qtd_list)) in qh_refresh() 2097 qtd = list_entry(qh->qtd_list.next, in qh_refresh() 2098 struct fotg210_qtd, qtd_list); in qh_refresh() 2127 if (qh->qh_state == QH_STATE_IDLE && !list_empty(&qh->qtd_list) in fotg210_clear_tt_buffer_complete() 2277 if (unlikely(list_empty(&qh->qtd_list))) in qh_completions() [all …]
|
D | ehci-hcd.c | 857 struct list_head qtd_list; in ehci_urb_enqueue() local 859 INIT_LIST_HEAD (&qtd_list); in ehci_urb_enqueue() 871 if (!qh_urb_transaction (ehci, urb, &qtd_list, mem_flags)) in ehci_urb_enqueue() 873 return submit_async(ehci, urb, &qtd_list, mem_flags); in ehci_urb_enqueue() 876 if (!qh_urb_transaction (ehci, urb, &qtd_list, mem_flags)) in ehci_urb_enqueue() 878 return intr_submit(ehci, urb, &qtd_list, mem_flags); in ehci_urb_enqueue() 976 WARN_ON(!list_empty(&qh->qtd_list)); in ehci_endpoint_disable() 992 if (list_empty (&qh->qtd_list)) { in ehci_endpoint_disable() 1005 list_empty (&qh->qtd_list) ? "" : "(has tds)"); in ehci_endpoint_disable() 1035 if (!list_empty(&qh->qtd_list)) { in ehci_endpoint_reset()
|
D | ehci-mem.c | 46 INIT_LIST_HEAD (&qtd->qtd_list); in ehci_qtd_init() 70 if (!list_empty (&qh->qtd_list) || qh->qh_next.ptr) { in qh_destroy() 95 INIT_LIST_HEAD (&qh->qtd_list); in ehci_qh_alloc()
|
D | oxu210hp.h | 226 struct list_head qtd_list; /* sw qtd list */ member 299 struct list_head qtd_list; /* sw qtd list */ member
|
D | fotg210.h | 344 struct list_head qtd_list; /* sw qtd list */ member 438 struct list_head qtd_list; /* sw qtd list */ member
|
D | ehci.h | 324 struct list_head qtd_list; /* sw qtd list */ member 417 struct list_head qtd_list; /* sw qtd list */ member
|
D | ehci-dbg.c | 452 list_for_each (entry, &qh->qtd_list) { in qh_lines() 453 td = list_entry (entry, struct ehci_qtd, qtd_list); in qh_lines() 696 &p.qh->qtd_list, in fill_periodic_buffer() 697 qtd_list) { in fill_periodic_buffer()
|
D | ehci-sched.c | 736 if (!list_empty(&qh->qtd_list)) in end_unlink_intr() 740 if (!list_empty(&qh->qtd_list) && ehci->rh_state == EHCI_RH_RUNNING) { in end_unlink_intr() 931 struct list_head *qtd_list, in intr_submit() argument 966 qh = qh_append_tds(ehci, urb, qtd_list, epnum, &urb->ep->hcpriv); in intr_submit() 987 qtd_list_free (ehci, urb, qtd_list); in intr_submit() 1000 if (!list_empty(&qh->qtd_list)) { in scan_intr() 1013 else if (unlikely(list_empty(&qh->qtd_list) && in scan_intr()
|
/linux-4.4.14/drivers/usb/isp1760/ |
D | isp1760-hcd.c | 125 struct list_head qtd_list; member 147 struct list_head qtd_list; member 422 INIT_LIST_HEAD(&qh->qtd_list); in qh_alloc() 430 WARN_ON(!list_empty(&qh->qtd_list)); in qh_free() 520 if (list_is_last(&qtd->qtd_list, &qh->qtd_list)) in last_qtd_of_urb() 524 qtd = list_entry(qtd->qtd_list.next, typeof(*qtd), qtd_list); in last_qtd_of_urb() 705 INIT_LIST_HEAD(&qtd->qtd_list); in qtd_alloc() 776 list_for_each_entry_safe(qtd, qtd_next, &qh->qtd_list, qtd_list) { in collect_qtds() 826 list_del(&qtd->qtd_list); in collect_qtds() 842 if (unlikely(list_empty(&qh->qtd_list))) { in enqueue_qtds() [all …]
|
/linux-4.4.14/drivers/usb/dwc2/ |
D | hcd_ddma.c | 558 list_for_each_entry(qtd, &qh->qtd_list, qtd_list_entry) { in dwc2_init_isoc_dma_desc() 679 list_for_each_entry(qtd, &qh->qtd_list, qtd_list_entry) { in dwc2_init_non_isoc_dma_desc() 874 list_for_each_entry(qtd, &qh->qtd_list, qtd_list_entry) in dwc2_complete_isoc_xfer_ddma() 893 list_for_each_entry_safe(qtd, qtd_tmp, &qh->qtd_list, in dwc2_complete_isoc_xfer_ddma() 911 list_for_each_entry_safe(qtd, qtd_tmp, &qh->qtd_list, qtd_list_entry) { in dwc2_complete_isoc_xfer_ddma() 1092 list_for_each_entry(qtd, &qh->qtd_list, qtd_list_entry) in dwc2_complete_non_isoc_xfer_ddma() 1097 list_for_each_safe(qtd_item, qtd_tmp, &qh->qtd_list) { in dwc2_complete_non_isoc_xfer_ddma() 1167 list_empty(&qh->qtd_list)) { in dwc2_hcd_complete_xfer_ddma() 1193 if (!list_empty(&qh->qtd_list)) { in dwc2_hcd_complete_xfer_ddma()
|
D | hcd_queue.c | 79 INIT_LIST_HEAD(&qh->qtd_list); in dwc2_qh_init() 710 if (!list_empty(&qh->qtd_list)) in dwc2_hcd_qh_deactivate() 728 if (list_empty(&qh->qtd_list)) { in dwc2_hcd_qh_deactivate() 804 list_add_tail(&qtd->qtd_list_entry, &qh->qtd_list); in dwc2_hcd_qtd_add()
|
D | hcd.h | 282 struct list_head qtd_list; member 732 _qtd_ = list_entry((_qh_)->qtd_list.next, struct dwc2_qtd, \
|
D | hcd.c | 135 list_for_each_entry_safe(qtd, qtd_tmp, &qh->qtd_list, in dwc2_kill_urbs_in_qh_list() 163 list_for_each_entry_safe(qtd, qtd_tmp, &qh->qtd_list, in dwc2_qh_list_free() 469 } else if (list_empty(&qh->qtd_list)) { in dwc2_hcd_urb_dequeue() 496 while (!list_empty(&qh->qtd_list) && retry--) { in dwc2_hcd_endpoint_disable() 517 list_for_each_entry_safe(qtd, qtd_tmp, &qh->qtd_list, qtd_list_entry) in dwc2_hcd_endpoint_disable() 776 if (list_empty(&qh->qtd_list)) { in dwc2_assign_and_init_hc() 792 qtd = list_first_entry(&qh->qtd_list, struct dwc2_qtd, qtd_list_entry); in dwc2_assign_and_init_hc() 1999 list_for_each_entry(qtd, &chan->qh->qtd_list, qtd_list_entry) { in dwc2_hcd_dump_state() 2737 list_for_each_entry_safe(qtd2, qtd2_tmp, &qh->qtd_list, in _dwc2_hcd_urb_enqueue()
|
D | hcd_intr.c | 657 if (list_empty(&qh->qtd_list)) { in dwc2_deactivate_qh() 662 qtd = list_first_entry(&qh->qtd_list, struct dwc2_qtd, qtd_list_entry); in dwc2_deactivate_qh() 1965 cur_head = list_first_entry(&qh->qtd_list, struct dwc2_qtd, in dwc2_check_qtd_still_ok() 2019 if (list_empty(&chan->qh->qtd_list)) { in dwc2_hc_n_intr() 2035 qtd = list_first_entry(&chan->qh->qtd_list, struct dwc2_qtd, in dwc2_hc_n_intr()
|