Lines Matching refs:uframe
3429 periodic_usecs (struct fusbh200_hcd *fusbh200, unsigned frame, unsigned uframe) in periodic_usecs() argument
3441 if (hw->hw_info2 & cpu_to_hc32(fusbh200, 1 << uframe)) in periodic_usecs()
3445 1 << (8 + uframe))) in periodic_usecs()
3462 if (q->itd->hw_transaction[uframe]) in periodic_usecs()
3471 frame * 8 + uframe, usecs); in periodic_usecs()
3774 unsigned uframe, in check_period() argument
3783 if (uframe >= 8) in check_period()
3794 for (uframe = 0; uframe < 7; uframe++) { in check_period()
3795 claimed = periodic_usecs (fusbh200, frame, uframe); in check_period()
3804 claimed = periodic_usecs (fusbh200, frame, uframe); in check_period()
3817 unsigned uframe, in check_intr_schedule() argument
3825 if (qh->c_usecs && uframe >= 6) /* FSTN territory? */ in check_intr_schedule()
3828 if (!check_period (fusbh200, frame, uframe, qh->period, qh->usecs)) in check_intr_schedule()
3843 mask = 0x03 << (uframe + qh->gap_uf); in check_intr_schedule()
3846 mask |= 1 << uframe; in check_intr_schedule()
3848 if (!check_period (fusbh200, frame, uframe + qh->gap_uf + 1, in check_intr_schedule()
3851 if (!check_period (fusbh200, frame, uframe + qh->gap_uf, in check_intr_schedule()
3866 unsigned uframe; in qh_schedule() local
3877 uframe = ffs(hc32_to_cpup(fusbh200, &hw->hw_info2) & QH_SMASK); in qh_schedule()
3878 status = check_intr_schedule (fusbh200, frame, --uframe, in qh_schedule()
3881 uframe = 0; in qh_schedule()
3896 for (uframe = 0; uframe < 8; uframe++) { in qh_schedule()
3898 frame, uframe, qh, in qh_schedule()
3917 ? cpu_to_hc32(fusbh200, 1 << uframe) in qh_schedule()
4164 struct fusbh200_iso_packet *uframe = &iso_sched->packet [i]; in itd_sched_init() local
4178 uframe->transaction = cpu_to_hc32(fusbh200, trans); in itd_sched_init()
4181 uframe->bufp = (buf & ~(u64)0x0fff); in itd_sched_init()
4183 if (unlikely ((uframe->bufp != (buf & ~(u64)0x0fff)))) in itd_sched_init()
4184 uframe->cross = 1; in itd_sched_init()
4273 u32 uframe, in itd_slot_ok() argument
4278 uframe %= period; in itd_slot_ok()
4281 if (periodic_usecs (fusbh200, uframe >> 3, uframe & 0x7) in itd_slot_ok()
4286 uframe += period; in itd_slot_ok()
4287 } while (uframe < mod); in itd_slot_ok()
4454 u16 uframe in itd_patch() argument
4462 uframe &= 0x07; in itd_patch()
4463 itd->index [uframe] = index; in itd_patch()
4465 itd->hw_transaction[uframe] = uf->transaction; in itd_patch()
4466 itd->hw_transaction[uframe] |= cpu_to_hc32(fusbh200, pg << 12); in itd_patch()
4515 unsigned next_uframe, uframe, frame; in itd_link_urb() local
4548 uframe = next_uframe & 0x07; in itd_link_urb()
4551 itd_patch(fusbh200, itd, iso_sched, packet, uframe); in itd_link_urb()
4591 unsigned uframe; in itd_complete() local
4598 for (uframe = 0; uframe < 8; uframe++) { in itd_complete()
4599 if (likely (itd->index[uframe] == -1)) in itd_complete()
4601 urb_index = itd->index[uframe]; in itd_complete()
4604 t = hc32_to_cpup(fusbh200, &itd->hw_transaction [uframe]); in itd_complete()
4605 itd->hw_transaction [uframe] = 0; in itd_complete()
4857 unsigned frame, uframe; in store_uframe_periodic_max() local
4889 for (uframe = 0; uframe < 7; ++uframe) in store_uframe_periodic_max()
4891 periodic_usecs (fusbh200, frame, uframe)); in store_uframe_periodic_max()