Lines Matching defs:frame
87 #define EHCI_TUNE_FLS 2 /* (small) 256 frame schedule */
112 #define HCC_ISOC_CACHE(p) ((p)&(1 << 7)) /* true: can cache isoc frame */
132 /* 3:2 is periodic frame list size */
146 #define STS_FLR (1<<3) /* frame list rolled over */
2241 static void periodic_unlink(struct oxu_hcd *oxu, unsigned frame, void *ptr)
2243 union ehci_shadow *prev_p = &oxu->pshadow[frame];
2244 __le32 *hw_p = &oxu->periodic[frame];
2266 unsigned frame, unsigned uframe)
2268 __le32 *hw_p = &oxu->periodic[frame];
2269 union ehci_shadow *q = &oxu->pshadow[frame];
2290 frame * 8 + uframe, usecs);
2301 * takes effect only at frame boundaries...
2327 * takes effect only at frame boundaries...
2482 unsigned frame, unsigned uframe,
2487 /* complete split running into next frame?
2505 claimed = periodic_usecs(oxu, frame, uframe);
2509 } while ((frame += 1) < oxu->periodic_size);
2514 claimed = periodic_usecs(oxu, frame, uframe);
2517 } while ((frame += period) < oxu->periodic_size);
2524 unsigned frame, unsigned uframe,
2532 if (!check_period(oxu, frame, uframe, qh->period, qh->usecs))
2552 unsigned frame; /* 0..(qh->period - 1), or NO_FRAME */
2556 frame = qh->start;
2559 if (frame < qh->period) {
2561 status = check_intr_schedule(oxu, frame, --uframe,
2575 frame = qh->period - 1;
2579 frame, uframe, qh,
2584 } while (status && frame--);
2588 frame = 0;
2593 qh->start = frame;
2595 /* reset S-frame and (maybe) C-frame masks */
2673 unsigned frame, clock, now_uframe, mod;
2695 frame = now_uframe >> 3;
2696 if (frame != (clock >> 3)) {
2697 /* safe to scan the whole frame at once */
2702 /* scan each element in frame's queue for completions */
2703 q_p = &oxu->pshadow[frame];
2704 hw_p = &oxu->periodic[frame];
2724 oxu_dbg(oxu, "corrupt type %d frame %d shadow %p\n",
2725 type, frame, q.ptr);
2755 /* rescan the rest of this frame, then ... */
3020 * hw default: 1K periodic list heads, one per frame.
3030 if (HCC_ISOC_CACHE(hcc_params)) /* full frame cache */