Lines Matching refs:snd_kcontrol
31 struct snd_kcontrol;
32 typedef int (snd_kcontrol_info_t) (struct snd_kcontrol * kcontrol, struct snd_ctl_elem_info * uinfo…
33 typedef int (snd_kcontrol_get_t) (struct snd_kcontrol * kcontrol, struct snd_ctl_elem_value * ucont…
34 typedef int (snd_kcontrol_put_t) (struct snd_kcontrol * kcontrol, struct snd_ctl_elem_value * ucont…
35 typedef int (snd_kcontrol_tlv_rw_t)(struct snd_kcontrol *kcontrol,
69 struct snd_kcontrol { struct
82 void (*private_free)(struct snd_kcontrol *kcontrol); argument
86 #define snd_kcontrol(n) list_entry(n, struct snd_kcontrol, list) macro
124 struct snd_kcontrol *snd_ctl_new1(const struct snd_kcontrol_new * kcontrolnew, void * private_data);
125 void snd_ctl_free_one(struct snd_kcontrol * kcontrol);
126 int snd_ctl_add(struct snd_card * card, struct snd_kcontrol * kcontrol);
127 int snd_ctl_remove(struct snd_card * card, struct snd_kcontrol * kcontrol);
128 int snd_ctl_replace(struct snd_card *card, struct snd_kcontrol *kcontrol, bool add_on_replace);
133 struct snd_kcontrol *snd_ctl_find_numid(struct snd_card * card, unsigned int numid);
134 struct snd_kcontrol *snd_ctl_find_id(struct snd_card * card, struct snd_ctl_elem_id *id);
150 static inline unsigned int snd_ctl_get_ioffnum(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *i… in snd_ctl_get_ioffnum()
156 static inline unsigned int snd_ctl_get_ioffidx(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *i… in snd_ctl_get_ioffidx()
162 static inline unsigned int snd_ctl_get_ioff(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id) in snd_ctl_get_ioff()
172 struct snd_kcontrol *src_kctl, in snd_ctl_build_ioff()
184 int snd_ctl_boolean_mono_info(struct snd_kcontrol *kcontrol,
186 int snd_ctl_boolean_stereo_info(struct snd_kcontrol *kcontrol,
194 struct snd_kcontrol *snd_ctl_make_virtual_master(char *name,
196 int _snd_ctl_add_slave(struct snd_kcontrol *master, struct snd_kcontrol *slave,
221 snd_ctl_add_slave(struct snd_kcontrol *master, struct snd_kcontrol *slave) in snd_ctl_add_slave()
243 snd_ctl_add_slave_uncached(struct snd_kcontrol *master, in snd_ctl_add_slave_uncached()
244 struct snd_kcontrol *slave) in snd_ctl_add_slave_uncached()
249 int snd_ctl_add_vmaster_hook(struct snd_kcontrol *kctl,
252 void snd_ctl_sync_vmaster(struct snd_kcontrol *kctl, bool hook_only);
254 int snd_ctl_apply_vmaster_slaves(struct snd_kcontrol *kctl,
255 int (*func)(struct snd_kcontrol *vslave,
256 struct snd_kcontrol *slave,
263 struct snd_kcontrol *
266 struct snd_kcontrol *kctl, bool status);