Home
last modified time | relevance | path

Searched refs:cur_qh (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/usb/musb/
H A Dmusb_host.c906 struct musb_qh *cur_qh, *next_qh; in musb_bulk_nak_timeout() local
926 cur_qh = first_qh(&musb->in_bulk); in musb_bulk_nak_timeout()
936 cur_qh = first_qh(&musb->out_bulk); in musb_bulk_nak_timeout()
938 if (cur_qh) { in musb_bulk_nak_timeout()
939 urb = next_urb(cur_qh); in musb_bulk_nak_timeout()
946 toggle = musb->io.get_toggle(cur_qh, !is_in); in musb_bulk_nak_timeout()
947 usb_settoggle(urb->dev, cur_qh->epnum, !is_in, toggle ? 1 : 0); in musb_bulk_nak_timeout()
951 list_move_tail(&cur_qh->ring, &musb->in_bulk); in musb_bulk_nak_timeout()
960 list_move_tail(&cur_qh->ring, &musb->out_bulk); in musb_bulk_nak_timeout()
/openbmc/u-boot/drivers/usb/musb-new/
H A Dmusb_host.c1392 struct musb_qh *cur_qh, *next_qh; in musb_bulk_rx_nak_timeout() local
1404 cur_qh = first_qh(&musb->in_bulk); in musb_bulk_rx_nak_timeout()
1405 if (cur_qh) { in musb_bulk_rx_nak_timeout()
1406 urb = next_urb(cur_qh); in musb_bulk_rx_nak_timeout()
1413 musb_save_toggle(cur_qh, 1, urb); in musb_bulk_rx_nak_timeout()
1416 list_move_tail(&cur_qh->ring, &musb->in_bulk); in musb_bulk_rx_nak_timeout()