Searched refs:ca (Results 1 – 9 of 9) sorted by relevance
/sound/hda/ |
D | hdmi_chmap.c | 236 static int get_channel_allocation_order(int ca) in get_channel_allocation_order() argument 241 if (channel_allocations[i].ca_index == ca) in get_channel_allocation_order() 272 int ca = 0; in hdmi_channel_allocation_spk_alloc_blk() local 298 ca = channel_allocations[i].ca_index; in hdmi_channel_allocation_spk_alloc_blk() 303 if (!ca) { in hdmi_channel_allocation_spk_alloc_blk() 310 ca = channel_allocations[i].ca_index; 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 350 order = get_channel_allocation_order(ca); in hdmi_std_setup_channel_mapping() [all …]
|
/sound/pci/ctxfi/ |
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 …]
|
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 …]
|
D | ctsrc.h | 63 int (*set_ca)(struct src *src, unsigned int ca);
|
D | cthardware.h | 101 int (*src_set_ca)(void *blk, unsigned int ca);
|
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/ |
D | intel_hdmi_audio.c | 420 int ca = 0; in had_channel_allocation() local 446 ca = channel_allocations[i].ca_index; in had_channel_allocation() 451 dev_dbg(intelhaddata->dev, "select CA 0x%x for %d\n", ca, channels); in had_channel_allocation() 453 return ca; in had_channel_allocation() 599 int ca; in had_prog_dip() local 605 ca = had_channel_allocation(intelhaddata, channels); in had_prog_dip() 608 frame2.regval = (substream->runtime->channels - 1) | (ca << 24); in had_prog_dip() 612 frame3.regx.chnl_alloc = ca; in had_prog_dip()
|
/sound/pci/hda/ |
D | patch_hdmi.c | 102 int ca, int active_channels, int conn_type); 673 int ca, int active_channels, in hdmi_pin_setup_infoframe() argument 695 hdmi_ai->CA = ca; in hdmi_pin_setup_infoframe() 704 dp_ai->CA = ca; in hdmi_pin_setup_infoframe() 720 __func__, pin_nid, active_channels, ca); in hdmi_pin_setup_infoframe() 739 int ca; in hdmi_setup_audio_infoframe() local 754 ca = snd_hdac_channel_allocation(&codec->core, in hdmi_setup_audio_infoframe() 758 active_channels = snd_hdac_get_active_channels(ca); in hdmi_setup_audio_infoframe() 768 pin_nid, non_pcm, ca, channels, in hdmi_setup_audio_infoframe() 772 ca, active_channels, eld->info.conn_type); in hdmi_setup_audio_infoframe() [all …]
|
/sound/soc/codecs/ |
D | hdac_hdmi.c | 370 int channels, ca; in hdac_hdmi_setup_audio_infoframe() local 372 ca = snd_hdac_channel_allocation(hdev, port->eld.info.spk_alloc, in hdac_hdmi_setup_audio_infoframe() 375 channels = snd_hdac_get_active_channels(ca); in hdac_hdmi_setup_audio_infoframe() 378 snd_hdac_setup_channel_mapping(&hdmi->chmap, pin->nid, false, ca, in hdac_hdmi_setup_audio_infoframe() 389 frame.channel_allocation = ca; in hdac_hdmi_setup_audio_infoframe() 403 dp_ai.CA = ca; in hdac_hdmi_setup_audio_infoframe()
|