Lines Matching defs:id
65 struct snd_ctl_elem_id id;
84 struct snd_ctl_elem_id id;
109 void snd_ctl_notify(struct snd_card * card, unsigned int mask, struct snd_ctl_elem_id * id);
115 int snd_ctl_remove_id(struct snd_card * card, struct snd_ctl_elem_id *id);
118 struct snd_kcontrol *snd_ctl_find_id(struct snd_card * card, struct snd_ctl_elem_id *id);
135 static inline unsigned int snd_ctl_get_ioffnum(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id)
137 return id->numid - kctl->id.numid;
140 static inline unsigned int snd_ctl_get_ioffidx(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id)
142 return id->index - kctl->id.index;
145 static inline unsigned int snd_ctl_get_ioff(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id)
147 if (id->numid) {
148 return snd_ctl_get_ioffnum(kctl, id);
150 return snd_ctl_get_ioffidx(kctl, id);
158 *dst_id = src_kctl->id;