Home
last modified time | relevance | path

Searched refs:snd_kcontrol (Results 1 – 25 of 325) sorted by relevance

12345678910>>...13

/linux/include/sound/
H A Dcontrol.h16 struct snd_kcontrol;
17 typedef int (snd_kcontrol_info_t) (struct snd_kcontrol * kcontrol, struct snd_ctl_elem_info * uinfo…
18 typedef int (snd_kcontrol_get_t) (struct snd_kcontrol * kcontrol, struct snd_ctl_elem_value * ucont…
19 typedef int (snd_kcontrol_put_t) (struct snd_kcontrol * kcontrol, struct snd_ctl_elem_value * ucont…
20 typedef int (snd_kcontrol_tlv_rw_t)(struct snd_kcontrol *kcontrol,
70 struct snd_kcontrol { struct
83 void (*private_free)(struct snd_kcontrol *kcontrol); argument
87 #define snd_kcontrol(n) list_entry(n, struct snd_kcontrol, list) macro
122 …void (*lnotify)(struct snd_card *card, unsigned int mask, struct snd_kcontrol *kctl, unsigned int …
132 void snd_ctl_notify_one(struct snd_card * card, unsigned int mask, struct snd_kcontrol * kctl, unsi…
[all …]
H A Dsoc-topology.h19 struct snd_kcontrol;
50 struct snd_kcontrol *kcontrol;
78 int (*get)(struct snd_kcontrol *kcontrol,
80 int (*put)(struct snd_kcontrol *kcontrol,
82 int (*info)(struct snd_kcontrol *kcontrol,
89 int (*get)(struct snd_kcontrol *kcontrol, unsigned int __user *bytes,
91 int (*put)(struct snd_kcontrol *kcontrol,
101 struct snd_kcontrol *k, int event);
/linux/sound/hda/codecs/side-codecs/
H A Dtas2781_hda.h59 struct snd_kcontrol *dsp_prog_ctl;
60 struct snd_kcontrol *dsp_conf_ctl;
61 struct snd_kcontrol *prof_ctl;
71 int tasdevice_info_profile(struct snd_kcontrol *kctl,
73 int tasdevice_info_programs(struct snd_kcontrol *kctl,
75 int tasdevice_info_config(struct snd_kcontrol *kctl,
77 int tasdevice_set_profile_id(struct snd_kcontrol *kctl,
79 int tasdevice_get_profile_id(struct snd_kcontrol *kctl,
81 int tasdevice_program_get(struct snd_kcontrol *kctl,
83 int tasdevice_program_put(struct snd_kcontrol *kctl,
[all …]
H A Dcs35l56_hda.h37 struct snd_kcontrol *posture_ctl;
38 struct snd_kcontrol *volume_ctl;
39 struct snd_kcontrol *mixer_ctl[4];
H A Dtas2781_hda.c255 int tasdevice_info_profile(struct snd_kcontrol *kcontrol, in tasdevice_info_profile()
269 int tasdevice_info_programs(struct snd_kcontrol *kcontrol, in tasdevice_info_programs()
283 int tasdevice_info_config(struct snd_kcontrol *kcontrol, in tasdevice_info_config()
298 int tasdevice_get_profile_id(struct snd_kcontrol *kcontrol, in tasdevice_get_profile_id()
312 int tasdevice_set_profile_id(struct snd_kcontrol *kcontrol, in tasdevice_set_profile_id()
336 int tasdevice_program_get(struct snd_kcontrol *kcontrol, in tasdevice_program_get()
350 int tasdevice_program_put(struct snd_kcontrol *kcontrol, in tasdevice_program_put()
375 int tasdevice_config_get(struct snd_kcontrol *kcontrol, in tasdevice_config_get()
389 int tasdevice_config_put(struct snd_kcontrol *kcontrol, in tasdevice_config_put()
/linux/sound/core/
H A Dvmaster.c53 struct snd_kcontrol *kctl; /* original kcontrol pointer */
54 struct snd_kcontrol follower; /* the copy of original control entry */
178 static int follower_info(struct snd_kcontrol *kcontrol, in follower_info()
185 static int follower_get(struct snd_kcontrol *kcontrol, in follower_get()
192 static int follower_put(struct snd_kcontrol *kcontrol, in follower_put()
221 static int follower_tlv_cmd(struct snd_kcontrol *kcontrol, in follower_tlv_cmd()
230 static void follower_free(struct snd_kcontrol *kcontrol) in follower_free()
252 int _snd_ctl_add_follower(struct snd_kcontrol *master, in _snd_ctl_add_follower()
253 struct snd_kcontrol *follower, in _snd_ctl_add_follower()
292 int snd_ctl_add_followers(struct snd_card *card, struct snd_kcontrol *master, in snd_ctl_add_followers()
[all …]
H A Dcontrol.c43 struct snd_kcontrol *kcontrol);
113 struct snd_kcontrol *control; in snd_ctl_release()
201 struct snd_kcontrol *kctl, unsigned int ioff) in snd_ctl_notify_one()
228 static int snd_ctl_new(struct snd_kcontrol **kctl, unsigned int count, in snd_ctl_new()
260 struct snd_kcontrol *snd_ctl_new1(const struct snd_kcontrol_new *ncontrol, in snd_ctl_new1()
263 struct snd_kcontrol *kctl; in snd_ctl_new1()
323 void snd_ctl_free_one(struct snd_kcontrol *kcontrol) in snd_ctl_free_one()
336 struct snd_kcontrol *kctl; in snd_ctl_remove_numid_conflict()
367 static bool elem_id_matches(const struct snd_kcontrol *kctl, in elem_id_matches()
401 struct snd_kcontrol *kcontrol) in add_hash_entries()
[all …]
H A Dctljack.c15 static int jack_detect_kctl_get(struct snd_kcontrol *kcontrol, in jack_detect_kctl_get()
62 struct snd_kcontrol *
65 struct snd_kcontrol *kctl; in snd_kctl_jack_new()
78 struct snd_kcontrol *kctl, bool status) in snd_kctl_jack_report()
/linux/sound/pci/ca0106/
H A Dca0106_mixer.c146 static int snd_ca0106_shared_spdif_get(struct snd_kcontrol *kcontrol, in snd_ca0106_shared_spdif_get()
155 static int snd_ca0106_shared_spdif_put(struct snd_kcontrol *kcontrol, in snd_ca0106_shared_spdif_put()
171 static int snd_ca0106_capture_source_info(struct snd_kcontrol *kcontrol, in snd_ca0106_capture_source_info()
181 static int snd_ca0106_capture_source_get(struct snd_kcontrol *kcontrol, in snd_ca0106_capture_source_get()
190 static int snd_ca0106_capture_source_put(struct snd_kcontrol *kcontrol, in snd_ca0106_capture_source_put()
208 static int snd_ca0106_i2c_capture_source_info(struct snd_kcontrol *kcontrol, in snd_ca0106_i2c_capture_source_info()
218 static int snd_ca0106_i2c_capture_source_get(struct snd_kcontrol *kcontrol, in snd_ca0106_i2c_capture_source_get()
227 static int snd_ca0106_i2c_capture_source_put(struct snd_kcontrol *kcontrol, in snd_ca0106_i2c_capture_source_put()
247 static int snd_ca0106_capture_line_in_side_out_info(struct snd_kcontrol *kcontrol, in snd_ca0106_capture_line_in_side_out_info()
255 static int snd_ca0106_capture_mic_line_in_info(struct snd_kcontrol *kcontrol, in snd_ca0106_capture_mic_line_in_info()
[all …]
/linux/sound/drivers/pcsp/
H A Dpcsp_mixer.c14 static int pcsp_enable_info(struct snd_kcontrol *kcontrol, in pcsp_enable_info()
24 static int pcsp_enable_get(struct snd_kcontrol *kcontrol, in pcsp_enable_get()
32 static int pcsp_enable_put(struct snd_kcontrol *kcontrol, in pcsp_enable_put()
45 static int pcsp_treble_info(struct snd_kcontrol *kcontrol, in pcsp_treble_info()
59 static int pcsp_treble_get(struct snd_kcontrol *kcontrol, in pcsp_treble_get()
67 static int pcsp_treble_put(struct snd_kcontrol *kcontrol, in pcsp_treble_put()
83 static int pcsp_pcspkr_info(struct snd_kcontrol *kcontrol, in pcsp_pcspkr_info()
93 static int pcsp_pcspkr_get(struct snd_kcontrol *kcontrol, in pcsp_pcspkr_get()
101 static int pcsp_pcspkr_put(struct snd_kcontrol *kcontrol, in pcsp_pcspkr_put()
/linux/sound/pci/ac97/
H A Dac97_patch.h54 static struct snd_kcontrol *snd_ac97_cnew(const struct snd_kcontrol_new *_template,
56 static int snd_ac97_info_volsw(struct snd_kcontrol *kcontrol,
58 static int snd_ac97_get_volsw(struct snd_kcontrol *kcontrol,
60 static int snd_ac97_put_volsw(struct snd_kcontrol *kcontrol,
75 static int snd_ac97_info_enum_double(struct snd_kcontrol *kcontrol,
77 static int snd_ac97_get_enum_double(struct snd_kcontrol *kcontrol,
79 static int snd_ac97_put_enum_double(struct snd_kcontrol *kcontrol,
/linux/sound/soc/sof/
H A Dcontrol.c18 int snd_sof_volume_get(struct snd_kcontrol *kcontrol, in snd_sof_volume_get()
33 int snd_sof_volume_put(struct snd_kcontrol *kcontrol, in snd_sof_volume_put()
48 int snd_sof_volume_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) in snd_sof_volume_info()
70 int snd_sof_switch_get(struct snd_kcontrol *kcontrol, in snd_sof_switch_get()
85 int snd_sof_switch_put(struct snd_kcontrol *kcontrol, in snd_sof_switch_put()
100 int snd_sof_enum_get(struct snd_kcontrol *kcontrol, in snd_sof_enum_get()
115 int snd_sof_enum_put(struct snd_kcontrol *kcontrol, in snd_sof_enum_put()
130 int snd_sof_bytes_get(struct snd_kcontrol *kcontrol, in snd_sof_bytes_get()
145 int snd_sof_bytes_put(struct snd_kcontrol *kcontrol, in snd_sof_bytes_put()
160 int snd_sof_bytes_ext_put(struct snd_kcontrol *kcontrol, in snd_sof_bytes_ext_put()
[all …]
H A Dsof-audio.h549 int snd_sof_volume_get(struct snd_kcontrol *kcontrol,
551 int snd_sof_volume_put(struct snd_kcontrol *kcontrol,
553 int snd_sof_volume_info(struct snd_kcontrol *kcontrol,
555 int snd_sof_switch_get(struct snd_kcontrol *kcontrol,
557 int snd_sof_switch_put(struct snd_kcontrol *kcontrol,
559 int snd_sof_enum_get(struct snd_kcontrol *kcontrol,
561 int snd_sof_enum_put(struct snd_kcontrol *kcontrol,
563 int snd_sof_bytes_get(struct snd_kcontrol *kcontrol,
565 int snd_sof_bytes_put(struct snd_kcontrol *kcontrol,
567 int snd_sof_bytes_ext_put(struct snd_kcontrol *kcontrol,
[all …]
/linux/sound/soc/codecs/
H A Dmadera.h367 int madera_dfc_put(struct snd_kcontrol *kcontrol,
370 int madera_lp_mode_put(struct snd_kcontrol *kcontrol,
373 int madera_out1_demux_put(struct snd_kcontrol *kcontrol,
375 int madera_out1_demux_get(struct snd_kcontrol *kcontrol,
378 int madera_rate_put(struct snd_kcontrol *kcontrol,
381 int madera_eq_coeff_put(struct snd_kcontrol *kcontrol,
383 int madera_lhpf_coeff_put(struct snd_kcontrol *kcontrol,
387 struct snd_kcontrol *kcontrol, int event);
389 struct snd_kcontrol *kcontrol, int event);
391 struct snd_kcontrol *kcontrol, int event);
[all …]
H A Dwm8958-dsp2.c412 struct snd_kcontrol *kcontrol, int event) in wm8958_aif_ev()
453 static int wm8958_put_mbc_enum(struct snd_kcontrol *kcontrol, in wm8958_put_mbc_enum()
475 static int wm8958_get_mbc_enum(struct snd_kcontrol *kcontrol, in wm8958_get_mbc_enum()
486 static int wm8958_mbc_info(struct snd_kcontrol *kcontrol, in wm8958_mbc_info()
496 static int wm8958_mbc_get(struct snd_kcontrol *kcontrol, in wm8958_mbc_get()
508 static int wm8958_mbc_put(struct snd_kcontrol *kcontrol, in wm8958_mbc_put()
543 static int wm8958_put_vss_enum(struct snd_kcontrol *kcontrol, in wm8958_put_vss_enum()
565 static int wm8958_get_vss_enum(struct snd_kcontrol *kcontrol, in wm8958_get_vss_enum()
576 static int wm8958_put_vss_hpf_enum(struct snd_kcontrol *kcontrol, in wm8958_put_vss_hpf_enum()
598 static int wm8958_get_vss_hpf_enum(struct snd_kcontrol *kcontro
[all...]
/linux/sound/usb/6fire/
H A Dcontrol.c175 static int usb6fire_control_output_vol_info(struct snd_kcontrol *kcontrol, in usb6fire_control_output_vol_info()
185 static int usb6fire_control_output_vol_put(struct snd_kcontrol *kcontrol, in usb6fire_control_output_vol_put()
215 static int usb6fire_control_output_vol_get(struct snd_kcontrol *kcontrol, in usb6fire_control_output_vol_get()
232 static int usb6fire_control_output_mute_put(struct snd_kcontrol *kcontrol, in usb6fire_control_output_mute_put()
259 static int usb6fire_control_output_mute_get(struct snd_kcontrol *kcontrol, in usb6fire_control_output_mute_get()
279 static int usb6fire_control_input_vol_info(struct snd_kcontrol *kcontrol, in usb6fire_control_input_vol_info()
289 static int usb6fire_control_input_vol_put(struct snd_kcontrol *kcontrol, in usb6fire_control_input_vol_put()
312 static int usb6fire_control_input_vol_get(struct snd_kcontrol *kcontrol, in usb6fire_control_input_vol_get()
323 static int usb6fire_control_line_phono_info(struct snd_kcontrol *kcontrol, in usb6fire_control_line_phono_info()
329 static int usb6fire_control_line_phono_put(struct snd_kcontrol *kcontrol, in usb6fire_control_line_phono_put()
[all …]
/linux/sound/soc/
H A Dsoc-ops.c39 int snd_soc_info_enum_double(struct snd_kcontrol *kcontrol, in snd_soc_info_enum_double()
58 int snd_soc_get_enum_double(struct snd_kcontrol *kcontrol, in snd_soc_get_enum_double()
89 int snd_soc_put_enum_double(struct snd_kcontrol *kcontrol, in snd_soc_put_enum_double()
209 static int soc_info_volsw(struct snd_kcontrol *kcontrol, in soc_info_volsw()
233 static int soc_put_volsw(struct snd_kcontrol *kcontrol, in soc_put_volsw()
288 static int soc_get_volsw(struct snd_kcontrol *kcontrol, in soc_get_volsw()
332 int snd_soc_info_volsw(struct snd_kcontrol *kcontrol, in snd_soc_info_volsw()
355 int snd_soc_info_volsw_sx(struct snd_kcontrol *kcontrol, in snd_soc_info_volsw_sx()
375 int snd_soc_get_volsw(struct snd_kcontrol *kcontrol, in snd_soc_get_volsw()
396 int snd_soc_put_volsw(struct snd_kcontrol *kcontrol, in snd_soc_put_volsw()
[all …]
/linux/drivers/staging/vc04_services/bcm2835-audio/
H A Dbcm2835-ctl.c30 static int snd_bcm2835_ctl_info(struct snd_kcontrol *kcontrol, in snd_bcm2835_ctl_info()
52 static int snd_bcm2835_ctl_get(struct snd_kcontrol *kcontrol, in snd_bcm2835_ctl_get()
70 static int snd_bcm2835_ctl_put(struct snd_kcontrol *kcontrol, in snd_bcm2835_ctl_put()
128 static int snd_bcm2835_spdif_default_info(struct snd_kcontrol *kcontrol, in snd_bcm2835_spdif_default_info()
136 static int snd_bcm2835_spdif_default_get(struct snd_kcontrol *kcontrol, in snd_bcm2835_spdif_default_get()
152 static int snd_bcm2835_spdif_default_put(struct snd_kcontrol *kcontrol, in snd_bcm2835_spdif_default_put()
171 static int snd_bcm2835_spdif_mask_info(struct snd_kcontrol *kcontrol, in snd_bcm2835_spdif_mask_info()
179 static int snd_bcm2835_spdif_mask_get(struct snd_kcontrol *kcontrol, in snd_bcm2835_spdif_mask_get()
/linux/sound/pci/cs5535audio/
H A Dcs5535audio_olpc.c61 static int olpc_dc_info(struct snd_kcontrol *kctl, in olpc_dc_info()
71 static int olpc_dc_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *v) in olpc_dc_get()
77 static int olpc_dc_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *v) in olpc_dc_put()
85 static int olpc_mic_info(struct snd_kcontrol *kctl, in olpc_mic_info()
95 static int olpc_mic_get(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *v) in olpc_mic_get()
106 static int olpc_mic_put(struct snd_kcontrol *kctl, struct snd_ctl_elem_value *v) in olpc_mic_put()
/linux/sound/i2c/
H A Dtea6330t.c68 static int snd_tea6330t_info_master_volume(struct snd_kcontrol *kcontrol, in snd_tea6330t_info_master_volume()
78 static int snd_tea6330t_get_master_volume(struct snd_kcontrol *kcontrol, in snd_tea6330t_get_master_volume()
90 static int snd_tea6330t_put_master_volume(struct snd_kcontrol *kcontrol, in snd_tea6330t_put_master_volume()
130 static int snd_tea6330t_get_master_switch(struct snd_kcontrol *kcontrol, in snd_tea6330t_get_master_switch()
142 static int snd_tea6330t_put_master_switch(struct snd_kcontrol *kcontrol, in snd_tea6330t_put_master_switch()
173 static int snd_tea6330t_info_bass(struct snd_kcontrol *kcontrol, in snd_tea6330t_info_bass()
185 static int snd_tea6330t_get_bass(struct snd_kcontrol *kcontrol, in snd_tea6330t_get_bass()
194 static int snd_tea6330t_put_bass(struct snd_kcontrol *kcontrol, in snd_tea6330t_put_bass()
221 static int snd_tea6330t_info_treble(struct snd_kcontrol *kcontrol, in snd_tea6330t_info_treble()
233 static int snd_tea6330t_get_treble(struct snd_kcontrol *kcontrol, in snd_tea6330t_get_treble()
[all …]
/linux/sound/soc/codecs/aw88395/
H A Daw88395.c104 static int aw88395_get_fade_in_time(struct snd_kcontrol *kcontrol, in aw88395_get_fade_in_time()
116 static int aw88395_set_fade_in_time(struct snd_kcontrol *kcontrol, in aw88395_set_fade_in_time()
139 static int aw88395_get_fade_out_time(struct snd_kcontrol *kcontrol, in aw88395_get_fade_out_time()
151 static int aw88395_set_fade_out_time(struct snd_kcontrol *kcontrol, in aw88395_set_fade_out_time()
173 static int aw88395_profile_info(struct snd_kcontrol *kcontrol, in aw88395_profile_info()
208 static int aw88395_profile_get(struct snd_kcontrol *kcontrol, in aw88395_profile_get()
219 static int aw88395_profile_set(struct snd_kcontrol *kcontrol, in aw88395_profile_set()
245 static int aw88395_volume_get(struct snd_kcontrol *kcontrol, in aw88395_volume_get()
257 static int aw88395_volume_set(struct snd_kcontrol *kcontrol, in aw88395_volume_set()
281 static int aw88395_get_fade_step(struct snd_kcontrol *kcontro
[all...]
/linux/sound/ppc/
H A Dpmac.h139 struct snd_kcontrol *master_sw_ctl;
140 struct snd_kcontrol *speaker_sw_ctl;
141 struct snd_kcontrol *drc_sw_ctl; /* only used for tumbler -ReneR */
142 struct snd_kcontrol *hp_detect_ctl;
143 struct snd_kcontrol *lineout_sw_ctl;
H A Ddaca.c82 static int daca_get_deemphasis(struct snd_kcontrol *kcontrol, in daca_get_deemphasis()
94 static int daca_put_deemphasis(struct snd_kcontrol *kcontrol, in daca_put_deemphasis()
113 static int daca_info_volume(struct snd_kcontrol *kcontrol, in daca_info_volume()
123 static int daca_get_volume(struct snd_kcontrol *kcontrol, in daca_get_volume()
136 static int daca_put_volume(struct snd_kcontrol *kcontrol, in daca_put_volume()
164 static int daca_get_amp(struct snd_kcontrol *kcontrol, in daca_get_amp()
176 static int daca_put_amp(struct snd_kcontrol *kcontrol, in daca_put_amp()
/linux/sound/soc/mediatek/mt8186/
H A Dmt8186-misc-control.c74 static int mt8186_sgen_get(struct snd_kcontrol *kcontrol, in mt8186_sgen_get()
86 static int mt8186_sgen_set(struct snd_kcontrol *kcontrol, in mt8186_sgen_set()
128 static int mt8186_sgen_rate_get(struct snd_kcontrol *kcontrol, in mt8186_sgen_rate_get()
140 static int mt8186_sgen_rate_set(struct snd_kcontrol *kcontrol, in mt8186_sgen_rate_set()
172 static int mt8186_sgen_amplitude_get(struct snd_kcontrol *kcontrol, in mt8186_sgen_amplitude_get()
183 static int mt8186_sgen_amplitude_set(struct snd_kcontrol *kcontrol, in mt8186_sgen_amplitude_set()
/linux/sound/usb/
H A Dmixer_scarlett2.c1307 struct snd_kcontrol *sync_ctl;
1308 struct snd_kcontrol *master_vol_ctl;
1309 struct snd_kcontrol *headphone_vol_ctl;
1310 struct snd_kcontrol *vol_ctls[SCARLETT2_ANALOGUE_MAX];
1311 struct snd_kcontrol *sw_hw_ctls[SCARLETT2_ANALOGUE_MAX];
1312 struct snd_kcontrol *mute_ctls[SCARLETT2_ANALOGUE_MAX];
1313 struct snd_kcontrol *dim_mute_ctls[SCARLETT2_DIM_MUTE_COUNT];
1314 struct snd_kcontrol *level_ctls[SCARLETT2_LEVEL_SWITCH_MAX];
1315 struct snd_kcontrol *pad_ctls[SCARLETT2_PAD_SWITCH_MAX];
1316 struct snd_kcontrol *air_ctls[SCARLETT2_AIR_SWITCH_MAX];
[all …]

12345678910>>...13