Lines Matching defs:cidx
980 int cidx, unsigned long val)
987 knew->index = cidx;
998 const char *sfx, int cidx, unsigned long val)
1006 if (!add_control(spec, type, name, cidx, val))
1015 #define __add_pb_vol_ctrl(spec, type, pfx, cidx, val) \
1016 add_control_with_pfx(spec, type, pfx, "Playback", "Volume", cidx, val)
1017 #define __add_pb_sw_ctrl(spec, type, pfx, cidx, val) \
1018 add_control_with_pfx(spec, type, pfx, "Playback", "Switch", cidx, val)
1020 static int add_vol_ctl(struct hda_codec *codec, const char *pfx, int cidx,
1030 return __add_pb_vol_ctrl(codec->spec, HDA_CTL_WIDGET_VOL, pfx, cidx, val);
1046 static int add_stereo_vol(struct hda_codec *codec, const char *pfx, int cidx,
1050 return add_vol_ctl(codec, pfx, cidx, chs, path);
1056 static int add_sw_ctl(struct hda_codec *codec, const char *pfx, int cidx,
1076 return __add_pb_sw_ctrl(codec->spec, type, pfx, cidx, val);
1080 int cidx, struct nid_path *path)
1083 return add_sw_ctl(codec, pfx, cidx, chs, path);
2153 const char *pfx, int cidx)
2161 err = add_stereo_vol(codec, pfx, cidx, path);
2164 err = add_stereo_sw(codec, pfx, cidx, path);