channel_allocations 119 sound/hda/hdmi_chmap.c static struct hdac_cea_channel_speaker_allocation channel_allocations[] = { channel_allocations 224 sound/hda/hdmi_chmap.c for (i = 0; i < ARRAY_SIZE(channel_allocations); i++) { channel_allocations 225 sound/hda/hdmi_chmap.c p = channel_allocations + i; channel_allocations 240 sound/hda/hdmi_chmap.c for (i = 0; i < ARRAY_SIZE(channel_allocations); i++) { channel_allocations 241 sound/hda/hdmi_chmap.c if (channel_allocations[i].ca_index == ca) channel_allocations 294 sound/hda/hdmi_chmap.c for (i = 0; i < ARRAY_SIZE(channel_allocations); i++) { channel_allocations 295 sound/hda/hdmi_chmap.c if (channels == channel_allocations[i].channels && channel_allocations 296 sound/hda/hdmi_chmap.c (spk_mask & channel_allocations[i].spk_mask) == channel_allocations 297 sound/hda/hdmi_chmap.c channel_allocations[i].spk_mask) { channel_allocations 298 sound/hda/hdmi_chmap.c ca = channel_allocations[i].ca_index; channel_allocations 308 sound/hda/hdmi_chmap.c for (i = 0; i < ARRAY_SIZE(channel_allocations); i++) { channel_allocations 309 sound/hda/hdmi_chmap.c if (channels == channel_allocations[i].channels) { channel_allocations 310 sound/hda/hdmi_chmap.c ca = channel_allocations[i].ca_index; channel_allocations 351 sound/hda/hdmi_chmap.c ch_alloc = &channel_allocations[order]; channel_allocations 438 sound/hda/hdmi_chmap.c if (ordered_ca >= ARRAY_SIZE(channel_allocations)) channel_allocations 443 sound/hda/hdmi_chmap.c if (channel_allocations[ordered_ca].speakers[7 - i] == mask) channel_allocations 475 sound/hda/hdmi_chmap.c mask = channel_allocations[ordered_ca].speakers[7 - slot]; channel_allocations 494 sound/hda/hdmi_chmap.c for (i = 0; i < ARRAY_SIZE(channel_allocations); i++) { channel_allocations 495 sound/hda/hdmi_chmap.c if ((chs == channel_allocations[i].channels || channel_allocations 496 sound/hda/hdmi_chmap.c spks == channel_allocations[i].channels) && channel_allocations 497 sound/hda/hdmi_chmap.c (spk_mask & channel_allocations[i].spk_mask) == channel_allocations 498 sound/hda/hdmi_chmap.c channel_allocations[i].spk_mask) channel_allocations 499 sound/hda/hdmi_chmap.c return channel_allocations[i].ca_index; channel_allocations 542 sound/hda/hdmi_chmap.c if (ordered_ca < ARRAY_SIZE(channel_allocations) && channel_allocations 543 sound/hda/hdmi_chmap.c i < channel_allocations[ordered_ca].channels) channel_allocations 574 sound/hda/hdmi_chmap.c if (ordered_ca >= ARRAY_SIZE(channel_allocations)) channel_allocations 577 sound/hda/hdmi_chmap.c return channel_allocations[ordered_ca].channels; channel_allocations 583 sound/hda/hdmi_chmap.c return &channel_allocations[get_channel_allocation_order(ca)]; channel_allocations 692 sound/hda/hdmi_chmap.c cap = channel_allocations; channel_allocations 693 sound/hda/hdmi_chmap.c for (i = 0; i < ARRAY_SIZE(channel_allocations); i++, cap++) { channel_allocations 77 sound/x86/intel_hdmi_audio.c static struct cea_channel_speaker_allocation channel_allocations[] = { channel_allocations 396 sound/x86/intel_hdmi_audio.c for (i = 0; i < ARRAY_SIZE(channel_allocations); i++) { channel_allocations 397 sound/x86/intel_hdmi_audio.c p = channel_allocations + i; channel_allocations 442 sound/x86/intel_hdmi_audio.c for (i = 0; i < ARRAY_SIZE(channel_allocations); i++) { channel_allocations 443 sound/x86/intel_hdmi_audio.c if (channels == channel_allocations[i].channels && channel_allocations 444 sound/x86/intel_hdmi_audio.c (spk_mask & channel_allocations[i].spk_mask) == channel_allocations 445 sound/x86/intel_hdmi_audio.c channel_allocations[i].spk_mask) { channel_allocations 446 sound/x86/intel_hdmi_audio.c ca = channel_allocations[i].ca_index; channel_allocations 514 sound/x86/intel_hdmi_audio.c for (i = 0; i < ARRAY_SIZE(channel_allocations); i++) { channel_allocations 515 sound/x86/intel_hdmi_audio.c if (spk_mask == channel_allocations[i].spk_mask) { channel_allocations 516 sound/x86/intel_hdmi_audio.c for (c = 0; c < channel_allocations[i].channels; c++) { channel_allocations 518 sound/x86/intel_hdmi_audio.c channel_allocations[i].speakers[ channel_allocations 521 sound/x86/intel_hdmi_audio.c chmap->channels = channel_allocations[i].channels; channel_allocations 526 sound/x86/intel_hdmi_audio.c if (i >= ARRAY_SIZE(channel_allocations))