Lines Matching defs: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 * ucontrol);
19 typedef int (snd_kcontrol_put_t) (struct snd_kcontrol * kcontrol, struct snd_ctl_elem_value * ucontrol);
20 typedef int (snd_kcontrol_tlv_rw_t)(struct snd_kcontrol *kcontrol,
70 struct snd_kcontrol {
83 void (*private_free)(struct snd_kcontrol *kcontrol);
87 #define snd_kcontrol(n) list_entry(n, struct snd_kcontrol, list)
122 void (*lnotify)(struct snd_card *card, unsigned int mask, struct snd_kcontrol *kctl, unsigned int ioff);
132 void snd_ctl_notify_one(struct snd_card * card, unsigned int mask, struct snd_kcontrol * kctl, unsigned int ioff);
134 struct snd_kcontrol *snd_ctl_new1(const struct snd_kcontrol_new * kcontrolnew, void * private_data);
135 void snd_ctl_free_one(struct snd_kcontrol * kcontrol);
136 int snd_ctl_add(struct snd_card * card, struct snd_kcontrol * kcontrol);
137 int snd_ctl_remove(struct snd_card * card, struct snd_kcontrol * kcontrol);
138 int snd_ctl_replace(struct snd_card *card, struct snd_kcontrol *kcontrol, bool add_on_replace);
141 void snd_ctl_rename(struct snd_card *card, struct snd_kcontrol *kctl, const char *name);
143 struct snd_kcontrol *snd_ctl_find_numid_locked(struct snd_card *card, unsigned int numid);
144 struct snd_kcontrol *snd_ctl_find_numid(struct snd_card *card, unsigned int numid);
145 struct snd_kcontrol *snd_ctl_find_id_locked(struct snd_card *card, const struct snd_ctl_elem_id *id);
146 struct snd_kcontrol *snd_ctl_find_id(struct snd_card *card, const struct snd_ctl_elem_id *id);
160 static inline struct snd_kcontrol *
188 static inline unsigned int snd_ctl_get_ioffnum(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id)
194 static inline unsigned int snd_ctl_get_ioffidx(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id)
200 static inline unsigned int snd_ctl_get_ioff(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id)
210 struct snd_kcontrol *src_kctl,
222 int snd_ctl_boolean_mono_info(struct snd_kcontrol *kcontrol,
224 int snd_ctl_boolean_stereo_info(struct snd_kcontrol *kcontrol,
232 struct snd_kcontrol *snd_ctl_make_virtual_master(char *name,
234 int _snd_ctl_add_follower(struct snd_kcontrol *master,
235 struct snd_kcontrol *follower,
260 snd_ctl_add_follower(struct snd_kcontrol *master, struct snd_kcontrol *follower)
265 int snd_ctl_add_followers(struct snd_card *card, struct snd_kcontrol *master,
285 snd_ctl_add_follower_uncached(struct snd_kcontrol *master,
286 struct snd_kcontrol *follower)
291 int snd_ctl_add_vmaster_hook(struct snd_kcontrol *kctl,
294 void snd_ctl_sync_vmaster(struct snd_kcontrol *kctl, bool hook_only);
296 int snd_ctl_apply_vmaster_followers(struct snd_kcontrol *kctl,
297 int (*func)(struct snd_kcontrol *vfollower,
298 struct snd_kcontrol *follower,
316 struct snd_kcontrol *
319 struct snd_kcontrol *kctl, bool status);