Lines Matching refs:u32uFrame
112 static U16 ms_periodic_usecs (struct ehci_hcd *pEhci, U32 u32Frame, U32 u32uFrame) in ms_periodic_usecs() argument
122 if (pQh->qh->hw_ep_state2 & (1 << u32uFrame)) in ms_periodic_usecs()
124 if (pQh->qh->hw_ep_state2 & (1 << (8 + u32uFrame))) in ms_periodic_usecs()
139 u32Frame * 8 + u32uFrame, u32uSecs); in ms_periodic_usecs()
288 U32 u32uFrame, in ms_check_period() argument
295 if (u32uFrame >= 8) in ms_check_period()
309 for (u32uFrame = 0; u32uFrame < 7; u32uFrame++) { in ms_check_period()
310 claimed = ms_periodic_usecs (pEhci, u32Frame, u32uFrame); in ms_check_period()
324 claimed = ms_periodic_usecs (pEhci, u32Frame, u32uFrame); in ms_check_period()
396 U32 u32uFrame, in ms_check_intr_schedule() argument
405 if (pQh->c_usecs && u32uFrame >= 6) /* may be FSTN */ in ms_check_intr_schedule()
408 if (!ms_check_period (pEhci, u32Frame, u32uFrame, pQh->u16Period, pQh->u8Usecs)) in ms_check_intr_schedule()
418 mask = 0x03 << (u32uFrame + pQh->u8Gap_uf); in ms_check_intr_schedule()
420 *c_maskp = (0x03 << (8 + u32uFrame + pQh->u8Gap_uf)); in ms_check_intr_schedule()
422 mask |= 1 << u32uFrame; in ms_check_intr_schedule()
424 if (!ms_check_period (pEhci, u32Frame, u32uFrame + pQh->u8Gap_uf + 1, in ms_check_intr_schedule()
427 if (!ms_check_period (pEhci, u32Frame, u32uFrame + pQh->u8Gap_uf, in ms_check_intr_schedule()
434 if (!ms_check_period (pEhci, u32Frame, u32uFrame + pQh->u8Gap_uf + 1, in ms_check_intr_schedule()
437 if (!ms_check_period (pEhci, u32Frame, u32uFrame + pQh->u8Gap_uf, in ms_check_intr_schedule()
441 *c_maskp = (0x03 << (8 + u32uFrame + pQh->u8Gap_uf)); in ms_check_intr_schedule()