Lines Matching refs:count
135 for (n = 0; n < mixer->count; n++) { in mixer_close()
177 mixer->ctl = calloc(elist.count, sizeof(struct mixer_ctl)); in mixer_open()
178 mixer->info = calloc(elist.count, sizeof(struct snd_ctl_elem_info)); in mixer_open()
182 eid = calloc(elist.count, sizeof(struct snd_ctl_elem_id)); in mixer_open()
186 mixer->count = elist.count; in mixer_open()
188 elist.space = mixer->count; in mixer_open()
193 for (n = 0; n < mixer->count; n++) { in mixer_open()
236 for (n = 0; n < mixer->count; n++) { in mixer_dump()
243 ei->count, in mixer_dump()
288 for (n = 0; n < mixer->count; n++) { in mixer_get_control()
301 if (n < mixer->count) in mixer_get_nth_control()
422 for (n = 0; n < ctl->info->count; n++) in mixer_ctl_get()
427 for (n = 0; n < ctl->info->count; n++) in mixer_ctl_get()
433 for (n = 0; n < ctl->info->count; n++) in mixer_ctl_get()
438 for (n = 0; n < ctl->info->count; n++) { in mixer_ctl_get()
479 int mixer_ctl_mulvalues(struct mixer_ctl *ctl, int count, char ** argv) in mixer_ctl_mulvalues() argument
488 if (count < ctl->info->count || count > ctl->info->count) in mixer_ctl_mulvalues()
496 for (n = 0; n < ctl->info->count; n++) in mixer_ctl_mulvalues()
500 for (n = 0; n < ctl->info->count; n++) { in mixer_ctl_mulvalues()
507 for (n = 0; n < ctl->info->count; n++) { in mixer_ctl_mulvalues()
569 for (n = 0; n < ctl->info->count; n++) in mixer_ctl_set()
578 for (n = 0; n < ctl->info->count; n++) in mixer_ctl_set()
588 for (n = 0; n < ctl->info->count; n++) in mixer_ctl_set()
614 char **ptr, long pmin, long pmax, int count) in set_volume_simple() argument
651 if (count < ctl->info->count || count > ctl->info->count) in set_volume_simple()
660 for (n = 0; n < ctl->info->count; n++) in set_volume_simple()
665 for (n = 0; n < ctl->info->count; n++) in set_volume_simple()
671 for (n = 0; n < ctl->info->count; n++) { in set_volume_simple()
693 int mixer_ctl_set_value(struct mixer_ctl *ctl, int count, char ** argv) in mixer_ctl_set_value() argument
708 if (set_volume_simple(ctl, argv, min, max, count)) in mixer_ctl_set_value()
709 mixer_ctl_mulvalues(ctl, count, argv); in mixer_ctl_set_value()
714 mixer_ctl_mulvalues(ctl, count, argv); in mixer_ctl_set_value()