Home
last modified time | relevance | path

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

/linux/sound/hda/
H A Dhdmi_chmap.c247 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
[all …]
/linux/include/sound/
H A Dhda_chmap.h65 int snd_hdac_channel_allocation(struct hdac_device *hdac, int spk_alloc,
73 void snd_hdac_print_channel_allocation(int spk_alloc, char *buf, int buflen);
/linux/sound/soc/codecs/
H A Dhdmi-codec.c325 static unsigned long hdmi_codec_spk_mask_from_alloc(int spk_alloc) in hdmi_codec_spk_mask_from_alloc() argument
335 if (spk_alloc & (1 << i)) in hdmi_codec_spk_mask_from_alloc()
344 u8 spk_alloc; in hdmi_codec_eld_chmap() local
347 spk_alloc = drm_eld_get_spk_alloc(hcp->eld); in hdmi_codec_eld_chmap()
348 spk_mask = hdmi_codec_spk_mask_from_alloc(spk_alloc); in hdmi_codec_eld_chmap()
361 u8 spk_alloc; in hdmi_codec_get_ch_alloc_table_idx() local
365 spk_alloc = drm_eld_get_spk_alloc(hcp->eld); in hdmi_codec_get_ch_alloc_table_idx()
366 spk_mask = hdmi_codec_spk_mask_from_alloc(spk_alloc); in hdmi_codec_get_ch_alloc_table_idx()
370 if (!spk_alloc && cap->ca_id == 0) in hdmi_codec_get_ch_alloc_table_idx()
/linux/sound/pci/hda/
H A Dhda_local.h705 void snd_print_channel_allocation(int spk_alloc, char *buf, int buflen);
H A Dpatch_hdmi.c765 eld->info.spk_alloc, channels, in hdmi_setup_audio_infoframe()
2253 return per_pin->sink_eld.info.spk_alloc; in hdmi_get_spk_alloc()