Lines Matching refs:id
69 struct snd_ctl_elem_id id; member
88 struct snd_ctl_elem_id id; member
120 void snd_ctl_notify(struct snd_card * card, unsigned int mask, struct snd_ctl_elem_id * id);
127 int snd_ctl_remove_id(struct snd_card * card, struct snd_ctl_elem_id *id);
129 int snd_ctl_activate_id(struct snd_card *card, struct snd_ctl_elem_id *id,
132 struct snd_kcontrol *snd_ctl_find_id(struct snd_card * card, struct snd_ctl_elem_id *id);
148 …atic inline unsigned int snd_ctl_get_ioffnum(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id) in snd_ctl_get_ioffnum() argument
150 return id->numid - kctl->id.numid; in snd_ctl_get_ioffnum()
153 …atic inline unsigned int snd_ctl_get_ioffidx(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id) in snd_ctl_get_ioffidx() argument
155 return id->index - kctl->id.index; in snd_ctl_get_ioffidx()
158 static inline unsigned int snd_ctl_get_ioff(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id) in snd_ctl_get_ioff() argument
160 if (id->numid) { in snd_ctl_get_ioff()
161 return snd_ctl_get_ioffnum(kctl, id); in snd_ctl_get_ioff()
163 return snd_ctl_get_ioffidx(kctl, id); in snd_ctl_get_ioff()
171 *dst_id = src_kctl->id; in snd_ctl_build_ioff()