Searched refs:spk_alloc (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/sound/hda/ |
D | hdmi_chmap.c | 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 [all …]
|
/linux-6.1.9/sound/pci/hda/ |
D | hda_eld.c | 248 e->spk_alloc = GRAB_BITS(buf, 7, 0, 7); in snd_hdmi_parse_eld() 279 if (!e->spk_alloc) in snd_hdmi_parse_eld() 280 e->spk_alloc = 0xffff; in snd_hdmi_parse_eld() 404 if (e->spk_alloc) { in snd_hdmi_show_eld() 406 snd_hdac_print_channel_allocation(e->spk_alloc, buf, sizeof(buf)); in snd_hdmi_show_eld() 485 snd_hdac_print_channel_allocation(e->spk_alloc, buf, sizeof(buf)); in snd_hdmi_print_eld_info() 486 snd_iprintf(buffer, "speakers\t\t[0x%x]%s\n", e->spk_alloc, buf); in snd_hdmi_print_eld_info() 527 e->spk_alloc = val; in snd_hdmi_write_eld_info()
|
D | hda_local.h | 687 int spk_alloc; member 722 void snd_print_channel_allocation(int spk_alloc, char *buf, int buflen);
|
D | patch_hdmi.c | 764 eld->info.spk_alloc, channels, in hdmi_setup_audio_infoframe() 2241 return per_pin->sink_eld.info.spk_alloc; in hdmi_get_spk_alloc()
|
/linux-6.1.9/include/sound/ |
D | hda_chmap.h | 65 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-6.1.9/sound/soc/codecs/ |
D | hdmi-codec.c | 309 static unsigned long hdmi_codec_spk_mask_from_alloc(int spk_alloc) in hdmi_codec_spk_mask_from_alloc() argument 319 if (spk_alloc & (1 << i)) in hdmi_codec_spk_mask_from_alloc() 328 u8 spk_alloc; in hdmi_codec_eld_chmap() local 331 spk_alloc = drm_eld_get_spk_alloc(hcp->eld); in hdmi_codec_eld_chmap() 332 spk_mask = hdmi_codec_spk_mask_from_alloc(spk_alloc); in hdmi_codec_eld_chmap() 345 u8 spk_alloc; in hdmi_codec_get_ch_alloc_table_idx() local 349 spk_alloc = drm_eld_get_spk_alloc(hcp->eld); in hdmi_codec_get_ch_alloc_table_idx() 350 spk_mask = hdmi_codec_spk_mask_from_alloc(spk_alloc); in hdmi_codec_get_ch_alloc_table_idx() 354 if (!spk_alloc && cap->ca_id == 0) in hdmi_codec_get_ch_alloc_table_idx()
|
D | hdac_hdmi.c | 64 u8 spk_alloc; member 372 ca = snd_hdac_channel_allocation(hdev, port->eld.info.spk_alloc, in hdac_hdmi_setup_audio_infoframe() 1240 port->eld.info.spk_alloc = port->eld.eld_buffer[DRM_ELD_SPEAKER]; in hdac_hdmi_parse_eld() 2125 return port->eld.info.spk_alloc; in hdac_hdmi_get_spk_alloc()
|