Lines Matching full:bandwidth
4 * - Isochronous bus resource management (channels, bandwidth), client side
232 * Isochronous bus resource management (channels, bandwidth), client side
236 int bandwidth, bool allocate) in manage_bandwidth() argument
247 new = allocate ? old - bandwidth : old + bandwidth; in manage_bandwidth()
258 /* A generation change frees all bandwidth. */ in manage_bandwidth()
259 return allocate ? -EAGAIN : bandwidth; in manage_bandwidth()
263 return bandwidth; in manage_bandwidth()
339 * fw_iso_resource_manage() - Allocate or deallocate a channel and/or bandwidth
341 * In parameters: card, generation, channels_mask, bandwidth, allocate
342 * Out parameters: channel, bandwidth
349 * Allocates or deallocates as many bandwidth allocation units as specified.
352 * Returns bandwidth = 0 if no bandwidth was allocated or deallocated.
357 * If channel allocation fails, no bandwidth will be allocated either.
358 * If bandwidth allocation fails, no channel will be allocated either.
359 * But deallocations of channel and bandwidth are tried independently
363 u64 channels_mask, int *channel, int *bandwidth, in fw_iso_resource_manage() argument
388 *bandwidth = 0; in fw_iso_resource_manage()
390 if (*bandwidth == 0) in fw_iso_resource_manage()
393 ret = manage_bandwidth(card, irm_id, generation, *bandwidth, allocate); in fw_iso_resource_manage()
395 *bandwidth = 0; in fw_iso_resource_manage()