Lines Matching defs:mod
4130 static inline int itd_slot_ok(struct fotg210_hcd *fotg210, u32 mod, u32 uframe,
4142 } while (uframe < mod);
4163 unsigned mod = fotg210->periodic_size << 3;
4169 if (span > mod - SCHEDULE_SLOP) {
4175 now = fotg210_read_frame_index(fotg210) & (mod - 1);
4199 excess = (stream->next_uframe - period - next) & (mod - 1);
4200 if (excess >= mod - 2 * SCHEDULE_SLOP)
4201 start = next + excess - mod + period *
4202 DIV_ROUND_UP(mod - excess, period);
4205 if (start - now >= mod) {
4208 mod);
4237 if (itd_slot_ok(fotg210, mod, start,
4245 urb, now, now + mod);
4253 mod - 2 * SCHEDULE_SLOP)) {
4256 mod - 2 * SCHEDULE_SLOP);
4261 stream->next_uframe = start & (mod - 1);
4349 unsigned mod, struct fotg210_iso_stream *stream)
4356 next_uframe = stream->next_uframe & (mod - 1);
4390 next_uframe &= mod - 1;