Lines Matching refs:spk_alloc
246 void snd_hdac_print_channel_allocation(int spk_alloc, char *buf, int buflen) in snd_hdac_print_channel_allocation() argument
251 if (spk_alloc & (1 << i)) in snd_hdac_print_channel_allocation()
268 int spk_alloc, int channels) in hdmi_channel_allocation_spk_alloc_blk() argument
288 if (spk_alloc & (1 << i)) in hdmi_channel_allocation_spk_alloc_blk()
315 snd_hdac_print_channel_allocation(spk_alloc, buf, sizeof(buf)); in hdmi_channel_allocation_spk_alloc_blk()
586 int snd_hdac_channel_allocation(struct hdac_device *hdac, int spk_alloc, in snd_hdac_channel_allocation() argument
595 spk_alloc, channels); in snd_hdac_channel_allocation()
650 static int spk_mask_from_spk_alloc(int spk_alloc) in spk_mask_from_spk_alloc() argument
656 if (spk_alloc & (1 << i)) in spk_mask_from_spk_alloc()
673 int spk_alloc, spk_mask; in hdmi_chmap_ctl_tlv() local
682 spk_alloc = chmap->ops.get_spk_alloc(chmap->hdac, pcm_idx); in hdmi_chmap_ctl_tlv()
683 spk_mask = spk_mask_from_spk_alloc(spk_alloc); in hdmi_chmap_ctl_tlv()