Home
last modified time | relevance | path

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

/linux/sound/hda/core/
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()
263 * eld->spk_alloc => (eld_speaker_allocation_bits[]) => spk_mask
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()
590 int snd_hdac_channel_allocation(struct hdac_device *hdac, int spk_alloc, in snd_hdac_channel_allocation()
599 spk_alloc, channels); in snd_hdac_channel_allocation()
654 static int spk_mask_from_spk_alloc(int spk_alloc) in spk_mask_from_spk_alloc()
660 if (spk_alloc in spk_mask_from_spk_alloc()
587 snd_hdac_channel_allocation(struct hdac_device * hdac,int spk_alloc,int channels,bool chmap_set,bool non_pcm,unsigned char * map) snd_hdac_channel_allocation() argument
651 spk_mask_from_spk_alloc(int spk_alloc) spk_mask_from_spk_alloc() argument
674 int spk_alloc, spk_mask; 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.c326 static unsigned long hdmi_codec_spk_mask_from_alloc(int spk_alloc) in hdmi_codec_spk_mask_from_alloc() argument
336 if (spk_alloc & (1 << i)) in hdmi_codec_spk_mask_from_alloc()
345 u8 spk_alloc; in hdmi_codec_eld_chmap() local
348 spk_alloc = drm_eld_get_spk_alloc(hcp->eld); in hdmi_codec_eld_chmap()
349 spk_mask = hdmi_codec_spk_mask_from_alloc(spk_alloc); in hdmi_codec_eld_chmap()
362 u8 spk_alloc; in hdmi_codec_get_ch_alloc_table_idx() local
366 spk_alloc = drm_eld_get_spk_alloc(hcp->eld); in hdmi_codec_get_ch_alloc_table_idx()
367 spk_mask = hdmi_codec_spk_mask_from_alloc(spk_alloc); in hdmi_codec_get_ch_alloc_table_idx()
371 if (!spk_alloc && cap->ca_id == 0) in hdmi_codec_get_ch_alloc_table_idx()
H A Dhdac_hdmi.c62 /* Currently only spk_alloc, more to be added */
64 u8 spk_alloc;
372 ca = snd_hdac_channel_allocation(hdev, port->eld.info.spk_alloc, in hdac_hdmi_setup_audio_infoframe()
1255 port->eld.info.spk_alloc = port->eld.eld_buffer[DRM_ELD_SPEAKER]; in hdac_hdmi_present_sense()
1835 return port->eld.info.spk_alloc;
63 u8 spk_alloc; global() member
/linux/sound/hda/codecs/hdmi/
H A Deld.c157 e->spk_alloc = val; in snd_hdmi_write_eld_info()
H A Dhdmi.c555 eld->info.spk_alloc, channels, in snd_hda_hdmi_setup_audio_infoframe()
1802 return per_pin->sink_eld.info.spk_alloc; in hdmi_get_spk_alloc()
/linux/sound/hda/common/
H A Dhda_local.h711 void snd_print_channel_allocation(int spk_alloc, char *buf, int buflen);