Lines Matching refs:load
108 static int balance (struct ohci_hcd *ohci, int interval, int load) in balance() argument
120 if (branch < 0 || ohci->load [branch] > ohci->load [i]) { in balance()
125 if ((ohci->load [j] + load) > 900) in balance()
148 ed, ed->branch, ed->load, ed->interval); in periodic_link()
175 ohci->load [i] += ed->load; in periodic_link()
177 ohci_to_hcd(ohci)->self.bandwidth_allocated += ed->load / ed->interval; in periodic_link()
246 branch = balance (ohci, ed->interval, ed->load); in ed_schedule()
250 branch, ed->interval, ed->load); in ed_schedule()
286 ohci->load [i] -= ed->load; in periodic_unlink()
288 ohci_to_hcd(ohci)->self.bandwidth_allocated -= ed->load / ed->interval; in periodic_unlink()
292 ed, ed->branch, ed->load, ed->interval); in periodic_unlink()
458 ed->load = usb_calc_bus_time ( in ed_get()