Lines Matching refs:channel_allocations
79 static struct cea_channel_speaker_allocation channel_allocations[] = { variable
398 for (i = 0; i < ARRAY_SIZE(channel_allocations); i++) { in init_channel_allocations()
399 p = channel_allocations + i; in init_channel_allocations()
444 for (i = 0; i < ARRAY_SIZE(channel_allocations); i++) { in had_channel_allocation()
445 if (channels == channel_allocations[i].channels && in had_channel_allocation()
446 (spk_mask & channel_allocations[i].spk_mask) == in had_channel_allocation()
447 channel_allocations[i].spk_mask) { in had_channel_allocation()
448 ca = channel_allocations[i].ca_index; in had_channel_allocation()
516 for (i = 0; i < ARRAY_SIZE(channel_allocations); i++) { in had_build_channel_allocation_map()
517 if (spk_mask == channel_allocations[i].spk_mask) { in had_build_channel_allocation_map()
518 for (c = 0; c < channel_allocations[i].channels; c++) { in had_build_channel_allocation_map()
520 channel_allocations[i].speakers[ in had_build_channel_allocation_map()
523 chmap->channels = channel_allocations[i].channels; in had_build_channel_allocation_map()
528 if (i >= ARRAY_SIZE(channel_allocations)) in had_build_channel_allocation_map()