Lines Matching refs:period

202 			ps->phase, ps->phase_uf, ps->period,
361 unsigned period = ps->bw_period;
364 if ((period == 0) || (uframe >= 7)) /* error */
367 for (frame &= period - 1; frame < EHCI_BANDWIDTH_FRAMES;
368 frame += period) {
415 unsigned period,
421 if (period == 0) /* error */
428 for (; frame < ehci->periodic_size; frame += period) {
524 unsigned period = qh->ps.period;
528 period, hc32_to_cpup(ehci, &qh->hw->hw_info2)
533 if (period == 0)
534 period = 1;
536 for (i = qh->ps.phase; i < ehci->periodic_size; i += period) {
552 /* sorting each branch by period (slow-->fast)
556 if (qh->ps.period > here.qh->ps.period)
591 unsigned period;
609 period = qh->ps.period ? : 1;
611 for (i = qh->ps.phase; i < ehci->periodic_size; i += period)
621 qh->ps.period,
887 qh->ps.phase = (qh->ps.period ? ehci->random_frame &
888 (qh->ps.period - 1) : 0);
891 qh->ps.cs_mask = qh->ps.period ?
1058 /* period for bandwidth allocation */
1066 stream->ps.period = urb->interval >> 3;
1101 /* period for bandwidth allocation */
1109 stream->ps.period = urb->interval;
1477 u32 now, base, next, start, period, span, now2;
1485 period = stream->uperiod;
1505 start = ((-(++ehci->random_frame)) << 3) & (period - 1);
1513 start += period;
1536 (stream->ps.period - 1);
1584 if (unlikely(!empty && start < period)) {
1586 urb, stream->next_uframe, base, period, mod);
1592 if (likely(!empty || start <= now2 + period)) {
1612 skip = (now2 - start + period - 1) & -period;
1615 urb, start + base, span - period, now2 + base,
1619 skip = span - period;
1629 urb->error_count = skip / period;
1636 start = next + ((start - next) & (period - 1));
1640 if (unlikely(start + span - period >= mod + wrap)) {
1642 urb, start, span - period, mod + wrap);
1994 iso_sched->span = urb->number_of_packets * stream->ps.period;
2306 if (urb->interval != stream->ps.period) {
2308 stream->ps.period, urb->interval);