Searched refs:ca (Results 1 – 9 of 9) sorted by relevance
/sound/hda/ |
D | hdmi_chmap.c | 235 static int get_channel_allocation_order(int ca) in get_channel_allocation_order() argument 240 if (channel_allocations[i].ca_index == ca) in get_channel_allocation_order() 271 int ca = 0; in hdmi_channel_allocation_spk_alloc_blk() local 297 ca = channel_allocations[i].ca_index; in hdmi_channel_allocation_spk_alloc_blk() 302 if (!ca) { in hdmi_channel_allocation_spk_alloc_blk() 309 ca = channel_allocations[i].ca_index; in hdmi_channel_allocation_spk_alloc_blk() 317 ca, channels, buf); in hdmi_channel_allocation_spk_alloc_blk() 319 return ca; in hdmi_channel_allocation_spk_alloc_blk() 341 int ca) in hdmi_std_setup_channel_mapping() argument 349 order = get_channel_allocation_order(ca); in hdmi_std_setup_channel_mapping() [all …]
|
/sound/pci/ctxfi/ |
D | cthw20k2.c | 90 u16 ca:1; member 101 unsigned int ca; member 297 static int src_set_ca(void *blk, unsigned int ca) in src_set_ca() argument 301 set_field(&ctl->ca, SRCCA_CA, ca); in src_set_ca() 302 ctl->dirty.bf.ca = 1; in src_set_ca() 400 if (ctl->dirty.bf.ca) { in src_commit_write() 401 hw_write_20kx(hw, SRC_CA+idx*0x100, ctl->ca); in src_commit_write() 402 ctl->dirty.bf.ca = 0; in src_commit_write() 424 ctl->ca = hw_read_20kx(hw, SRC_CA+idx*0x100); in src_get_ca() 425 ctl->dirty.bf.ca = 0; in src_get_ca() [all …]
|
D | cthw20k1.c | 90 u16 ca:1; member 101 unsigned int ca; member 297 static int src_set_ca(void *blk, unsigned int ca) in src_set_ca() argument 301 set_field(&ctl->ca, SRCCA_CA, ca); in src_set_ca() 302 ctl->dirty.bf.ca = 1; in src_set_ca() 400 if (ctl->dirty.bf.ca) { in src_commit_write() 401 hw_write_20kx(hw, SRCCA+idx*0x100, ctl->ca); in src_commit_write() 402 ctl->dirty.bf.ca = 0; in src_commit_write() 424 ctl->ca = hw_read_20kx(hw, SRCCA+idx*0x100); in src_get_ca() 425 ctl->dirty.bf.ca = 0; in src_get_ca() [all …]
|
D | ctsrc.h | 67 int (*set_ca)(struct src *src, unsigned int ca);
|
D | cthardware.h | 104 int (*src_set_ca)(void *blk, unsigned int ca);
|
D | ctsrc.c | 128 static int src_set_ca(struct src *src, unsigned int ca) in src_set_ca() argument 133 hw->src_set_ca(src->rsc.ctrl_blk, ca); in src_set_ca()
|
/sound/pci/hda/ |
D | patch_hdmi.c | 114 int ca, int active_channels, int conn_type); 661 int ca, int active_channels, in hdmi_pin_setup_infoframe() argument 674 hdmi_ai->CA = ca; in hdmi_pin_setup_infoframe() 683 dp_ai->CA = ca; in hdmi_pin_setup_infoframe() 700 active_channels, ca); in hdmi_pin_setup_infoframe() 718 int ca; in hdmi_setup_audio_infoframe() local 731 ca = snd_hdac_channel_allocation(&codec->core, in hdmi_setup_audio_infoframe() 735 active_channels = snd_hdac_get_active_channels(ca); in hdmi_setup_audio_infoframe() 745 pin_nid, non_pcm, ca, channels, in hdmi_setup_audio_infoframe() 748 spec->ops.pin_setup_infoframe(codec, pin_nid, ca, active_channels, in hdmi_setup_audio_infoframe() [all …]
|
/sound/x86/ |
D | intel_hdmi_audio.c | 427 int ca = 0; in had_channel_allocation() local 453 ca = channel_allocations[i].ca_index; in had_channel_allocation() 458 dev_dbg(intelhaddata->dev, "select CA 0x%x for %d\n", ca, channels); in had_channel_allocation() 460 return ca; in had_channel_allocation() 606 int ca; in had_prog_dip() local 612 ca = had_channel_allocation(intelhaddata, channels); in had_prog_dip() 615 frame2.regval = (substream->runtime->channels - 1) | (ca << 24); in had_prog_dip() 619 frame3.regx.chnl_alloc = ca; in had_prog_dip()
|
/sound/soc/codecs/ |
D | hdac_hdmi.c | 361 int channels, ca; in hdac_hdmi_setup_audio_infoframe() local 363 ca = snd_hdac_channel_allocation(&hdac->hdac, port->eld.info.spk_alloc, in hdac_hdmi_setup_audio_infoframe() 366 channels = snd_hdac_get_active_channels(ca); in hdac_hdmi_setup_audio_infoframe() 369 snd_hdac_setup_channel_mapping(&hdmi->chmap, pin->nid, false, ca, in hdac_hdmi_setup_audio_infoframe() 380 frame.channel_allocation = ca; in hdac_hdmi_setup_audio_infoframe() 394 dp_ai.CA = ca; in hdac_hdmi_setup_audio_infoframe()
|