Lines Matching refs:qh

302 static void start_unlink_intr(struct ehci_hcd *ehci, struct ehci_qh *qh);
303 static void end_unlink_intr(struct ehci_hcd *ehci, struct ehci_qh *qh);
520 ehci->async->qh_next.qh = NULL; in ehci_init()
926 struct ehci_qh *qh; in ehci_urb_dequeue() local
942 qh = (struct ehci_qh *) urb->hcpriv; in ehci_urb_dequeue()
943 qh->unlink_reason |= QH_UNLINK_REQUESTED; in ehci_urb_dequeue()
944 switch (qh->qh_state) { in ehci_urb_dequeue()
947 start_unlink_intr(ehci, qh); in ehci_urb_dequeue()
949 start_unlink_async(ehci, qh); in ehci_urb_dequeue()
952 qh->dequeue_during_giveback = 1; in ehci_urb_dequeue()
960 qh_completions(ehci, qh); in ehci_urb_dequeue()
978 struct ehci_qh *qh; in ehci_endpoint_disable() local
985 qh = ep->hcpriv; in ehci_endpoint_disable()
986 if (!qh) in ehci_endpoint_disable()
992 if (qh->hw == NULL) { in ehci_endpoint_disable()
1004 qh->unlink_reason |= QH_UNLINK_REQUESTED; in ehci_endpoint_disable()
1005 switch (qh->qh_state) { in ehci_endpoint_disable()
1007 if (list_empty(&qh->qtd_list)) in ehci_endpoint_disable()
1008 qh->unlink_reason |= QH_UNLINK_QUEUE_EMPTY; in ehci_endpoint_disable()
1012 start_unlink_async(ehci, qh); in ehci_endpoint_disable()
1014 start_unlink_intr(ehci, qh); in ehci_endpoint_disable()
1024 if (qh->clearing_tt) in ehci_endpoint_disable()
1026 if (list_empty (&qh->qtd_list)) { in ehci_endpoint_disable()
1027 if (qh->ps.bw_uperiod) in ehci_endpoint_disable()
1028 reserve_release_intr_bandwidth(ehci, qh, -1); in ehci_endpoint_disable()
1029 qh_destroy(ehci, qh); in ehci_endpoint_disable()
1038 qh, ep->desc.bEndpointAddress, qh->qh_state, in ehci_endpoint_disable()
1039 list_empty (&qh->qtd_list) ? "" : "(has tds)"); in ehci_endpoint_disable()
1051 struct ehci_qh *qh; in ehci_endpoint_reset() local
1061 qh = ep->hcpriv; in ehci_endpoint_reset()
1068 if (qh) { in ehci_endpoint_reset()
1069 if (!list_empty(&qh->qtd_list)) { in ehci_endpoint_reset()
1076 usb_settoggle(qh->ps.udev, epnum, is_out, 0); in ehci_endpoint_reset()
1077 qh->unlink_reason |= QH_UNLINK_REQUESTED; in ehci_endpoint_reset()
1079 start_unlink_async(ehci, qh); in ehci_endpoint_reset()
1081 start_unlink_intr(ehci, qh); in ehci_endpoint_reset()