Lines Matching refs:load
109 static int balance (struct ohci_hcd *ohci, int interval, int load) in balance() argument
121 if (branch < 0 || ohci->load [branch] > ohci->load [i]) { in balance()
126 if ((ohci->load [j] + load) > 900) in balance()
149 ed, ed->branch, ed->load, ed->interval); in periodic_link()
176 ohci->load [i] += ed->load; in periodic_link()
178 ohci_to_hcd(ohci)->self.bandwidth_allocated += ed->load / ed->interval; in periodic_link()
247 branch = balance (ohci, ed->interval, ed->load); in ed_schedule()
251 branch, ed->interval, ed->load); in ed_schedule()
287 ohci->load [i] -= ed->load; in periodic_unlink()
289 ohci_to_hcd(ohci)->self.bandwidth_allocated -= ed->load / ed->interval; in periodic_unlink()
293 ed, ed->branch, ed->load, ed->interval); in periodic_unlink()
459 ed->load = usb_calc_bus_time ( in ed_get()