/sound/pci/hda/ |
D | hda_beep.c | 277 u8 chs = get_amp_channels(kcontrol); in snd_hda_mixer_amp_switch_put_beep() local 280 if (chs & 1) { in snd_hda_mixer_amp_switch_put_beep() 284 if (chs & 2) in snd_hda_mixer_amp_switch_put_beep()
|
D | patch_hdmi.c | 469 hda_nid_t cvt_nid, int chs) in hdmi_set_channel_count() argument 471 if (chs != hdmi_get_channel_count(codec, cvt_nid)) in hdmi_set_channel_count() 473 AC_VERB_SET_CVT_CHAN_COUNT, chs - 1); in hdmi_set_channel_count() 681 static int hdmi_manual_channel_allocation(int chs, unsigned char *map) in hdmi_manual_channel_allocation() argument 685 for (i = 0; i < chs; i++) { in hdmi_manual_channel_allocation() 694 if ((chs == channel_allocations[i].channels || in hdmi_manual_channel_allocation() 706 int chs, unsigned char *map) in hdmi_manual_setup_channel_mapping() argument 711 if (i < chs) in hdmi_manual_setup_channel_mapping() 1531 int chs, count = 0; in hdmi_chmap_ctl_tlv() local 1539 for (chs = 2; chs <= spec->channels_max; chs++) { in hdmi_chmap_ctl_tlv() [all …]
|
D | hda_local.h | 39 #define HDA_COMPOSE_AMP_VAL_OFS(nid,chs,idx,dir,ofs) \ argument 40 ((nid) | ((chs)<<16) | ((dir)<<18) | ((idx)<<19) | ((ofs)<<23)) 42 #define HDA_COMPOSE_AMP_VAL(nid,chs,idx,dir) \ argument 43 HDA_COMPOSE_AMP_VAL_OFS(nid, chs, idx, dir, 0)
|
D | hda_codec.c | 2144 u8 chs = get_amp_channels(kcontrol); in snd_hda_mixer_amp_volume_info() local 2149 uinfo->count = chs == 3 ? 2 : 1; in snd_hda_mixer_amp_volume_info() 2205 int chs = get_amp_channels(kcontrol); in snd_hda_mixer_amp_volume_get() local 2211 if (chs & 1) in snd_hda_mixer_amp_volume_get() 2213 if (chs & 2) in snd_hda_mixer_amp_volume_get() 2230 int chs = get_amp_channels(kcontrol); in snd_hda_mixer_amp_volume_put() local 2238 if (chs & 1) { in snd_hda_mixer_amp_volume_put() 2242 if (chs & 2) in snd_hda_mixer_amp_volume_put() 2822 int chs = get_amp_channels(kcontrol); in snd_hda_mixer_amp_switch_info() local 2825 uinfo->count = chs == 3 ? 2 : 1; in snd_hda_mixer_amp_switch_info() [all …]
|
D | hda_generic.c | 493 static unsigned int amp_val_replace_channels(unsigned int val, unsigned int chs) in amp_val_replace_channels() argument 496 val |= chs << 16; in amp_val_replace_channels() 860 unsigned int chs, struct nid_path *path) in add_vol_ctl() argument 868 val = amp_val_replace_channels(val, chs); in add_vol_ctl() 876 int chs = 1; /* mono (left only) */ in get_default_ch_nums() local 880 chs = 3; /* stereo */ in get_default_ch_nums() 882 return chs; in get_default_ch_nums() 888 int chs = get_default_ch_nums(codec, path, NID_PATH_VOL_CTL); in add_stereo_vol() local 889 return add_vol_ctl(codec, pfx, cidx, chs, path); in add_stereo_vol() 896 unsigned int chs, struct nid_path *path) in add_sw_ctl() argument [all …]
|
D | patch_ca0132.c | 2997 int chs = get_amp_channels(kcontrol); in voice_focus_ctl_info() local 2999 uinfo->count = chs == 3 ? 2 : 1; in voice_focus_ctl_info() 3032 int chs = get_amp_channels(kcontrol); in mic_svm_ctl_info() local 3034 uinfo->count = chs == 3 ? 2 : 1; in mic_svm_ctl_info() 3067 int chs = get_amp_channels(kcontrol); in equalizer_ctl_info() local 3069 uinfo->count = chs == 3 ? 2 : 1; in equalizer_ctl_info()
|
/sound/pci/ctxfi/ |
D | ctpcm.c | 429 int chs; in ct_alsa_pcm_create() local 456 chs = 2; in ct_alsa_pcm_create() 459 chs = 8; in ct_alsa_pcm_create() 475 err = snd_pcm_add_chmap_ctls(pcm, SNDRV_PCM_STREAM_PLAYBACK, map, chs, in ct_alsa_pcm_create()
|
/sound/pci/ice1712/ |
D | ice1724.c | 723 int i, chs, err; in snd_vt1724_pcm_hw_params() local 725 chs = params_channels(hw_params); in snd_vt1724_pcm_hw_params() 730 chs = chs / 2 - 1; in snd_vt1724_pcm_hw_params() 731 for (i = 0; i < chs; i++) { in snd_vt1724_pcm_hw_params() 1044 int chs, num_indeps; in snd_vt1724_playback_pro_open() local 1055 for (chs = 0; chs < num_indeps; chs++) { in snd_vt1724_playback_pro_open() 1056 if (ice->pcm_reserved[chs]) in snd_vt1724_playback_pro_open() 1059 chs = (chs + 1) * 2; in snd_vt1724_playback_pro_open() 1060 runtime->hw.channels_max = chs; in snd_vt1724_playback_pro_open() 1061 if (chs > 2) /* channels must be even */ in snd_vt1724_playback_pro_open()
|
/sound/pci/ |
D | intel8x0.c | 1546 int chs = 2; in snd_intel8x0_pcm1() local 1549 chs = 8; in snd_intel8x0_pcm1() 1551 chs = 6; in snd_intel8x0_pcm1() 1553 chs = 4; in snd_intel8x0_pcm1() 1556 snd_pcm_alt_chmaps, chs, 0, in snd_intel8x0_pcm1()
|