Lines Matching refs:uframe

3487 periodic_usecs(struct fotg210_hcd *fotg210, unsigned frame, unsigned uframe)  in periodic_usecs()  argument
3499 if (hw->hw_info2 & cpu_to_hc32(fotg210, 1 << uframe)) in periodic_usecs()
3503 1 << (8 + uframe))) in periodic_usecs()
3520 if (q->itd->hw_transaction[uframe]) in periodic_usecs()
3529 frame * 8 + uframe, usecs); in periodic_usecs()
3838 unsigned uframe, in check_period() argument
3847 if (uframe >= 8) in check_period()
3858 for (uframe = 0; uframe < 7; uframe++) { in check_period()
3860 uframe); in check_period()
3869 claimed = periodic_usecs(fotg210, frame, uframe); in check_period()
3882 unsigned uframe, in check_intr_schedule() argument
3890 if (qh->c_usecs && uframe >= 6) /* FSTN territory? */ in check_intr_schedule()
3893 if (!check_period(fotg210, frame, uframe, qh->period, qh->usecs)) in check_intr_schedule()
3908 mask = 0x03 << (uframe + qh->gap_uf); in check_intr_schedule()
3911 mask |= 1 << uframe; in check_intr_schedule()
3913 if (!check_period(fotg210, frame, uframe + qh->gap_uf + 1, in check_intr_schedule()
3916 if (!check_period(fotg210, frame, uframe + qh->gap_uf, in check_intr_schedule()
3931 unsigned uframe; in qh_schedule() local
3942 uframe = ffs(hc32_to_cpup(fotg210, &hw->hw_info2) & QH_SMASK); in qh_schedule()
3943 status = check_intr_schedule(fotg210, frame, --uframe, in qh_schedule()
3946 uframe = 0; in qh_schedule()
3961 for (uframe = 0; uframe < 8; uframe++) { in qh_schedule()
3963 frame, uframe, qh, in qh_schedule()
3983 ? cpu_to_hc32(fotg210, 1 << uframe) in qh_schedule()
4230 struct fotg210_iso_packet *uframe = &iso_sched->packet[i]; in itd_sched_init() local
4244 uframe->transaction = cpu_to_hc32(fotg210, trans); in itd_sched_init()
4247 uframe->bufp = (buf & ~(u64)0x0fff); in itd_sched_init()
4249 if (unlikely((uframe->bufp != (buf & ~(u64)0x0fff)))) in itd_sched_init()
4250 uframe->cross = 1; in itd_sched_init()
4339 u32 uframe, in itd_slot_ok() argument
4344 uframe %= period; in itd_slot_ok()
4347 if (periodic_usecs(fotg210, uframe >> 3, uframe & 0x7) in itd_slot_ok()
4352 uframe += period; in itd_slot_ok()
4353 } while (uframe < mod); in itd_slot_ok()
4520 u16 uframe in itd_patch() argument
4526 uframe &= 0x07; in itd_patch()
4527 itd->index[uframe] = index; in itd_patch()
4529 itd->hw_transaction[uframe] = uf->transaction; in itd_patch()
4530 itd->hw_transaction[uframe] |= cpu_to_hc32(fotg210, pg << 12); in itd_patch()
4579 unsigned next_uframe, uframe, frame; in itd_link_urb() local
4611 uframe = next_uframe & 0x07; in itd_link_urb()
4614 itd_patch(fotg210, itd, iso_sched, packet, uframe); in itd_link_urb()
4656 unsigned uframe; in itd_complete() local
4663 for (uframe = 0; uframe < 8; uframe++) { in itd_complete()
4664 if (likely(itd->index[uframe] == -1)) in itd_complete()
4666 urb_index = itd->index[uframe]; in itd_complete()
4669 t = hc32_to_cpup(fotg210, &itd->hw_transaction[uframe]); in itd_complete()
4670 itd->hw_transaction[uframe] = 0; in itd_complete()
4923 unsigned frame, uframe; in store_uframe_periodic_max() local
4955 for (uframe = 0; uframe < 7; ++uframe) in store_uframe_periodic_max()
4957 periodic_usecs(fotg210, frame, uframe)); in store_uframe_periodic_max()