Lines Matching refs:kctl
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…
141 void snd_ctl_rename(struct snd_card *card, struct snd_kcontrol *kctl, const char *name);
164 static inline unsigned int snd_ctl_get_ioffnum(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *i… in snd_ctl_get_ioffnum() argument
166 unsigned int ioff = id->numid - kctl->id.numid; in snd_ctl_get_ioffnum()
167 return array_index_nospec(ioff, kctl->count); in snd_ctl_get_ioffnum()
170 static inline unsigned int snd_ctl_get_ioffidx(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *i… in snd_ctl_get_ioffidx() argument
172 unsigned int ioff = id->index - kctl->id.index; in snd_ctl_get_ioffidx()
173 return array_index_nospec(ioff, kctl->count); in snd_ctl_get_ioffidx()
176 static inline unsigned int snd_ctl_get_ioff(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id) in snd_ctl_get_ioff() argument
179 return snd_ctl_get_ioffnum(kctl, id); in snd_ctl_get_ioff()
181 return snd_ctl_get_ioffidx(kctl, id); in snd_ctl_get_ioff()
264 int snd_ctl_add_vmaster_hook(struct snd_kcontrol *kctl,
267 void snd_ctl_sync_vmaster(struct snd_kcontrol *kctl, bool hook_only);
268 #define snd_ctl_sync_vmaster_hook(kctl) snd_ctl_sync_vmaster(kctl, true) argument
269 int snd_ctl_apply_vmaster_followers(struct snd_kcontrol *kctl,
292 struct snd_kcontrol *kctl, bool status);