Lines Matching refs:hep
377 * invalidate qh as soon as list_empty(&hep->urb_list)
379 if (list_empty(&qh->hep->urb_list)) {
389 qh->hep->hcpriv = NULL;
1874 qh->hep->hcpriv = qh;
1887 struct usb_host_endpoint *hep = urb->ep;
1889 struct usb_endpoint_descriptor *epd = &hep->desc;
1900 qh = ret ? NULL : hep->hcpriv;
1906 * hep->urb_list now ... so we're done, unless hep wasn't yet
1909 * REVISIT best to keep hep->hcpriv valid until the endpoint gets
1930 qh->hep = hep;
2029 /* invariant: hep->hcpriv is null OR the qh that's already scheduled.
2034 if (hep->hcpriv) {
2035 /* some concurrent activity submitted another urb to hep...
2155 * NOTE: qh is invalid unless !list_empty(&hep->urb_list)
2158 || urb->urb_list.prev != &qh->hep->urb_list
2169 if (ready && list_empty(&qh->hep->urb_list)) {
2170 qh->hep->hcpriv = NULL;
2183 musb_h_disable(struct usb_hcd *hcd, struct usb_host_endpoint *hep)
2185 u8 is_in = hep->desc.bEndpointAddress & USB_DIR_IN;
2193 qh = hep->hcpriv;
2197 /* NOTE: qh is invalid unless !list_empty(&hep->urb_list) */
2214 while (!list_empty(&hep->urb_list)) {
2224 while (!list_empty(&hep->urb_list))
2227 hep->hcpriv = NULL;