Lines Matching refs:snd_kcontrol
16 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,
54 struct snd_kcontrol { struct
67 void (*private_free)(struct snd_kcontrol *kcontrol); argument
71 #define snd_kcontrol(n) list_entry(n, struct snd_kcontrol, list) macro
109 struct snd_kcontrol *snd_ctl_new1(const struct snd_kcontrol_new * kcontrolnew, void * private_data);
110 void snd_ctl_free_one(struct snd_kcontrol * kcontrol);
111 int snd_ctl_add(struct snd_card * card, struct snd_kcontrol * kcontrol);
112 int snd_ctl_remove(struct snd_card * card, struct snd_kcontrol * kcontrol);
113 int snd_ctl_replace(struct snd_card *card, struct snd_kcontrol *kcontrol, bool add_on_replace);
118 struct snd_kcontrol *snd_ctl_find_numid(struct snd_card * card, unsigned int numid);
119 struct snd_kcontrol *snd_ctl_find_id(struct snd_card * card, struct snd_ctl_elem_id *id);
135 static inline unsigned int snd_ctl_get_ioffnum(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *i… in snd_ctl_get_ioffnum()
141 static inline unsigned int snd_ctl_get_ioffidx(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *i… in snd_ctl_get_ioffidx()
147 static inline unsigned int snd_ctl_get_ioff(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id) in snd_ctl_get_ioff()
157 struct snd_kcontrol *src_kctl, in snd_ctl_build_ioff()
169 int snd_ctl_boolean_mono_info(struct snd_kcontrol *kcontrol,
171 int snd_ctl_boolean_stereo_info(struct snd_kcontrol *kcontrol,
179 struct snd_kcontrol *snd_ctl_make_virtual_master(char *name,
181 int _snd_ctl_add_slave(struct snd_kcontrol *master, struct snd_kcontrol *slave,
206 snd_ctl_add_slave(struct snd_kcontrol *master, struct snd_kcontrol *slave) in snd_ctl_add_slave()
228 snd_ctl_add_slave_uncached(struct snd_kcontrol *master, in snd_ctl_add_slave_uncached()
229 struct snd_kcontrol *slave) in snd_ctl_add_slave_uncached()
234 int snd_ctl_add_vmaster_hook(struct snd_kcontrol *kctl,
237 void snd_ctl_sync_vmaster(struct snd_kcontrol *kctl, bool hook_only);
239 int snd_ctl_apply_vmaster_slaves(struct snd_kcontrol *kctl,
240 int (*func)(struct snd_kcontrol *vslave,
241 struct snd_kcontrol *slave,
248 struct snd_kcontrol *
251 struct snd_kcontrol *kctl, bool status);