Lines Matching refs:chs
548 static unsigned int amp_val_replace_channels(unsigned int val, unsigned int chs) in amp_val_replace_channels() argument
551 val |= chs << 16; in amp_val_replace_channels()
1021 unsigned int chs, struct nid_path *path) in add_vol_ctl() argument
1029 val = amp_val_replace_channels(val, chs); in add_vol_ctl()
1037 int chs = 1; /* mono (left only) */ in get_default_ch_nums() local
1041 chs = 3; /* stereo */ in get_default_ch_nums()
1043 return chs; in get_default_ch_nums()
1049 int chs = get_default_ch_nums(codec, path, NID_PATH_VOL_CTL); in add_stereo_vol() local
1050 return add_vol_ctl(codec, pfx, cidx, chs, path); in add_stereo_vol()
1057 unsigned int chs, struct nid_path *path) in add_sw_ctl() argument
1067 val = amp_val_replace_channels(val, chs); in add_sw_ctl()
1082 int chs = get_default_ch_nums(codec, path, NID_PATH_MUTE_CTL); in add_stereo_sw() local
1083 return add_sw_ctl(codec, pfx, cidx, chs, path); in add_stereo_sw()
2334 int chs; in ch_mode_info() local
2341 chs = uinfo->value.enumerated.item * 2 + spec->min_channel_count; in ch_mode_info()
2342 sprintf(uinfo->value.enumerated.name, "%dch", chs); in ch_mode_info()
3629 unsigned int chs = inv_dmic ? 1 : 3; in add_single_cap_ctl() local
3642 amp_val_replace_channels(ctl, chs)); in add_single_cap_ctl()