Lines Matching refs:urb_packs
219 unsigned int urb_packs, total_packs, packs_per_ms;
253 urb_packs = max(chip->nrpacks, 1);
254 urb_packs = min(urb_packs, (unsigned int)MAX_PACKS);
256 urb_packs = 1;
257 urb_packs *= packs_per_ms;
259 urb_packs = min(urb_packs, 1U << subs->syncinterval);
277 maxpacks = max(MAX_QUEUE * packs_per_ms, urb_packs * 2);
281 while (urb_packs > 1 && urb_packs * maxsize >= period_bytes)
282 urb_packs >>= 1;
283 total_packs = MAX_URBS * urb_packs;
285 subs->nurbs = (total_packs + urb_packs - 1) / urb_packs;
289 total_packs = MAX_URBS * urb_packs;