Home
last modified time | relevance | path

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

/linux/sound/hda/core/
H A Dhdmi_chmap.c227 p->spk_mask = 0; in init_channel_allocations()
231 p->spk_mask |= p->speakers[j]; in init_channel_allocations()
263 * eld->spk_alloc => (eld_speaker_allocation_bits[]) => spk_mask
264 * spk_mask => (channel_allocations[]) => ai->CA
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()
395 int spk_mask; /* speake
392 int spk_mask; /* speaker position bit mask */ global() member
483 int i, spks = 0, spk_mask = 0; hdmi_manual_channel_allocation() local
654 int spk_mask = eld_speaker_allocation_bits[0]; spk_mask_from_spk_alloc() local
674 int spk_alloc, spk_mask; hdmi_chmap_ctl_tlv() local
[all...]
/linux/sound/x86/
H A Dintel_hdmi_audio.h53 int spk_mask;
59 int spk_mask; /* speaker position bit mask */
73 int spk_mask; global() member
79 int spk_mask; /* speaker position bit mask */ global() member
H A Dintel_hdmi_audio.c398 p->spk_mask = 0; in init_channel_allocations()
402 p->spk_mask |= p->speakers[j]; in init_channel_allocations()
420 int spk_mask = 0; in had_channel_allocation() local
437 spk_mask |= eld_speaker_allocation_bits[i]; in had_channel_allocation()
443 (spk_mask & channel_allocations[i].spk_mask) == in had_channel_allocation()
444 channel_allocations[i].spk_mask) { in had_channel_allocation()
461 if (t->spk_mask == spk) in spk_to_chmap()
470 int spk_mask = 0; in had_build_channel_allocation_map() local
510 spk_mask |= eld_speaker_allocation_bits[i]; in had_build_channel_allocation_map()
514 if (spk_mask == channel_allocations[i].spk_mask) { in had_build_channel_allocation_map()
/linux/sound/soc/codecs/
H A Dhdmi-codec.c332 unsigned long spk_mask = 0; in hdmi_codec_spk_mask_from_alloc() local
336 spk_mask |= hdmi_codec_eld_spk_alloc_bits[i]; in hdmi_codec_spk_mask_from_alloc()
339 return spk_mask; in hdmi_codec_spk_mask_from_alloc()
345 unsigned long spk_mask; in hdmi_codec_eld_chmap() local
348 spk_mask = hdmi_codec_spk_mask_from_alloc(spk_alloc); in hdmi_codec_eld_chmap()
351 if ((spk_mask & ~(FL | FR)) && hcp->chmap_info->max_channels > 2) in hdmi_codec_eld_chmap()
362 unsigned long spk_mask; in hdmi_codec_get_ch_alloc_table_idx() local
366 spk_mask = hdmi_codec_spk_mask_from_alloc(spk_alloc); in hdmi_codec_get_ch_alloc_table_idx()
374 if (!(cap->mask == (spk_mask & cap->mask))) in hdmi_codec_get_ch_alloc_table_idx()
/linux/include/sound/
H A Dhda_chmap.h21 int spk_mask; member