| /sound/hda/core/ |
| A D | hdmi_chmap.c | 272 int ca = 0; in hdmi_channel_allocation_spk_alloc_blk() local 303 if (!ca) { in hdmi_channel_allocation_spk_alloc_blk() 318 ca, channels, buf); in hdmi_channel_allocation_spk_alloc_blk() 320 return ca; in hdmi_channel_allocation_spk_alloc_blk() 342 int ca) in hdmi_std_setup_channel_mapping() argument 508 int ca) in hdmi_manual_setup_channel_mapping() argument 590 int ca; in snd_hdac_channel_allocation() local 598 if (ca < 0) in snd_hdac_channel_allocation() 599 ca = 0; in snd_hdac_channel_allocation() 601 return ca; in snd_hdac_channel_allocation() [all …]
|
| /sound/hda/codecs/hdmi/ |
| A D | atihdmi.c | 240 hda_nid_t pin_nid, int dev_id, int ca, in atihdmi_pin_setup_infoframe() argument 244 snd_hda_codec_write(codec, pin_nid, 0, ATI_VERB_SET_CHANNEL_ALLOCATION, ca); in atihdmi_pin_setup_infoframe() 263 int ca, int chs, unsigned char *map) in atihdmi_paired_chmap_validate() argument 270 cap = snd_hdac_get_ch_alloc_from_ca(ca); in atihdmi_paired_chmap_validate()
|
| A D | nvhdmi.c | 41 int ca, int chs, unsigned char *map) in nvhdmi_chmap_validate() argument 43 if (ca == 0x00 && (map[0] != SNDRV_CHMAP_FL || map[1] != SNDRV_CHMAP_FR)) in nvhdmi_chmap_validate()
|
| A D | tegrahdmi.c | 222 int ca, int chs, unsigned char *map) in nvhdmi_chmap_validate() argument 224 if (ca == 0x00 && (map[0] != SNDRV_CHMAP_FL || map[1] != SNDRV_CHMAP_FR)) in nvhdmi_chmap_validate()
|
| A D | hdmi.c | 483 int ca, int active_channels, in hdmi_pin_setup_infoframe() argument 505 hdmi_ai->CA = ca; in hdmi_pin_setup_infoframe() 514 dp_ai->CA = ca; in hdmi_pin_setup_infoframe() 530 __func__, pin_nid, active_channels, ca); in hdmi_pin_setup_infoframe() 549 int ca; in snd_hda_hdmi_setup_audio_infoframe() local 564 ca = snd_hdac_channel_allocation(&codec->core, in snd_hda_hdmi_setup_audio_infoframe() 568 active_channels = snd_hdac_get_active_channels(ca); in snd_hda_hdmi_setup_audio_infoframe() 578 pin_nid, non_pcm, ca, channels, in snd_hda_hdmi_setup_audio_infoframe() 582 ca, active_channels, eld->info.conn_type); in snd_hda_hdmi_setup_audio_infoframe()
|
| A D | hdmi_local.h | 67 int ca, int active_channels, int conn_type);
|
| /sound/pci/ctxfi/ |
| A D | cthw20k1.c | 86 u16 ca:1; member 97 unsigned int ca; member 293 static int src_set_ca(void *blk, unsigned int ca) in src_set_ca() argument 297 set_field(&ctl->ca, SRCCA_CA, ca); in src_set_ca() 298 ctl->dirty.bf.ca = 1; in src_set_ca() 396 if (ctl->dirty.bf.ca) { in src_commit_write() 397 hw_write_20kx(hw, SRCCA+idx*0x100, ctl->ca); in src_commit_write() 398 ctl->dirty.bf.ca = 0; in src_commit_write() 420 ctl->ca = hw_read_20kx(hw, SRCCA+idx*0x100); in src_get_ca() 421 ctl->dirty.bf.ca = 0; in src_get_ca() [all …]
|
| A D | cthw20k2.c | 86 u16 ca:1; member 97 unsigned int ca; member 293 static int src_set_ca(void *blk, unsigned int ca) in src_set_ca() argument 297 set_field(&ctl->ca, SRCCA_CA, ca); in src_set_ca() 298 ctl->dirty.bf.ca = 1; in src_set_ca() 396 if (ctl->dirty.bf.ca) { in src_commit_write() 397 hw_write_20kx(hw, SRC_CA+idx*0x100, ctl->ca); in src_commit_write() 398 ctl->dirty.bf.ca = 0; in src_commit_write() 420 ctl->ca = hw_read_20kx(hw, SRC_CA+idx*0x100); in src_get_ca() 421 ctl->dirty.bf.ca = 0; in src_get_ca() [all …]
|
| A D | ctsrc.h | 63 int (*set_ca)(struct src *src, unsigned int ca);
|
| A D | cthardware.h | 101 int (*src_set_ca)(void *blk, unsigned int ca);
|
| A D | ctsrc.c | 124 static int src_set_ca(struct src *src, unsigned int ca) in src_set_ca() argument 129 hw->src_set_ca(src->rsc.ctrl_blk, ca); in src_set_ca()
|
| /sound/x86/ |
| A D | intel_hdmi_audio.c | 424 int ca = 0; in had_channel_allocation() local 450 ca = channel_allocations[i].ca_index; in had_channel_allocation() 455 dev_dbg(intelhaddata->dev, "select CA 0x%x for %d\n", ca, channels); in had_channel_allocation() 457 return ca; in had_channel_allocation() 603 int ca; in had_prog_dip() local 609 ca = had_channel_allocation(intelhaddata, channels); in had_prog_dip() 612 frame2.regval = (substream->runtime->channels - 1) | (ca << 24); in had_prog_dip() 616 frame3.regx.chnl_alloc = ca; in had_prog_dip()
|
| /sound/soc/codecs/ |
| A D | hdac_hdmi.c | 369 int channels, ca; in hdac_hdmi_setup_audio_infoframe() local 371 ca = snd_hdac_channel_allocation(hdev, port->eld.info.spk_alloc, in hdac_hdmi_setup_audio_infoframe() 374 channels = snd_hdac_get_active_channels(ca); in hdac_hdmi_setup_audio_infoframe() 377 snd_hdac_setup_channel_mapping(&hdmi->chmap, pin->nid, false, ca, in hdac_hdmi_setup_audio_infoframe() 388 frame.channel_allocation = ca; in hdac_hdmi_setup_audio_infoframe() 402 dp_ai.CA = ca; in hdac_hdmi_setup_audio_infoframe()
|