• 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

430  * Link a high-period interrupt QH into the schedule at the end of its
446 * Link a period-1 interrupt or async QH into the schedule at the
517 * Unlink a high-period interrupt QH from the schedule
529 * Unlink a period-1 interrupt or async QH from the schedule
606 * Find the highest existing bandwidth load for a given phase and period.
608 static int uhci_highest_load(struct uhci_hcd *uhci, int phase, int period)
612 for (phase += period; phase < MAX_PHASE; phase += period)
628 minimax_load = uhci_highest_load(uhci, qh->phase, qh->period);
631 int max_phase = min_t(int, MAX_PHASE, qh->period);
634 minimax_load = uhci_highest_load(uhci, qh->phase, qh->period);
636 load = uhci_highest_load(uhci, phase, qh->period);
647 "period %d, phase %d, %d + %d us\n",
648 qh->period, qh->phase, minimax_load, qh->load);
663 for (i = qh->phase; i < MAX_PHASE; i += qh->period) {
681 "%s dev %d ep%02x-%s, period %d, phase %d, %d us\n",
684 qh->period, qh->phase, load);
696 for (i = qh->phase; i < MAX_PHASE; i += qh->period) {
714 "%s dev %d ep%02x-%s, period %d, phase %d, %d us\n",
717 qh->period, qh->phase, load);
1067 /* If the slot is full, try a lower period */
1069 qh->period = 1 << exponent;
1075 qh->phase = (qh->period / 2) & (MAX_PHASE - 1);
1080 } else if (qh->period > urb->interval)
1081 return -EINVAL; /* Can't decrease the period */
1085 urb->interval = qh->period;
1239 /* Check the period and figure out the starting frame number */
1241 qh->period = urb->interval;
1255 (qh->period - 1));
1260 qh->phase = urb->start_frame & (qh->period - 1);
1266 } else if (qh->period != urb->interval) {
1267 return -EINVAL; /* Can't change the period */
1290 (qh->period - 1));
1324 frame += qh->period;
1371 qh->iso_frame += qh->period;