Home
last modified time | relevance | path

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

/sound/hda/
Dhdmi_chmap.c235 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/
Dcthw20k2.c90 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 …]
Dcthw20k1.c90 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 …]
Dctsrc.h67 int (*set_ca)(struct src *src, unsigned int ca);
Dcthardware.h104 int (*src_set_ca)(void *blk, unsigned int ca);
Dctsrc.c128 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/
Dpatch_hdmi.c109 int ca, int active_channels, int conn_type);
628 int ca, int active_channels, in hdmi_pin_setup_infoframe() argument
641 hdmi_ai->CA = ca; in hdmi_pin_setup_infoframe()
650 dp_ai->CA = ca; in hdmi_pin_setup_infoframe()
667 active_channels, ca); in hdmi_pin_setup_infoframe()
685 int ca; in hdmi_setup_audio_infoframe() local
698 ca = snd_hdac_channel_allocation(&codec->core, in hdmi_setup_audio_infoframe()
702 active_channels = snd_hdac_get_active_channels(ca); in hdmi_setup_audio_infoframe()
712 pin_nid, non_pcm, ca, channels, in hdmi_setup_audio_infoframe()
715 spec->ops.pin_setup_infoframe(codec, pin_nid, ca, active_channels, in hdmi_setup_audio_infoframe()
[all …]
/sound/soc/codecs/
Dhdac_hdmi.c306 int channels, ca; in hdac_hdmi_setup_audio_infoframe() local
313 ca = snd_hdac_channel_allocation(&hdac->hdac, pin->eld.info.spk_alloc, in hdac_hdmi_setup_audio_infoframe()
316 channels = snd_hdac_get_active_channels(ca); in hdac_hdmi_setup_audio_infoframe()
319 snd_hdac_setup_channel_mapping(&hdmi->chmap, pin->nid, false, ca, in hdac_hdmi_setup_audio_infoframe()
330 frame.channel_allocation = ca; in hdac_hdmi_setup_audio_infoframe()
344 dp_ai.CA = ca; in hdac_hdmi_setup_audio_infoframe()