Home
last modified time | relevance | path

Searched refs:spk_mask (Results 1 – 4 of 4) sorted by relevance

/sound/hda/
Dhdmi_chmap.c227 p->spk_mask = 0; in init_channel_allocations()
231 p->spk_mask |= p->speakers[j]; in init_channel_allocations()
273 int spk_mask = 0; in hdmi_channel_allocation_spk_alloc_blk() local
290 spk_mask |= eld_speaker_allocation_bits[i]; in hdmi_channel_allocation_spk_alloc_blk()
296 (spk_mask & channel_allocations[i].spk_mask) == in hdmi_channel_allocation_spk_alloc_blk()
297 channel_allocations[i].spk_mask) { in hdmi_channel_allocation_spk_alloc_blk()
392 int spk_mask; /* speaker position bit mask */ member
423 return t->spk_mask; in snd_hdac_chmap_to_spk_mask()
457 if (t->spk_mask == spk) in snd_hdac_spk_to_chmap()
483 int i, spks = 0, spk_mask = 0; in hdmi_manual_channel_allocation() local
[all …]
/sound/x86/
Dintel_hdmi_audio.h73 int spk_mask; member
79 int spk_mask; /* speaker position bit mask */ member
Dintel_hdmi_audio.c401 p->spk_mask = 0; in init_channel_allocations()
405 p->spk_mask |= p->speakers[j]; in init_channel_allocations()
423 int spk_mask = 0; in had_channel_allocation() local
440 spk_mask |= eld_speaker_allocation_bits[i]; 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()
464 if (t->spk_mask == spk) in spk_to_chmap()
473 int spk_mask = 0; in had_build_channel_allocation_map() local
513 spk_mask |= eld_speaker_allocation_bits[i]; in had_build_channel_allocation_map()
517 if (spk_mask == channel_allocations[i].spk_mask) { in had_build_channel_allocation_map()
/sound/soc/codecs/
Dhdmi-codec.c316 unsigned long spk_mask = 0; in hdmi_codec_spk_mask_from_alloc() local
320 spk_mask |= hdmi_codec_eld_spk_alloc_bits[i]; in hdmi_codec_spk_mask_from_alloc()
323 return spk_mask; in hdmi_codec_spk_mask_from_alloc()
329 unsigned long spk_mask; in hdmi_codec_eld_chmap() local
332 spk_mask = hdmi_codec_spk_mask_from_alloc(spk_alloc); in hdmi_codec_eld_chmap()
335 if ((spk_mask & ~(FL | FR)) && hcp->chmap_info->max_channels > 2) in hdmi_codec_eld_chmap()
346 unsigned long spk_mask; in hdmi_codec_get_ch_alloc_table_idx() local
350 spk_mask = hdmi_codec_spk_mask_from_alloc(spk_alloc); in hdmi_codec_get_ch_alloc_table_idx()
358 if (!(cap->mask == (spk_mask & cap->mask))) in hdmi_codec_get_ch_alloc_table_idx()