Lines Matching refs:chs
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
906 val = amp_val_replace_channels(val, chs); in add_sw_ctl()
921 int chs = get_default_ch_nums(codec, path, NID_PATH_MUTE_CTL); in add_stereo_sw() local
922 return add_sw_ctl(codec, pfx, cidx, chs, path); in add_stereo_sw()
2053 int chs; in ch_mode_info() local
2060 chs = uinfo->value.enumerated.item * 2 + spec->min_channel_count; in ch_mode_info()
2061 sprintf(uinfo->value.enumerated.name, "%dch", chs); in ch_mode_info()
3291 unsigned int chs = inv_dmic ? 1 : 3; in add_single_cap_ctl() local
3304 amp_val_replace_channels(ctl, chs)); in add_single_cap_ctl()