Lines Matching refs:cur
1383 struct QH *cur = queue->current; in _ehci_poll_int_queue() local
1389 if (cur == NULL) { in _ehci_poll_int_queue()
1406 if (!(cur->qh_link & QH_LINK_TERMINATE)) in _ehci_poll_int_queue()
1411 invalidate_dcache_range((unsigned long)cur->buffer, in _ehci_poll_int_queue()
1412 ALIGN_END_ADDR(char, cur->buffer, in _ehci_poll_int_queue()
1416 token, cur, queue->first); in _ehci_poll_int_queue()
1417 return cur->buffer; in _ehci_poll_int_queue()
1434 struct QH *cur = &ctrl->periodic_queue; in _ehci_destroy_int_queue() local
1436 while (!(cur->qh_link & cpu_to_hc32(QH_LINK_TERMINATE))) { in _ehci_destroy_int_queue()
1437 debug("considering %p, with qh_link %x\n", cur, cur->qh_link); in _ehci_destroy_int_queue()
1438 if (NEXT_QH(cur) == queue->first) { in _ehci_destroy_int_queue()
1440 cur->qh_link = queue->last->qh_link; in _ehci_destroy_int_queue()
1441 flush_dcache_range((unsigned long)cur, in _ehci_destroy_int_queue()
1442 ALIGN_END_ADDR(struct QH, cur, 1)); in _ehci_destroy_int_queue()
1446 cur = NEXT_QH(cur); in _ehci_destroy_int_queue()