Lines Matching refs:elist
179 struct snd_ctl_elem_list elist; in add_controls() local
186 memset(&elist, 0, sizeof(elist)); in add_controls()
187 if (grp->ops->ioctl(grp->data, SNDRV_CTL_IOCTL_ELEM_LIST, &elist) < 0) in add_controls()
190 if (old_count == elist.count) in add_controls()
193 if (old_count > elist.count) in add_controls()
196 ctl = mixer_realloc_z(grp->ctl, old_count, elist.count, in add_controls()
207 new_count = elist.count; in add_controls()
208 elist.space = new_count - old_count; /* controls we haven't seen before */ in add_controls()
209 elist.offset = old_count; /* first control we haven't seen */ in add_controls()
211 eid = calloc(elist.space, sizeof(struct snd_ctl_elem_id)); in add_controls()
215 elist.pids = eid; in add_controls()
217 if (grp->ops->ioctl(grp->data, SNDRV_CTL_IOCTL_ELEM_LIST, &elist) < 0) in add_controls()