Lines Matching refs:id
64 struct snd_ctl_elem_id id;
83 struct snd_ctl_elem_id id;
110 void snd_ctl_notify(struct snd_card * card, unsigned int mask, struct snd_ctl_elem_id * id);
116 int snd_ctl_remove_id(struct snd_card * card, struct snd_ctl_elem_id *id);
119 struct snd_kcontrol *snd_ctl_find_id(struct snd_card * card, struct snd_ctl_elem_id *id);
133 static inline unsigned int snd_ctl_get_ioffnum(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id)
135 return id->numid - kctl->id.numid;
138 static inline unsigned int snd_ctl_get_ioffidx(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id)
140 return id->index - kctl->id.index;
143 static inline unsigned int snd_ctl_get_ioff(struct snd_kcontrol *kctl, struct snd_ctl_elem_id *id)
145 if (id->numid) {
146 return snd_ctl_get_ioffnum(kctl, id);
148 return snd_ctl_get_ioffidx(kctl, id);
156 *dst_id = src_kctl->id;