Lines Matching refs:cidx
994 int cidx, unsigned long val) in add_control() argument
1001 knew->index = cidx; in add_control()
1010 const char *sfx, int cidx, unsigned long val) in add_control_with_pfx() argument
1014 if (!add_control(spec, type, name, cidx, val)) in add_control_with_pfx()
1023 #define __add_pb_vol_ctrl(spec, type, pfx, cidx, val) \ argument
1024 add_control_with_pfx(spec, type, pfx, "Playback", "Volume", cidx, val)
1025 #define __add_pb_sw_ctrl(spec, type, pfx, cidx, val) \ argument
1026 add_control_with_pfx(spec, type, pfx, "Playback", "Switch", cidx, val)
1028 static int add_vol_ctl(struct hda_codec *codec, const char *pfx, int cidx, in add_vol_ctl() argument
1038 return __add_pb_vol_ctrl(codec->spec, HDA_CTL_WIDGET_VOL, pfx, cidx, val); in add_vol_ctl()
1054 static int add_stereo_vol(struct hda_codec *codec, const char *pfx, int cidx, in add_stereo_vol() argument
1058 return add_vol_ctl(codec, pfx, cidx, chs, path); in add_stereo_vol()
1064 static int add_sw_ctl(struct hda_codec *codec, const char *pfx, int cidx, in add_sw_ctl() argument
1084 return __add_pb_sw_ctrl(codec->spec, type, pfx, cidx, val); in add_sw_ctl()
1088 int cidx, struct nid_path *path) in add_stereo_sw() argument
1091 return add_sw_ctl(codec, pfx, cidx, chs, path); in add_stereo_sw()
2113 const char *pfx, int cidx) in create_extra_out() argument
2121 err = add_stereo_vol(codec, pfx, cidx, path); in create_extra_out()
2124 err = add_stereo_sw(codec, pfx, cidx, path); in create_extra_out()