Lines Matching defs:bandwidth
5 * - Isochronous bus resource management (channels, bandwidth), client side
201 * Isochronous bus resource management (channels, bandwidth), client side
205 int bandwidth, bool allocate)
216 new = allocate ? old - bandwidth : old + bandwidth;
227 /* A generation change frees all bandwidth. */
228 return allocate ? -EAGAIN : bandwidth;
232 return bandwidth;
308 * fw_iso_resource_manage() - Allocate or deallocate a channel and/or bandwidth
313 * @bandwidth: pointer for returning bandwidth allocation result
316 * In parameters: card, generation, channels_mask, bandwidth, allocate
317 * Out parameters: channel, bandwidth
325 * Allocates or deallocates as many bandwidth allocation units as specified.
328 * Returns bandwidth = 0 if no bandwidth was allocated or deallocated.
333 * If channel allocation fails, no bandwidth will be allocated either.
334 * If bandwidth allocation fails, no channel will be allocated either.
335 * But deallocations of channel and bandwidth are tried independently
339 u64 channels_mask, int *channel, int *bandwidth,
364 *bandwidth = 0;
366 if (*bandwidth == 0)
369 ret = manage_bandwidth(card, irm_id, generation, *bandwidth, allocate);
371 *bandwidth = 0;