Lines Matching defs:kcontrol

32 static int snd_emu10k1_spdif_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
39 static int snd_emu10k1_spdif_get(struct snd_kcontrol *kcontrol,
42 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
43 unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
58 static int snd_emu10k1_spdif_get_mask(struct snd_kcontrol *kcontrol,
378 static int snd_emu1010_input_output_source_info(struct snd_kcontrol *kcontrol,
381 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
389 static int snd_emu1010_output_source_get(struct snd_kcontrol *kcontrol,
392 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
395 channel = (kcontrol->private_value) & 0xff;
405 static int snd_emu1010_output_source_put(struct snd_kcontrol *kcontrol,
408 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
417 channel = (kcontrol->private_value) & 0xff;
435 static int snd_emu1010_input_source_get(struct snd_kcontrol *kcontrol,
438 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
441 channel = (kcontrol->private_value) & 0xff;
449 static int snd_emu1010_input_source_put(struct snd_kcontrol *kcontrol,
452 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
461 channel = (kcontrol->private_value) & 0xff;
577 static int snd_emu1010_adc_pads_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
579 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
580 unsigned int mask = kcontrol->private_value & 0xff;
585 static int snd_emu1010_adc_pads_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
587 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
588 unsigned int mask = kcontrol->private_value & 0xff;
625 static int snd_emu1010_dac_pads_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
627 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
628 unsigned int mask = kcontrol->private_value & 0xff;
633 static int snd_emu1010_dac_pads_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
635 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
636 unsigned int mask = kcontrol->private_value & 0xff;
673 static int snd_emu1010_internal_clock_info(struct snd_kcontrol *kcontrol,
683 static int snd_emu1010_internal_clock_get(struct snd_kcontrol *kcontrol,
686 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
692 static int snd_emu1010_internal_clock_put(struct snd_kcontrol *kcontrol,
695 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
795 static int snd_emu1010_optical_out_info(struct snd_kcontrol *kcontrol,
805 static int snd_emu1010_optical_out_get(struct snd_kcontrol *kcontrol,
808 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
814 static int snd_emu1010_optical_out_put(struct snd_kcontrol *kcontrol,
817 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
846 static int snd_emu1010_optical_in_info(struct snd_kcontrol *kcontrol,
856 static int snd_emu1010_optical_in_get(struct snd_kcontrol *kcontrol,
859 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
865 static int snd_emu1010_optical_in_put(struct snd_kcontrol *kcontrol,
868 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
897 static int snd_audigy_i2c_capture_source_info(struct snd_kcontrol *kcontrol,
912 static int snd_audigy_i2c_capture_source_get(struct snd_kcontrol *kcontrol,
915 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
921 static int snd_audigy_i2c_capture_source_put(struct snd_kcontrol *kcontrol,
924 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
976 static int snd_audigy_i2c_volume_info(struct snd_kcontrol *kcontrol,
986 static int snd_audigy_i2c_volume_get(struct snd_kcontrol *kcontrol,
989 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
992 source_id = kcontrol->private_value;
1003 static int snd_audigy_i2c_volume_put(struct snd_kcontrol *kcontrol,
1006 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
1012 source_id = kcontrol->private_value;
1060 static int snd_audigy_spdif_output_rate_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
1067 static int snd_audigy_spdif_output_rate_get(struct snd_kcontrol *kcontrol,
1070 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
1094 static int snd_audigy_spdif_output_rate_put(struct snd_kcontrol *kcontrol,
1097 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
1140 static int snd_emu10k1_spdif_put(struct snd_kcontrol *kcontrol,
1143 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
1144 unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
1217 static int snd_emu10k1_send_routing_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
1219 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
1227 static int snd_emu10k1_send_routing_get(struct snd_kcontrol *kcontrol,
1231 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
1233 &emu->pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)];
1247 static int snd_emu10k1_send_routing_put(struct snd_kcontrol *kcontrol,
1251 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
1253 &emu->pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)];
1293 static int snd_emu10k1_send_volume_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
1295 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
1303 static int snd_emu10k1_send_volume_get(struct snd_kcontrol *kcontrol,
1307 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
1309 &emu->pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)];
1320 static int snd_emu10k1_send_volume_put(struct snd_kcontrol *kcontrol,
1324 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
1326 &emu->pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)];
1364 static int snd_emu10k1_attn_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
1373 static int snd_emu10k1_attn_get(struct snd_kcontrol *kcontrol,
1376 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
1378 &emu->pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)];
1389 static int snd_emu10k1_attn_put(struct snd_kcontrol *kcontrol,
1393 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
1395 &emu->pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)];
1431 static int snd_emu10k1_efx_send_routing_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
1433 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
1441 static int snd_emu10k1_efx_send_routing_get(struct snd_kcontrol *kcontrol,
1445 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
1447 &emu->efx_pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)];
1460 static int snd_emu10k1_efx_send_routing_put(struct snd_kcontrol *kcontrol,
1464 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
1465 int ch = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
1501 static int snd_emu10k1_efx_send_volume_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
1503 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
1511 static int snd_emu10k1_efx_send_volume_get(struct snd_kcontrol *kcontrol,
1515 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
1517 &emu->efx_pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)];
1528 static int snd_emu10k1_efx_send_volume_put(struct snd_kcontrol *kcontrol,
1532 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
1533 int ch = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
1568 static int snd_emu10k1_efx_attn_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)
1577 static int snd_emu10k1_efx_attn_get(struct snd_kcontrol *kcontrol,
1580 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
1582 &emu->efx_pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)];
1591 static int snd_emu10k1_efx_attn_put(struct snd_kcontrol *kcontrol,
1595 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
1596 int ch = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id);
1628 static int snd_emu10k1_shared_spdif_get(struct snd_kcontrol *kcontrol,
1631 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
1644 static int snd_emu10k1_shared_spdif_put(struct snd_kcontrol *kcontrol,
1648 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
1702 static int snd_audigy_capture_boost_get(struct snd_kcontrol *kcontrol,
1705 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
1714 static int snd_audigy_capture_boost_put(struct snd_kcontrol *kcontrol,
1717 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);