Lines Matching defs:bandwidth
5 * - Isochronous bus resource management (channels, bandwidth), client side
296 * Isochronous bus resource management (channels, bandwidth), client side
300 int bandwidth, bool allocate)
311 new = allocate ? old - bandwidth : old + bandwidth;
322 /* A generation change frees all bandwidth. */
323 return allocate ? -EAGAIN : bandwidth;
327 return bandwidth;
403 * fw_iso_resource_manage() - Allocate or deallocate a channel and/or bandwidth
408 * @bandwidth: pointer for returning bandwidth allocation result
411 * In parameters: card, generation, channels_mask, bandwidth, allocate
412 * Out parameters: channel, bandwidth
420 * Allocates or deallocates as many bandwidth allocation units as specified.
423 * Returns bandwidth = 0 if no bandwidth was allocated or deallocated.
428 * If channel allocation fails, no bandwidth will be allocated either.
429 * If bandwidth allocation fails, no channel will be allocated either.
430 * But deallocations of channel and bandwidth are tried independently
434 u64 channels_mask, int *channel, int *bandwidth,
458 *bandwidth = 0;
460 if (*bandwidth == 0)
463 ret = manage_bandwidth(card, irm_id, generation, *bandwidth, allocate);
465 *bandwidth = 0;