• Home
  • Raw
  • Download

Lines Matching refs:kcontrol

32 static int snd_emu10k1_spdif_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo)  in snd_emu10k1_spdif_info()  argument
39 static int snd_emu10k1_spdif_get(struct snd_kcontrol *kcontrol, in snd_emu10k1_spdif_get() argument
42 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_spdif_get()
43 unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in snd_emu10k1_spdif_get()
58 static int snd_emu10k1_spdif_get_mask(struct snd_kcontrol *kcontrol, in snd_emu10k1_spdif_get_mask() argument
378 static int snd_emu1010_input_output_source_info(struct snd_kcontrol *kcontrol, in snd_emu1010_input_output_source_info() argument
381 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_input_output_source_info()
389 static int snd_emu1010_output_source_get(struct snd_kcontrol *kcontrol, in snd_emu1010_output_source_get() argument
392 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_output_source_get()
395 channel = (kcontrol->private_value) & 0xff; in snd_emu1010_output_source_get()
405 static int snd_emu1010_output_source_put(struct snd_kcontrol *kcontrol, in snd_emu1010_output_source_put() argument
408 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_output_source_put()
417 channel = (kcontrol->private_value) & 0xff; in snd_emu1010_output_source_put()
435 static int snd_emu1010_input_source_get(struct snd_kcontrol *kcontrol, in snd_emu1010_input_source_get() argument
438 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_input_source_get()
441 channel = (kcontrol->private_value) & 0xff; in snd_emu1010_input_source_get()
449 static int snd_emu1010_input_source_put(struct snd_kcontrol *kcontrol, in snd_emu1010_input_source_put() argument
452 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_input_source_put()
461 channel = (kcontrol->private_value) & 0xff; in snd_emu1010_input_source_put()
577 static int snd_emu1010_adc_pads_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucont… in snd_emu1010_adc_pads_get() argument
579 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_adc_pads_get()
580 unsigned int mask = kcontrol->private_value & 0xff; in snd_emu1010_adc_pads_get()
585 static int snd_emu1010_adc_pads_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucont… in snd_emu1010_adc_pads_put() argument
587 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_adc_pads_put()
588 unsigned int mask = kcontrol->private_value & 0xff; in snd_emu1010_adc_pads_put()
625 static int snd_emu1010_dac_pads_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucont… in snd_emu1010_dac_pads_get() argument
627 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_dac_pads_get()
628 unsigned int mask = kcontrol->private_value & 0xff; in snd_emu1010_dac_pads_get()
633 static int snd_emu1010_dac_pads_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucont… in snd_emu1010_dac_pads_put() argument
635 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_dac_pads_put()
636 unsigned int mask = kcontrol->private_value & 0xff; in snd_emu1010_dac_pads_put()
673 static int snd_emu1010_internal_clock_info(struct snd_kcontrol *kcontrol, in snd_emu1010_internal_clock_info() argument
683 static int snd_emu1010_internal_clock_get(struct snd_kcontrol *kcontrol, in snd_emu1010_internal_clock_get() argument
686 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_internal_clock_get()
692 static int snd_emu1010_internal_clock_put(struct snd_kcontrol *kcontrol, in snd_emu1010_internal_clock_put() argument
695 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_internal_clock_put()
795 static int snd_emu1010_optical_out_info(struct snd_kcontrol *kcontrol, in snd_emu1010_optical_out_info() argument
805 static int snd_emu1010_optical_out_get(struct snd_kcontrol *kcontrol, in snd_emu1010_optical_out_get() argument
808 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_optical_out_get()
814 static int snd_emu1010_optical_out_put(struct snd_kcontrol *kcontrol, in snd_emu1010_optical_out_put() argument
817 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_optical_out_put()
846 static int snd_emu1010_optical_in_info(struct snd_kcontrol *kcontrol, in snd_emu1010_optical_in_info() argument
856 static int snd_emu1010_optical_in_get(struct snd_kcontrol *kcontrol, in snd_emu1010_optical_in_get() argument
859 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_optical_in_get()
865 static int snd_emu1010_optical_in_put(struct snd_kcontrol *kcontrol, in snd_emu1010_optical_in_put() argument
868 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_optical_in_put()
897 static int snd_audigy_i2c_capture_source_info(struct snd_kcontrol *kcontrol, in snd_audigy_i2c_capture_source_info() argument
912 static int snd_audigy_i2c_capture_source_get(struct snd_kcontrol *kcontrol, in snd_audigy_i2c_capture_source_get() argument
915 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_audigy_i2c_capture_source_get()
921 static int snd_audigy_i2c_capture_source_put(struct snd_kcontrol *kcontrol, in snd_audigy_i2c_capture_source_put() argument
924 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_audigy_i2c_capture_source_put()
976 static int snd_audigy_i2c_volume_info(struct snd_kcontrol *kcontrol, in snd_audigy_i2c_volume_info() argument
986 static int snd_audigy_i2c_volume_get(struct snd_kcontrol *kcontrol, in snd_audigy_i2c_volume_get() argument
989 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_audigy_i2c_volume_get()
992 source_id = kcontrol->private_value; in snd_audigy_i2c_volume_get()
1003 static int snd_audigy_i2c_volume_put(struct snd_kcontrol *kcontrol, in snd_audigy_i2c_volume_put() argument
1006 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_audigy_i2c_volume_put()
1012 source_id = kcontrol->private_value; in snd_audigy_i2c_volume_put()
1060 static int snd_audigy_spdif_output_rate_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_inf…
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);
1141 static int snd_emu10k1_spdif_put(struct snd_kcontrol *kcontrol, in snd_emu10k1_spdif_put() argument
1144 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_spdif_put()
1145 unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in snd_emu10k1_spdif_put()
1218 static int snd_emu10k1_send_routing_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *u… in snd_emu10k1_send_routing_info() argument
1220 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_send_routing_info()
1228 static int snd_emu10k1_send_routing_get(struct snd_kcontrol *kcontrol, in snd_emu10k1_send_routing_get() argument
1232 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_send_routing_get()
1234 &emu->pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)]; in snd_emu10k1_send_routing_get()
1248 static int snd_emu10k1_send_routing_put(struct snd_kcontrol *kcontrol, in snd_emu10k1_send_routing_put() argument
1252 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_send_routing_put()
1254 &emu->pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)]; in snd_emu10k1_send_routing_put()
1294 static int snd_emu10k1_send_volume_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *ui… in snd_emu10k1_send_volume_info() argument
1296 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_send_volume_info()
1304 static int snd_emu10k1_send_volume_get(struct snd_kcontrol *kcontrol, in snd_emu10k1_send_volume_get() argument
1308 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_send_volume_get()
1310 &emu->pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)]; in snd_emu10k1_send_volume_get()
1321 static int snd_emu10k1_send_volume_put(struct snd_kcontrol *kcontrol, in snd_emu10k1_send_volume_put() argument
1325 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_send_volume_put()
1327 &emu->pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)]; in snd_emu10k1_send_volume_put()
1365 static int snd_emu10k1_attn_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_emu10k1_attn_info() argument
1374 static int snd_emu10k1_attn_get(struct snd_kcontrol *kcontrol, in snd_emu10k1_attn_get() argument
1377 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_attn_get()
1379 &emu->pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)]; in snd_emu10k1_attn_get()
1390 static int snd_emu10k1_attn_put(struct snd_kcontrol *kcontrol, in snd_emu10k1_attn_put() argument
1394 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_attn_put()
1396 &emu->pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)]; in snd_emu10k1_attn_put()
1432 static int snd_emu10k1_efx_send_routing_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_inf… in snd_emu10k1_efx_send_routing_info() argument
1434 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_efx_send_routing_info()
1442 static int snd_emu10k1_efx_send_routing_get(struct snd_kcontrol *kcontrol, in snd_emu10k1_efx_send_routing_get() argument
1446 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_efx_send_routing_get()
1448 &emu->efx_pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)]; in snd_emu10k1_efx_send_routing_get()
1461 static int snd_emu10k1_efx_send_routing_put(struct snd_kcontrol *kcontrol, in snd_emu10k1_efx_send_routing_put() argument
1465 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_efx_send_routing_put()
1466 int ch = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in snd_emu10k1_efx_send_routing_put()
1502 static int snd_emu10k1_efx_send_volume_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info… in snd_emu10k1_efx_send_volume_info() argument
1504 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_efx_send_volume_info()
1512 static int snd_emu10k1_efx_send_volume_get(struct snd_kcontrol *kcontrol, in snd_emu10k1_efx_send_volume_get() argument
1516 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_efx_send_volume_get()
1518 &emu->efx_pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)]; in snd_emu10k1_efx_send_volume_get()
1529 static int snd_emu10k1_efx_send_volume_put(struct snd_kcontrol *kcontrol, in snd_emu10k1_efx_send_volume_put() argument
1533 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_efx_send_volume_put()
1534 int ch = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in snd_emu10k1_efx_send_volume_put()
1569 static int snd_emu10k1_efx_attn_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_emu10k1_efx_attn_info() argument
1578 static int snd_emu10k1_efx_attn_get(struct snd_kcontrol *kcontrol, in snd_emu10k1_efx_attn_get() argument
1581 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_efx_attn_get()
1583 &emu->efx_pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)]; in snd_emu10k1_efx_attn_get()
1592 static int snd_emu10k1_efx_attn_put(struct snd_kcontrol *kcontrol, in snd_emu10k1_efx_attn_put() argument
1596 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_efx_attn_put()
1597 int ch = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in snd_emu10k1_efx_attn_put()
1629 static int snd_emu10k1_shared_spdif_get(struct snd_kcontrol *kcontrol, in snd_emu10k1_shared_spdif_get() argument
1632 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_shared_spdif_get()
1645 static int snd_emu10k1_shared_spdif_put(struct snd_kcontrol *kcontrol, in snd_emu10k1_shared_spdif_put() argument
1649 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_shared_spdif_put()
1703 static int snd_audigy_capture_boost_get(struct snd_kcontrol *kcontrol, in snd_audigy_capture_boost_get() argument
1706 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_audigy_capture_boost_get()
1715 static int snd_audigy_capture_boost_put(struct snd_kcontrol *kcontrol, in snd_audigy_capture_boost_put() argument
1718 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_audigy_capture_boost_put()