Lines Matching refs:qtd_list
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
562 list_for_each_safe (entry, temp, qtd_list) { in qtd_list_free()
565 qtd = list_entry (entry, struct ehci_qtd, qtd_list); in qtd_list_free()
566 list_del (&qtd->qtd_list); in qtd_list_free()
595 list_add_tail (&qtd->qtd_list, head); in qh_urb_transaction()
618 list_add_tail (&qtd->qtd_list, head); in qh_urb_transaction()
689 list_add_tail (&qtd->qtd_list, head); in qh_urb_transaction()
725 list_add_tail (&qtd->qtd_list, head); in qh_urb_transaction()
1023 struct list_head *qtd_list, in qh_append_tds() argument
1040 if (unlikely (list_empty (qtd_list))) in qh_append_tds()
1043 qtd = list_entry (qtd_list->next, struct ehci_qtd, in qh_append_tds()
1044 qtd_list); in qh_append_tds()
1076 list_del (&qtd->qtd_list); in qh_append_tds()
1077 list_add (&dummy->qtd_list, qtd_list); in qh_append_tds()
1078 list_splice_tail(qtd_list, &qh->qtd_list); in qh_append_tds()
1085 qtd = list_entry (qh->qtd_list.prev, in qh_append_tds()
1086 struct ehci_qtd, qtd_list); in qh_append_tds()
1105 struct list_head *qtd_list, in submit_async() argument
1118 qtd = list_entry(qtd_list->next, struct ehci_qtd, qtd_list); in submit_async()
1137 qh = qh_append_tds(ehci, urb, qtd_list, epnum, &urb->ep->hcpriv); in submit_async()
1152 qtd_list_free (ehci, urb, qtd_list); in submit_async()
1174 struct list_head qtd_list; in submit_single_step_set_feature() local
1182 INIT_LIST_HEAD(&qtd_list); in submit_single_step_set_feature()
1183 head = &qtd_list; in submit_single_step_set_feature()
1189 list_add_tail(&qtd->qtd_list, head); in submit_single_step_set_feature()
1207 submit_async(ehci, urb, &qtd_list, GFP_ATOMIC); in submit_single_step_set_feature()
1240 list_add_tail(&qtd->qtd_list, head); in submit_single_step_set_feature()
1245 submit_async(ehci, urb, &qtd_list, GFP_KERNEL); in submit_single_step_set_feature()
1364 list_empty(&qh->qtd_list)) in end_unlink_async()
1412 if (!list_empty(&qh->qtd_list)) in end_unlink_async()
1414 if (!list_empty(&qh->qtd_list) && in end_unlink_async()
1432 if (list_empty(&qh->qtd_list) && in unlink_empty_async()
1463 WARN_ON(!list_empty(&qh->qtd_list)); in unlink_empty_async_suspended()
1496 if (!list_empty(&qh->qtd_list)) { in scan_async()
1509 } else if (list_empty(&qh->qtd_list) in scan_async()