Lines Matching refs:spk_mask
227 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
489 spk_mask |= mask; in hdmi_manual_channel_allocation()
497 (spk_mask & channel_allocations[i].spk_mask) == in hdmi_manual_channel_allocation()
498 channel_allocations[i].spk_mask) in hdmi_manual_channel_allocation()
654 int spk_mask = eld_speaker_allocation_bits[0]; in spk_mask_from_spk_alloc() local
658 spk_mask |= eld_speaker_allocation_bits[i]; in spk_mask_from_spk_alloc()
661 return spk_mask; in spk_mask_from_spk_alloc()
674 int spk_alloc, spk_mask; in hdmi_chmap_ctl_tlv() local
684 spk_mask = spk_mask_from_spk_alloc(spk_alloc); in hdmi_chmap_ctl_tlv()
686 max_chs = hweight_long(spk_mask); in hdmi_chmap_ctl_tlv()
700 if (!(cap->spk_mask == (spk_mask & cap->spk_mask))) in hdmi_chmap_ctl_tlv()