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 */
2242 static void periodic_unlink(struct oxu_hcd *oxu, unsigned frame, void *ptr)
2244 union ehci_shadow *prev_p = &oxu->pshadow[frame];
2245 __le32 *hw_p = &oxu->periodic[frame];
2267 unsigned frame, unsigned uframe)
2269 __le32 *hw_p = &oxu->periodic[frame];
2270 union ehci_shadow *q = &oxu->pshadow[frame];
2291 frame * 8 + uframe, usecs);
2302 * takes effect only at frame boundaries...
2328 * takes effect only at frame boundaries...
2483 unsigned frame, unsigned uframe,
2488 /* complete split running into next frame?
2506 claimed = periodic_usecs(oxu, frame, uframe);
2510 } while ((frame += 1) < oxu->periodic_size);
2515 claimed = periodic_usecs(oxu, frame, uframe);
2518 } while ((frame += period) < oxu->periodic_size);
2525 unsigned frame, unsigned uframe,
2533 if (!check_period(oxu, frame, uframe, qh->period, qh->usecs))
2553 unsigned frame; /* 0..(qh->period - 1), or NO_FRAME */
2557 frame = qh->start;
2560 if (frame < qh->period) {
2562 status = check_intr_schedule(oxu, frame, --uframe,
2576 frame = qh->period - 1;
2580 frame, uframe, qh,
2585 } while (status && frame--);
2589 frame = 0;
2594 qh->start = frame;
2596 /* reset S-frame and (maybe) C-frame masks */
2674 unsigned frame, clock, now_uframe, mod;
2696 frame = now_uframe >> 3;
2697 if (frame != (clock >> 3)) {
2698 /* safe to scan the whole frame at once */
2703 /* scan each element in frame's queue for completions */
2704 q_p = &oxu->pshadow[frame];
2705 hw_p = &oxu->periodic[frame];
2725 oxu_dbg(oxu, "corrupt type %d frame %d shadow %p\n",
2726 type, frame, q.ptr);
2756 /* rescan the rest of this frame, then ... */
3021 * hw default: 1K periodic list heads, one per frame.
3031 if (HCC_ISOC_CACHE(hcc_params)) /* full frame cache */