Home
last modified time | relevance | path

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

/linux/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/sound/x86/
A Dintel_hdmi_audio.h73 int spk_mask; member
79 int spk_mask; /* speaker position bit mask */ member
A Dintel_hdmi_audio.c399 p->spk_mask = 0; in init_channel_allocations()
403 p->spk_mask |= p->speakers[j]; in init_channel_allocations()
421 int spk_mask = 0; in had_channel_allocation() local
438 spk_mask |= eld_speaker_allocation_bits[i]; in had_channel_allocation()
444 (spk_mask & channel_allocations[i].spk_mask) == in had_channel_allocation()
445 channel_allocations[i].spk_mask) { in had_channel_allocation()
462 if (t->spk_mask == spk) in spk_to_chmap()
471 int spk_mask = 0; in had_build_channel_allocation_map() local
511 spk_mask |= eld_speaker_allocation_bits[i]; in had_build_channel_allocation_map()
515 if (spk_mask == channel_allocations[i].spk_mask) { in had_build_channel_allocation_map()
/linux/sound/soc/codecs/
A Dhdmi-codec.c320 unsigned long spk_mask = 0; in hdmi_codec_spk_mask_from_alloc() local
324 spk_mask |= hdmi_codec_eld_spk_alloc_bits[i]; in hdmi_codec_spk_mask_from_alloc()
327 return spk_mask; in hdmi_codec_spk_mask_from_alloc()
333 unsigned long spk_mask; in hdmi_codec_eld_chmap() local
336 spk_mask = hdmi_codec_spk_mask_from_alloc(spk_alloc); in hdmi_codec_eld_chmap()
339 if ((spk_mask & ~(FL | FR)) && hcp->chmap_info->max_channels > 2) in hdmi_codec_eld_chmap()
350 unsigned long spk_mask; in hdmi_codec_get_ch_alloc_table_idx() local
354 spk_mask = hdmi_codec_spk_mask_from_alloc(spk_alloc); in hdmi_codec_get_ch_alloc_table_idx()
362 if (!(cap->mask == (spk_mask & cap->mask))) in hdmi_codec_get_ch_alloc_table_idx()
/linux/include/sound/
A Dhda_chmap.h21 int spk_mask; member

Completed in 12 milliseconds