Lines Matching defs:list
344 static int snd_ctl_remap_elem_list(snd_ctl_t *ctl, snd_ctl_elem_list_t *list)
355 err = snd_ctl_elem_list(priv->child, list);
358 for (index = 0; index < list->used; index++) {
359 id = &list->pids[index];
370 if (list->offset >= list->count + priv->map_items)
373 if (list->offset > list->count)
374 index2 = list->offset - list->count;
375 for ( ; index < list->space && index2 < priv->map_items; index2++, index++) {
376 id = &list->pids[index];
379 list->used++;
381 list->count += priv->map_items;