Lines Matching refs:qtd_list
395 list_for_each_entry(td, &qh->qtd_list, qtd_list) { in qh_lines()
496 list_for_each_entry(qtd, &qh->qtd_list, qtd_list) { in output_buf_tds_dir()
1815 INIT_LIST_HEAD(&qtd->qtd_list); in fotg210_qtd_init()
1841 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()
2280 list_for_each_entry_safe(qtd, tmp, &qh->qtd_list, qtd_list) { in qh_completions()
2441 if (stopped && qtd->qtd_list.prev != &qh->qtd_list) { in qh_completions()
2442 last = list_entry(qtd->qtd_list.prev, in qh_completions()
2443 struct fotg210_qtd, qtd_list); in qh_completions()
2448 list_del(&qtd->qtd_list); in qh_completions()
2525 list_for_each_entry_safe(qtd, temp, head, qtd_list) { in qtd_list_free()
2526 list_del(&qtd->qtd_list); in qtd_list_free()
2550 list_add_tail(&qtd->qtd_list, head); in qh_urb_transaction()
2573 list_add_tail(&qtd->qtd_list, head); in qh_urb_transaction()
2644 list_add_tail(&qtd->qtd_list, head); in qh_urb_transaction()
2680 list_add_tail(&qtd->qtd_list, head); in qh_urb_transaction()
2946 struct urb *urb, struct list_head *qtd_list, in qh_append_tds() argument
2961 if (unlikely(list_empty(qtd_list))) in qh_append_tds()
2964 qtd = list_entry(qtd_list->next, struct fotg210_qtd, in qh_append_tds()
2965 qtd_list); in qh_append_tds()
2996 list_del(&qtd->qtd_list); in qh_append_tds()
2997 list_add(&dummy->qtd_list, qtd_list); in qh_append_tds()
2998 list_splice_tail(qtd_list, &qh->qtd_list); in qh_append_tds()
3005 qtd = list_entry(qh->qtd_list.prev, in qh_append_tds()
3006 struct fotg210_qtd, qtd_list); in qh_append_tds()
3020 struct list_head *qtd_list, gfp_t mem_flags) in submit_async() argument
3033 qtd = list_entry(qtd_list->next, struct fotg210_qtd, qtd_list); in submit_async()
3053 qh = qh_append_tds(fotg210, urb, qtd_list, epnum, &urb->ep->hcpriv); in submit_async()
3068 qtd_list_free(fotg210, urb, qtd_list); in submit_async()
3145 if (!list_empty(&qh->qtd_list) && in end_unlink_async()
3172 if (list_empty(&qh->qtd_list) && in unlink_empty_async()
3226 if (!list_empty(&qh->qtd_list)) { in scan_async()
3239 } else if (list_empty(&qh->qtd_list) in scan_async()
3652 if (!list_empty(&qh->qtd_list) && in end_unlink_intr()
3824 struct list_head *qtd_list, gfp_t mem_flags) in intr_submit() argument
3859 qh = qh_append_tds(fotg210, urb, qtd_list, epnum, &urb->ep->hcpriv); in intr_submit()
3871 qtd_list_free(fotg210, urb, qtd_list); in intr_submit()
3884 if (!list_empty(&qh->qtd_list)) { in scan_intr()
3896 (list_empty(&qh->qtd_list) && in scan_intr()
5268 struct list_head qtd_list; in fotg210_urb_enqueue() local
5270 INIT_LIST_HEAD(&qtd_list); in fotg210_urb_enqueue()
5282 if (!qh_urb_transaction(fotg210, urb, &qtd_list, mem_flags)) in fotg210_urb_enqueue()
5284 return submit_async(fotg210, urb, &qtd_list, mem_flags); in fotg210_urb_enqueue()
5287 if (!qh_urb_transaction(fotg210, urb, &qtd_list, mem_flags)) in fotg210_urb_enqueue()
5289 return intr_submit(fotg210, urb, &qtd_list, mem_flags); in fotg210_urb_enqueue()
5422 if (list_empty(&qh->qtd_list)) { in fotg210_endpoint_disable()
5433 list_empty(&qh->qtd_list) ? "" : "(has tds)"); in fotg210_endpoint_disable()
5464 if (!list_empty(&qh->qtd_list)) { in fotg210_endpoint_reset()