Lines Matching defs:period
368 if (ep->period)
376 if (ep->period)
456 DBG("deschedule qh%d/%p branch %d\n", ep->period, ep, ep->branch);
457 for (i = ep->branch; i < PERIODIC_SIZE; i += ep->period) {
470 -= ep->load / ep->period;
496 if (!ep->period)
767 static int balance(struct sl811 *sl811, u16 period, u16 load)
771 /* search for the least loaded schedule branch of that period
774 for (i = 0; i < period ; i++) {
778 for (j = i; j < PERIODIC_SIZE; j += period) {
877 ep->period = urb->interval;
901 urb->interval = ep->period;
913 retval = balance(sl811, ep->period, ep->load);
921 /* sort each schedule branch by period (slow before fast)
925 DBG("schedule qh%d/%p branch %d\n", ep->period, ep, ep->branch);
926 for (i = ep->branch; i < PERIODIC_SIZE; i += ep->period) {
931 if (ep->period > here->period)
943 hcd->self.bandwidth_allocated += ep->load / ep->period;
1481 ep->period, ep,