Lines Matching refs:kctl
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);
141 void snd_ctl_rename(struct snd_card *card, struct snd_kcontrol *kctl, const char *name);
188 static inline unsigned int snd_ctl_get_ioffnum(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id)
190 unsigned int ioff = id->numid - kctl->id.numid;
191 return array_index_nospec(ioff, kctl->count);
194 static inline unsigned int snd_ctl_get_ioffidx(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id)
196 unsigned int ioff = id->index - kctl->id.index;
197 return array_index_nospec(ioff, kctl->count);
200 static inline unsigned int snd_ctl_get_ioff(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id)
203 return snd_ctl_get_ioffnum(kctl, id);
205 return snd_ctl_get_ioffidx(kctl, id);
291 int snd_ctl_add_vmaster_hook(struct snd_kcontrol *kctl,
294 void snd_ctl_sync_vmaster(struct snd_kcontrol *kctl, bool hook_only);
295 #define snd_ctl_sync_vmaster_hook(kctl) snd_ctl_sync_vmaster(kctl, true)
296 int snd_ctl_apply_vmaster_followers(struct snd_kcontrol *kctl,
319 struct snd_kcontrol *kctl, bool status);