Lines Matching defs:num_values
37 unsigned int num_values;
45 unsigned int num_values;
108 for (j = 0; j < path->setting[i].num_values; j++)
235 path->setting[path_index].num_values = setting->num_values;
236 path->setting[path_index].value = malloc(setting->num_values * sizeof(int));
239 setting->num_values * sizeof(int));
249 unsigned int num_values;
254 num_values = mixer_ctl_get_num_values(ctl);
255 if (mixer_value->index >= (int)num_values) {
271 path->setting[path_index].num_values = num_values;
272 path->setting[path_index].value = malloc(num_values * sizeof(int));
278 for (i = 0; i < num_values; i++)
316 path->setting[i].num_values * sizeof(int));
340 ar->mixer_state[ctl_index].num_values * sizeof(int));
438 if (id < ar->mixer_state[ctl_index].num_values)
445 for (i = 0; i < ar->mixer_state[ctl_index].num_values; i++)
477 unsigned int num_values;
488 num_values = mixer_ctl_get_num_values(ctl);
491 ar->mixer_state[i].num_values = num_values;
499 ar->mixer_state[i].old_value = malloc(num_values * sizeof(int));
500 ar->mixer_state[i].new_value = malloc(num_values * sizeof(int));
501 ar->mixer_state[i].reset_value = malloc(num_values * sizeof(int));
506 mixer_ctl_get_array(ctl, ar->mixer_state[i].old_value, num_values);
508 num_values * sizeof(int));
541 unsigned int num_values = ar->mixer_state[i].num_values;
553 for (j = 0; j < num_values; j++) {
563 mixer_ctl_set_array(ctl, ar->mixer_state[i].new_value, num_values);
565 num_values * sizeof(int));
584 ar->mixer_state[i].num_values * sizeof(int));
601 ar->mixer_state[i].num_values * sizeof(int));