Lines Matching refs:spk_alloc
247 void snd_hdac_print_channel_allocation(int spk_alloc, char *buf, int buflen) in snd_hdac_print_channel_allocation() argument
252 if (spk_alloc & (1 << i)) in snd_hdac_print_channel_allocation()
269 int spk_alloc, int channels) in hdmi_channel_allocation_spk_alloc_blk() argument
289 if (spk_alloc & (1 << i)) in hdmi_channel_allocation_spk_alloc_blk()
316 snd_hdac_print_channel_allocation(spk_alloc, buf, sizeof(buf)); in hdmi_channel_allocation_spk_alloc_blk()
587 int snd_hdac_channel_allocation(struct hdac_device *hdac, int spk_alloc, in snd_hdac_channel_allocation() argument
596 spk_alloc, channels); in snd_hdac_channel_allocation()
651 static int spk_mask_from_spk_alloc(int spk_alloc) in spk_mask_from_spk_alloc() argument
657 if (spk_alloc & (1 << i)) in spk_mask_from_spk_alloc()
674 int spk_alloc, spk_mask; in hdmi_chmap_ctl_tlv() local
683 spk_alloc = chmap->ops.get_spk_alloc(chmap->hdac, pcm_idx); in hdmi_chmap_ctl_tlv()
684 spk_mask = spk_mask_from_spk_alloc(spk_alloc); in hdmi_chmap_ctl_tlv()