Home
last modified time | relevance | path

Searched refs:ca (Results 1 – 13 of 13) sorted by relevance

/sound/hda/core/
A Dhdmi_chmap.c272 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 Datihdmi.c240 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 Dnvhdmi.c41 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 Dtegrahdmi.c222 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 Dhdmi.c483 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 Dhdmi_local.h67 int ca, int active_channels, int conn_type);
/sound/pci/ctxfi/
A Dcthw20k1.c86 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 Dcthw20k2.c86 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 Dctsrc.h63 int (*set_ca)(struct src *src, unsigned int ca);
A Dcthardware.h101 int (*src_set_ca)(void *blk, unsigned int ca);
A Dctsrc.c124 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 Dintel_hdmi_audio.c424 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 Dhdac_hdmi.c369 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()

Completed in 56 milliseconds