• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/sound/pci/hda/

Lines Matching defs:kcontrol

260 static int alc_mux_enum_info(struct snd_kcontrol *kcontrol,
263 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
265 unsigned int mux_idx = snd_ctl_get_ioffidx(kcontrol, &uinfo->id);
271 static int alc_mux_enum_get(struct snd_kcontrol *kcontrol,
274 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
276 unsigned int adc_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
282 static int alc_mux_enum_put(struct snd_kcontrol *kcontrol,
285 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
287 unsigned int adc_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
298 static int alc_ch_mode_info(struct snd_kcontrol *kcontrol,
301 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
307 static int alc_ch_mode_get(struct snd_kcontrol *kcontrol,
310 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
317 static int alc_ch_mode_put(struct snd_kcontrol *kcontrol,
320 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
378 static int alc_pin_mode_info(struct snd_kcontrol *kcontrol,
382 unsigned char dir = (kcontrol->private_value >> 16) & 0xff;
394 static int alc_pin_mode_get(struct snd_kcontrol *kcontrol,
398 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
399 hda_nid_t nid = kcontrol->private_value & 0xffff;
400 unsigned char dir = (kcontrol->private_value >> 16) & 0xff;
414 static int alc_pin_mode_put(struct snd_kcontrol *kcontrol,
418 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
419 hda_nid_t nid = kcontrol->private_value & 0xffff;
420 unsigned char dir = (kcontrol->private_value >> 16) & 0xff;
477 static int alc_gpio_data_info(struct snd_kcontrol *kcontrol,
487 static int alc_gpio_data_get(struct snd_kcontrol *kcontrol,
490 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
491 hda_nid_t nid = kcontrol->private_value & 0xffff;
492 unsigned char mask = (kcontrol->private_value >> 16) & 0xff;
500 static int alc_gpio_data_put(struct snd_kcontrol *kcontrol,
504 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
505 hda_nid_t nid = kcontrol->private_value & 0xffff;
506 unsigned char mask = (kcontrol->private_value >> 16) & 0xff;
538 static int alc_spdif_ctrl_info(struct snd_kcontrol *kcontrol,
548 static int alc_spdif_ctrl_get(struct snd_kcontrol *kcontrol,
551 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
552 hda_nid_t nid = kcontrol->private_value & 0xffff;
553 unsigned char mask = (kcontrol->private_value >> 16) & 0xff;
561 static int alc_spdif_ctrl_put(struct snd_kcontrol *kcontrol,
565 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
566 hda_nid_t nid = kcontrol->private_value & 0xffff;
567 unsigned char mask = (kcontrol->private_value >> 16) & 0xff;
2250 static int alc_test_pin_ctl_info(struct snd_kcontrol *kcontrol,
2266 static int alc_test_pin_ctl_get(struct snd_kcontrol *kcontrol,
2269 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
2270 hda_nid_t nid = (hda_nid_t)kcontrol->private_value;
2293 static int alc_test_pin_ctl_put(struct snd_kcontrol *kcontrol,
2296 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
2297 hda_nid_t nid = (hda_nid_t)kcontrol->private_value;
2322 static int alc_test_pin_src_info(struct snd_kcontrol *kcontrol,
2337 static int alc_test_pin_src_get(struct snd_kcontrol *kcontrol,
2340 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
2341 hda_nid_t nid = (hda_nid_t)kcontrol->private_value;
2349 static int alc_test_pin_src_put(struct snd_kcontrol *kcontrol,
2352 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
2353 hda_nid_t nid = (hda_nid_t)kcontrol->private_value;
4658 static int alc882_mux_enum_put(struct snd_kcontrol *kcontrol,
4661 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
4664 unsigned int adc_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
5529 static int alc883_mux_enum_put(struct snd_kcontrol *kcontrol,
5532 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
5535 unsigned int adc_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
7028 static int alc262_fujitsu_master_vol_put(struct snd_kcontrol *kcontrol,
7031 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
7047 static int alc262_fujitsu_master_sw_put(struct snd_kcontrol *kcontrol,
7050 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
8865 static int alc861vd_mux_enum_put(struct snd_kcontrol *kcontrol,
8868 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
8871 unsigned int adc_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
9775 static int alc662_mux_enum_put(struct snd_kcontrol *kcontrol,
9778 struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
9781 unsigned int adc_idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);