Lines Matching full:bandwidth
5 * - Isochronous bus resource management (channels, bandwidth), client side
201 * Isochronous bus resource management (channels, bandwidth), client side
205 int bandwidth, bool allocate) in manage_bandwidth() argument
216 new = allocate ? old - bandwidth : old + bandwidth; in manage_bandwidth()
227 /* A generation change frees all bandwidth. */ in manage_bandwidth()
228 return allocate ? -EAGAIN : bandwidth; in manage_bandwidth()
232 return bandwidth; in manage_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, in fw_iso_resource_manage() argument
364 *bandwidth = 0; in fw_iso_resource_manage()
366 if (*bandwidth == 0) in fw_iso_resource_manage()
369 ret = manage_bandwidth(card, irm_id, generation, *bandwidth, allocate); in fw_iso_resource_manage()
371 *bandwidth = 0; in fw_iso_resource_manage()