• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/usb/host/

Lines Matching defs:period

310 	unsigned		period,
317 if ((period == 0) || (uframe >= 7)) /* error */
320 for (; frame < ehci->periodic_size; frame += period) {
379 unsigned period,
385 if (period == 0) /* error */
392 for (; frame < ehci->periodic_size; frame += period) {
529 unsigned period = qh->period;
533 period, hc32_to_cpup(ehci, &qh->hw->hw_info2)
538 if (period == 0)
539 period = 1;
541 for (i = qh->start; i < ehci->periodic_size; i += period) {
557 /* sorting each branch by period (slow-->fast)
561 if (qh->period > here.qh->period)
582 ehci_to_hcd(ehci)->self.bandwidth_allocated += qh->period
583 ? ((qh->usecs + qh->c_usecs) / qh->period)
593 unsigned period;
602 if ((period = qh->period) == 0)
603 period = 1;
605 for (i = qh->start; i < ehci->periodic_size; i += period)
609 ehci_to_hcd(ehci)->self.bandwidth_allocated -= qh->period
610 ? ((qh->usecs + qh->c_usecs) / qh->period)
615 qh->period,
682 unsigned period,
700 * for period 0, check _every_ microframe in the schedule.
702 if (unlikely (period == 0)) {
711 /* just check the specified uframe, at that period */
717 } while ((frame += period) < ehci->periodic_size);
738 if (!check_period (ehci, frame, uframe, qh->period, qh->usecs))
747 if (tt_available (ehci, qh->period, qh->dev, frame, uframe,
754 qh->period, qh->c_usecs))
775 if (tt_no_collision (ehci, qh->period, qh->dev, frame, mask)) {
777 qh->period, qh->c_usecs))
780 qh->period, qh->c_usecs))
797 unsigned frame; /* 0..(qh->period - 1), or NO_FRAME */
805 if (frame < qh->period) {
820 if (qh->period) {
823 for (i = qh->period; status && i > 0; --i) {
824 frame = ++ehci->random_frame % qh->period;
834 /* qh->period == 0 means every uframe */
845 hw->hw_info2 |= qh->period
1268 u32 period
1271 uframe %= period;
1279 uframe += period;
1381 u32 now, next, start, period, span;
1386 period = urb->interval;
1389 period <<= 3;
1418 excess = (stream->next_uframe - period - next) & (mod - 1);
1420 start = next + excess - mod + period *
1421 DIV_ROUND_UP(mod - excess, period);
1423 start = next + excess + period;
1426 urb, start - now - period, period,
1445 next = start + period;
1451 stream->usecs, period))
1457 start, sched, period))
1472 if (unlikely(start - now + span - period
1475 urb, start - now, span - period,
1650 "schedule devp %s ep%d%s-iso period %d start %d.%d\n",