Lines Matching full:generation
204 static int manage_bandwidth(struct fw_card *card, int irm_id, int generation, in manage_bandwidth() argument
223 irm_id, generation, SCODE_100, in manage_bandwidth()
227 /* A generation change frees all bandwidth. */ in manage_bandwidth()
242 static int manage_channel(struct fw_card *card, int irm_id, int generation, in manage_channel() argument
264 irm_id, generation, SCODE_100, in manage_channel()
267 /* A generation change frees all channels. */ in manage_channel()
295 int generation, int channel) in deallocate_channel() argument
304 manage_channel(card, irm_id, generation, mask, offset, false); in deallocate_channel()
310 * @generation: bus generation
316 * In parameters: card, generation, channels_mask, bandwidth, allocate
330 * If generation is stale, deallocations succeed but allocations fail with
338 void fw_iso_resource_manage(struct fw_card *card, int generation, in fw_iso_resource_manage() argument
351 c = manage_channel(card, irm_id, generation, channels_hi, in fw_iso_resource_manage()
355 c = manage_channel(card, irm_id, generation, channels_lo, in fw_iso_resource_manage()
369 ret = manage_bandwidth(card, irm_id, generation, *bandwidth, allocate); in fw_iso_resource_manage()
375 deallocate_channel(card, irm_id, generation, c); in fw_iso_resource_manage()