Lines Matching refs:kcontrol
45 static int snd_emu10k1_spdif_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_emu10k1_spdif_info() argument
52 static int snd_emu10k1_spdif_get(struct snd_kcontrol *kcontrol, in snd_emu10k1_spdif_get() argument
55 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_spdif_get()
56 unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in snd_emu10k1_spdif_get()
68 static int snd_emu10k1_spdif_get_mask(struct snd_kcontrol *kcontrol, in snd_emu10k1_spdif_get_mask() argument
624 static int snd_emu1010_input_output_source_info(struct snd_kcontrol *kcontrol, in snd_emu1010_input_output_source_info() argument
627 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_input_output_source_info()
634 static int snd_emu1010_output_source_get(struct snd_kcontrol *kcontrol, in snd_emu1010_output_source_get() argument
637 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_output_source_get()
640 unsigned channel = kcontrol->private_value; in snd_emu1010_output_source_get()
648 static int snd_emu1010_output_source_put(struct snd_kcontrol *kcontrol, in snd_emu1010_output_source_put() argument
651 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_output_source_put()
655 unsigned channel = kcontrol->private_value; in snd_emu1010_output_source_put()
680 static int snd_emu1010_input_source_get(struct snd_kcontrol *kcontrol, in snd_emu1010_input_source_get() argument
683 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_input_source_get()
686 unsigned channel = kcontrol->private_value; in snd_emu1010_input_source_get()
694 static int snd_emu1010_input_source_put(struct snd_kcontrol *kcontrol, in snd_emu1010_input_source_put() argument
697 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_input_source_put()
701 unsigned channel = kcontrol->private_value; in snd_emu1010_input_source_put()
758 static int snd_emu1010_adc_pads_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucont… in snd_emu1010_adc_pads_get() argument
760 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_adc_pads_get()
761 unsigned int mask = snd_emu1010_adc_pad_regs[kcontrol->private_value]; in snd_emu1010_adc_pads_get()
767 static int snd_emu1010_adc_pads_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucont… in snd_emu1010_adc_pads_put() argument
769 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_adc_pads_put()
770 unsigned int mask = snd_emu1010_adc_pad_regs[kcontrol->private_value]; in snd_emu1010_adc_pads_put()
816 static int snd_emu1010_dac_pads_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucont… in snd_emu1010_dac_pads_get() argument
818 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_dac_pads_get()
819 unsigned int mask = snd_emu1010_dac_regs[kcontrol->private_value]; in snd_emu1010_dac_pads_get()
825 static int snd_emu1010_dac_pads_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucont… in snd_emu1010_dac_pads_put() argument
827 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_dac_pads_put()
828 unsigned int mask = snd_emu1010_dac_regs[kcontrol->private_value]; in snd_emu1010_dac_pads_put()
957 static int snd_emu1010_clock_source_info(struct snd_kcontrol *kcontrol, in snd_emu1010_clock_source_info() argument
960 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_clock_source_info()
967 static int snd_emu1010_clock_source_get(struct snd_kcontrol *kcontrol, in snd_emu1010_clock_source_get() argument
970 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_clock_source_get()
976 static int snd_emu1010_clock_source_put(struct snd_kcontrol *kcontrol, in snd_emu1010_clock_source_put() argument
979 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_clock_source_put()
1020 static int snd_emu1010_clock_fallback_info(struct snd_kcontrol *kcontrol, in snd_emu1010_clock_fallback_info() argument
1030 static int snd_emu1010_clock_fallback_get(struct snd_kcontrol *kcontrol, in snd_emu1010_clock_fallback_get() argument
1033 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_clock_fallback_get()
1039 static int snd_emu1010_clock_fallback_put(struct snd_kcontrol *kcontrol, in snd_emu1010_clock_fallback_put() argument
1042 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_clock_fallback_put()
1067 static int snd_emu1010_optical_out_info(struct snd_kcontrol *kcontrol, in snd_emu1010_optical_out_info() argument
1077 static int snd_emu1010_optical_out_get(struct snd_kcontrol *kcontrol, in snd_emu1010_optical_out_get() argument
1080 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_optical_out_get()
1086 static int snd_emu1010_optical_out_put(struct snd_kcontrol *kcontrol, in snd_emu1010_optical_out_put() argument
1089 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_optical_out_put()
1118 static int snd_emu1010_optical_in_info(struct snd_kcontrol *kcontrol, in snd_emu1010_optical_in_info() argument
1128 static int snd_emu1010_optical_in_get(struct snd_kcontrol *kcontrol, in snd_emu1010_optical_in_get() argument
1131 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_optical_in_get()
1137 static int snd_emu1010_optical_in_put(struct snd_kcontrol *kcontrol, in snd_emu1010_optical_in_put() argument
1140 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu1010_optical_in_put()
1169 static int snd_audigy_i2c_capture_source_info(struct snd_kcontrol *kcontrol, in snd_audigy_i2c_capture_source_info() argument
1184 static int snd_audigy_i2c_capture_source_get(struct snd_kcontrol *kcontrol, in snd_audigy_i2c_capture_source_get() argument
1187 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_audigy_i2c_capture_source_get()
1193 static int snd_audigy_i2c_capture_source_put(struct snd_kcontrol *kcontrol, in snd_audigy_i2c_capture_source_put() argument
1196 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_audigy_i2c_capture_source_put()
1247 static int snd_audigy_i2c_volume_info(struct snd_kcontrol *kcontrol, in snd_audigy_i2c_volume_info() argument
1257 static int snd_audigy_i2c_volume_get(struct snd_kcontrol *kcontrol, in snd_audigy_i2c_volume_get() argument
1260 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_audigy_i2c_volume_get()
1263 source_id = kcontrol->private_value; in snd_audigy_i2c_volume_get()
1274 static int snd_audigy_i2c_volume_put(struct snd_kcontrol *kcontrol, in snd_audigy_i2c_volume_put() argument
1277 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_audigy_i2c_volume_put()
1283 source_id = kcontrol->private_value; in snd_audigy_i2c_volume_put()
1328 static int snd_audigy_spdif_output_rate_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_inf…
1335 static int snd_audigy_spdif_output_rate_get(struct snd_kcontrol *kcontrol,
1338 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
1358 static int snd_audigy_spdif_output_rate_put(struct snd_kcontrol *kcontrol,
1361 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol);
1404 static int snd_emu10k1_spdif_put(struct snd_kcontrol *kcontrol, in snd_emu10k1_spdif_put() argument
1407 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_spdif_put()
1408 unsigned int idx = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in snd_emu10k1_spdif_put()
1475 static int snd_emu10k1_send_routing_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *u… in snd_emu10k1_send_routing_info() argument
1477 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_send_routing_info()
1485 static int snd_emu10k1_send_routing_get(struct snd_kcontrol *kcontrol, in snd_emu10k1_send_routing_get() argument
1488 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_send_routing_get()
1490 &emu->pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)]; in snd_emu10k1_send_routing_get()
1502 static int snd_emu10k1_send_routing_put(struct snd_kcontrol *kcontrol, in snd_emu10k1_send_routing_put() argument
1505 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_send_routing_put()
1507 &emu->pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)]; in snd_emu10k1_send_routing_put()
1547 static int snd_emu10k1_send_volume_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *ui… in snd_emu10k1_send_volume_info() argument
1549 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_send_volume_info()
1557 static int snd_emu10k1_send_volume_get(struct snd_kcontrol *kcontrol, in snd_emu10k1_send_volume_get() argument
1560 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_send_volume_get()
1562 &emu->pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)]; in snd_emu10k1_send_volume_get()
1571 static int snd_emu10k1_send_volume_put(struct snd_kcontrol *kcontrol, in snd_emu10k1_send_volume_put() argument
1574 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_send_volume_put()
1576 &emu->pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)]; in snd_emu10k1_send_volume_put()
1614 static int snd_emu10k1_attn_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_emu10k1_attn_info() argument
1623 static int snd_emu10k1_attn_get(struct snd_kcontrol *kcontrol, in snd_emu10k1_attn_get() argument
1626 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_attn_get()
1628 &emu->pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)]; in snd_emu10k1_attn_get()
1636 static int snd_emu10k1_attn_put(struct snd_kcontrol *kcontrol, in snd_emu10k1_attn_put() argument
1639 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_attn_put()
1641 &emu->pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)]; in snd_emu10k1_attn_put()
1678 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
1680 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_efx_send_routing_info()
1688 static int snd_emu10k1_efx_send_routing_get(struct snd_kcontrol *kcontrol, in snd_emu10k1_efx_send_routing_get() argument
1691 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_efx_send_routing_get()
1693 &emu->efx_pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)]; in snd_emu10k1_efx_send_routing_get()
1704 static int snd_emu10k1_efx_send_routing_put(struct snd_kcontrol *kcontrol, in snd_emu10k1_efx_send_routing_put() argument
1707 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_efx_send_routing_put()
1708 int ch = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in snd_emu10k1_efx_send_routing_put()
1744 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
1746 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_efx_send_volume_info()
1754 static int snd_emu10k1_efx_send_volume_get(struct snd_kcontrol *kcontrol, in snd_emu10k1_efx_send_volume_get() argument
1757 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_efx_send_volume_get()
1759 &emu->efx_pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)]; in snd_emu10k1_efx_send_volume_get()
1768 static int snd_emu10k1_efx_send_volume_put(struct snd_kcontrol *kcontrol, in snd_emu10k1_efx_send_volume_put() argument
1771 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_efx_send_volume_put()
1772 int ch = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in snd_emu10k1_efx_send_volume_put()
1807 static int snd_emu10k1_efx_attn_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_emu10k1_efx_attn_info() argument
1816 static int snd_emu10k1_efx_attn_get(struct snd_kcontrol *kcontrol, in snd_emu10k1_efx_attn_get() argument
1819 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_efx_attn_get()
1821 &emu->efx_pcm_mixer[snd_ctl_get_ioffidx(kcontrol, &ucontrol->id)]; in snd_emu10k1_efx_attn_get()
1827 static int snd_emu10k1_efx_attn_put(struct snd_kcontrol *kcontrol, in snd_emu10k1_efx_attn_put() argument
1830 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_efx_attn_put()
1831 int ch = snd_ctl_get_ioffidx(kcontrol, &ucontrol->id); in snd_emu10k1_efx_attn_put()
1865 static int snd_emu10k1_shared_spdif_get(struct snd_kcontrol *kcontrol, in snd_emu10k1_shared_spdif_get() argument
1868 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_shared_spdif_get()
1881 static int snd_emu10k1_shared_spdif_put(struct snd_kcontrol *kcontrol, in snd_emu10k1_shared_spdif_put() argument
1884 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_emu10k1_shared_spdif_put()
1938 static int snd_audigy_capture_boost_get(struct snd_kcontrol *kcontrol, in snd_audigy_capture_boost_get() argument
1941 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_audigy_capture_boost_get()
1950 static int snd_audigy_capture_boost_put(struct snd_kcontrol *kcontrol, in snd_audigy_capture_boost_put() argument
1953 struct snd_emu10k1 *emu = snd_kcontrol_chip(kcontrol); in snd_audigy_capture_boost_put()