D | hda_generic.c | 825 int cidx, unsigned long val) in add_control() argument 832 knew->index = cidx; in add_control() 841 const char *sfx, int cidx, unsigned long val) in add_control_with_pfx() argument 845 if (!add_control(spec, type, name, cidx, val)) in add_control_with_pfx() 854 #define __add_pb_vol_ctrl(spec, type, pfx, cidx, val) \ argument 855 add_control_with_pfx(spec, type, pfx, "Playback", "Volume", cidx, val) 856 #define __add_pb_sw_ctrl(spec, type, pfx, cidx, val) \ argument 857 add_control_with_pfx(spec, type, pfx, "Playback", "Switch", cidx, val) 859 static int add_vol_ctl(struct hda_codec *codec, const char *pfx, int cidx, in add_vol_ctl() argument 869 return __add_pb_vol_ctrl(codec->spec, HDA_CTL_WIDGET_VOL, pfx, cidx, val); in add_vol_ctl() [all …]
|