Lines Matching refs:channel_allocations
180 static struct cea_channel_speaker_allocation channel_allocations[] = {
328 * Compute derived values in channel_allocations[].
335 for (i = 0; i < ARRAY_SIZE(channel_allocations); i++) {
336 p = channel_allocations + i;
351 * spk_mask => (channel_allocations[]) => ai->CA
396 for (i = 0; i < ARRAY_SIZE(channel_allocations); i++) {
397 if (channels == channel_allocations[i].channels &&
398 (spk_mask & channel_allocations[i].spk_mask) ==
399 channel_allocations[i].spk_mask) {
400 ai->CA = channel_allocations[i].ca_index;
438 for (i = 0; i < channel_allocations[ca].channels; i++)