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…
163 static inline unsigned int snd_ctl_get_ioffnum(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *i… in snd_ctl_get_ioffnum() argument
165 unsigned int ioff = id->numid - kctl->id.numid; in snd_ctl_get_ioffnum()
166 return array_index_nospec(ioff, kctl->count); in snd_ctl_get_ioffnum()
169 static inline unsigned int snd_ctl_get_ioffidx(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *i… in snd_ctl_get_ioffidx() argument
171 unsigned int ioff = id->index - kctl->id.index; in snd_ctl_get_ioffidx()
172 return array_index_nospec(ioff, kctl->count); in snd_ctl_get_ioffidx()
175 static inline unsigned int snd_ctl_get_ioff(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id) in snd_ctl_get_ioff() argument
178 return snd_ctl_get_ioffnum(kctl, id); in snd_ctl_get_ioff()
180 return snd_ctl_get_ioffidx(kctl, id); in snd_ctl_get_ioff()
263 int snd_ctl_add_vmaster_hook(struct snd_kcontrol *kctl,
266 void snd_ctl_sync_vmaster(struct snd_kcontrol *kctl, bool hook_only);
267 #define snd_ctl_sync_vmaster_hook(kctl) snd_ctl_sync_vmaster(kctl, true) argument
268 int snd_ctl_apply_vmaster_followers(struct snd_kcontrol *kctl,
291 struct snd_kcontrol *kctl, bool status);