Lines Matching refs:next

198 			ntd = list_entry(td->fl_list.next,
334 if (qh->queue.next != &urbp->node) {
358 /* Save the next toggle value */
360 td = list_entry(urbp->td_list.next, struct uhci_td, list);
383 urbp = list_entry(qh->queue.next, struct urb_priv, node);
398 td = list_entry(urbp->td_list.next, struct uhci_td, list);
415 pipe = list_entry(qh->queue.next, struct urb_priv, node)->urb->pipe;
487 struct urb_priv *urbp = list_entry(qh->queue.next,
489 struct uhci_td *td = list_entry(urbp->td_list.next,
506 uhci->next_qh = list_entry(qh->node.next, struct uhci_qh,
542 * QH to the next (new first FSBR) QH. */
575 uhci->next_qh = list_entry(qh->node.next, struct uhci_qh,
591 uhci->next_qh = list_entry(qh->node.next, struct uhci_qh,
1144 * before restarting the queue at the next URB. */
1213 if (td->list.next != urbp->td_list.prev)
1239 * the next toggle value */
1259 unsigned frame, next;
1279 next = uhci->frame_number + 10;
1283 frame += (next - frame + qh->period - 1) & -qh->period;
1289 next = uhci->frame_number + 1;
1291 /* Find the next unused frame */
1305 if (!uhci_frame_before_eq(next, frame)) {
1309 frame += (next - frame + qh->period - 1) &
1313 * Not ASAP: Use the next slot in the stream,
1316 else if (!uhci_frame_before_eq(next,
1323 next);
1462 if (qh->queue.next == &urbp->node && !qh->is_stopped) {
1532 * reinitialize the QH's iso-related members for the next URB. */
1535 urbp->node.next != &qh->queue) {
1536 struct urb *nurb = list_entry(urbp->node.next,
1582 urbp = list_entry(qh->queue.next, struct urb_priv, node);
1639 * limit has expired, set the next TD to interrupt on
1641 urbp = list_entry(qh->queue.next, struct urb_priv, node);
1643 struct uhci_td *td = list_entry(urbp->td_list.next,
1691 urbp = list_entry(qh->queue.next, struct urb_priv, node);
1692 td = list_entry(urbp->td_list.next, struct uhci_td, list);
1722 * so that we can safely set the next TD to interrupt on
1762 uhci->next_qh = list_entry(uhci->skelqh[i]->node.next,
1765 uhci->next_qh = list_entry(qh->node.next,
1772 list_entry(qh->queue.next, struct urb_priv, node));