Lines Matching full:bandwidth
5 * - Isochronous bus resource management (channels, bandwidth), client side
273 * Isochronous bus resource management (channels, bandwidth), client side
277 int bandwidth, bool allocate) in manage_bandwidth() argument
288 new = allocate ? old - bandwidth : old + bandwidth; in manage_bandwidth()
299 /* A generation change frees all bandwidth. */ in manage_bandwidth()
300 return allocate ? -EAGAIN : bandwidth; in manage_bandwidth()
304 return bandwidth; in manage_bandwidth()
380 * fw_iso_resource_manage() - Allocate or deallocate a channel and/or bandwidth
385 * @bandwidth: pointer for returning bandwidth allocation result
388 * In parameters: card, generation, channels_mask, bandwidth, allocate
389 * Out parameters: channel, bandwidth
397 * Allocates or deallocates as many bandwidth allocation units as specified.
400 * Returns bandwidth = 0 if no bandwidth was allocated or deallocated.
405 * If channel allocation fails, no bandwidth will be allocated either.
406 * If bandwidth allocation fails, no channel will be allocated either.
407 * But deallocations of channel and bandwidth are tried independently
411 u64 channels_mask, int *channel, int *bandwidth, in fw_iso_resource_manage() argument
435 *bandwidth = 0; in fw_iso_resource_manage()
437 if (*bandwidth == 0) in fw_iso_resource_manage()
440 ret = manage_bandwidth(card, irm_id, generation, *bandwidth, allocate); in fw_iso_resource_manage()
442 *bandwidth = 0; in fw_iso_resource_manage()