Home
last modified time | relevance | path

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

/linux-6.3-rc2/sound/hda/
A Dhdmi_chmap.c227 p->spk_mask = 0; in init_channel_allocations()
273 int spk_mask = 0; in hdmi_channel_allocation_spk_alloc_blk() local
296 (spk_mask & channel_allocations[i].spk_mask) == in hdmi_channel_allocation_spk_alloc_blk()
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
489 spk_mask |= mask; in hdmi_manual_channel_allocation()
497 (spk_mask & channel_allocations[i].spk_mask) == in hdmi_manual_channel_allocation()
661 return spk_mask; in spk_mask_from_spk_alloc()
674 int spk_alloc, spk_mask; in hdmi_chmap_ctl_tlv() local
[all …]
/linux-6.3-rc2/sound/x86/
A Dintel_hdmi_audio.h73 int spk_mask; member
79 int spk_mask; /* speaker position bit mask */ member
A 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()
/linux-6.3-rc2/sound/soc/codecs/
A 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()
/linux-6.3-rc2/include/sound/
A Dhda_chmap.h21 int spk_mask; member

Completed in 15 milliseconds