Lines Matching refs:u32Frame

81 static void ms_periodic_unlink (struct ehci_hcd *pEhci, U32 u32Frame, void *ptr)  in ms_periodic_unlink()  argument
83 union ehci_qh_shadow *prev_p = &pEhci->pshadow [u32Frame]; in ms_periodic_unlink()
84 U32 *hw_p = &pEhci->pPeriodic [u32Frame]; in ms_periodic_unlink()
99 ms_debug_msg ("[periodic_unlink] entry %p no longer on u32Frame [%d]\n", ptr, (int)u32Frame); in ms_periodic_unlink()
112 static U16 ms_periodic_usecs (struct ehci_hcd *pEhci, U32 u32Frame, U32 u32uFrame) in ms_periodic_usecs() argument
114 U32 *phw_p = &pEhci->pPeriodic [u32Frame]; in ms_periodic_usecs()
115 union ehci_qh_shadow *pQh = &pEhci->pshadow [u32Frame]; in ms_periodic_usecs()
139 u32Frame * 8 + u32uFrame, u32uSecs); in ms_periodic_usecs()
199 U32 u32Frame = pQh1->u16Start; in ms_intr_deschedule() local
213 ms_periodic_unlink (pEhci, u32Frame, pQh1); in ms_intr_deschedule()
215 u32Frame += period; in ms_intr_deschedule()
216 } while (u32Frame < pEhci->u32PeriodicSize); in ms_intr_deschedule()
245 if (((ms_ehci_get_frame_idx (&pEhci->hcd) - u32Frame) % pQh1->u16Period) == 0) in ms_intr_deschedule()
264 pQh1, pQh1->u16Period, (int)u32Frame, in ms_intr_deschedule()
287 U32 u32Frame, in ms_check_period() argument
310 claimed = ms_periodic_usecs (pEhci, u32Frame, u32uFrame); in ms_check_period()
314 } while ((u32Frame += 1) < pEhci->u32PeriodicSize); in ms_check_period()
324 claimed = ms_periodic_usecs (pEhci, u32Frame, u32uFrame); in ms_check_period()
328 } while ((u32Frame += u32Period) < pEhci->u32PeriodicSize); in ms_check_period()
395 U32 u32Frame, in ms_check_intr_schedule() argument
408 if (!ms_check_period (pEhci, u32Frame, u32uFrame, pQh->u16Period, pQh->u8Usecs)) in ms_check_intr_schedule()
423 if (ms_tt_no_collision (pEhci, pQh->u16Period, pQh->dev, u32Frame, mask)) { 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()
688 U32 u32Frame, u32Clock, u32clock_uframe, u32Mod; in ms_scan_periodic() local
692 u32Frame = pEhci->iNextUframe >> 3; in ms_scan_periodic()
707 q_p = &pEhci->pshadow [u32Frame]; in ms_scan_periodic()
708 hw_p = &pEhci->pPeriodic [u32Frame]; in ms_scan_periodic()
730 (int)u32Type, (int)u32Frame, q.ptr); in ms_scan_periodic()
741 u32Frame = u32Clock; in ms_scan_periodic()
746 if (u32Frame == u32Clock) in ms_scan_periodic()
762 u32Frame = (u32Frame + 1) % pEhci->u32PeriodicSize; in ms_scan_periodic()