Lines Matching refs:uframe
172 periodic_usecs (struct ehci_hcd *ehci, U32 frame, U32 uframe) in periodic_usecs() argument
183 if (q->qh->hw_info2 & CPUToLE32 (1 << uframe)) in periodic_usecs()
186 if (q->qh->hw_info2 & CPUToLE32 (1 << (8 + uframe))) in periodic_usecs()
203 if (q->itd->hw_transaction [uframe] != 0) in periodic_usecs()
216 if (q->sitd->hw_uframe & CPUToLE32 (1 << uframe)) { in periodic_usecs()
225 CPUToLE32 (1 << (8 + uframe))) { in periodic_usecs()
242 frame * 8 + uframe, usecs); in periodic_usecs()
371 U32 uframe, in check_period() argument
376 if (uframe >= 8) in check_period()
396 claimed = periodic_usecs (ehci, frame, uframe); in check_period()
410 U32 uframe, in check_intr_schedule() argument
417 if (!check_period (ehci, frame, uframe, qh->period, qh->usecs)) in check_intr_schedule()
429 if (!check_period (ehci, frame, uframe + qh->gap_uf + 1, in check_intr_schedule()
432 if (!check_period (ehci, frame, uframe + qh->gap_uf, in check_intr_schedule()
436 *c_maskp = CPUToLE32 (0x03 << (8 + uframe + qh->gap_uf)); in check_intr_schedule()
879 s = itd->uframe + u->interval * u->number_of_packets; in get_iso_range()
960 U32 uframe; in itd_schedule() local
966 uframe = start; in itd_schedule()
967 for (i = 0, uframe = start; in itd_schedule()
969 i++, uframe += urb->interval) { in itd_schedule()
970 uframe %= mod; in itd_schedule()
973 if (periodic_usecs (ehci, uframe >> 3, uframe & 0x7) in itd_schedule()
994 for (i = 0, uframe = start, usecs = 0; in itd_schedule()
996 i++, uframe += urb->interval) { in itd_schedule()
998 uframe %= mod; in itd_schedule()
1001 itd->uframe = uframe; in itd_schedule()
1003 itd->hw_transaction [uframe & 0x07] = itd->transaction; in itd_schedule()
1005 itd_link (ehci, (uframe >> 3) % ehci->periodic_size, in itd_schedule()