Lines Matching defs:num_values
44 unsigned int num_values;
52 unsigned int num_values;
138 for (j = 0; j < path->setting[i].num_values; j++)
141 for (j = 0; j < path->setting[i].num_values; j++)
144 for (j = 0; j < path->setting[i].num_values; j++)
280 path->setting[path_index].num_values = setting->num_values;
284 path->setting[path_index].value.ptr = calloc(setting->num_values, value_sz);
287 setting->num_values * value_sz);
297 unsigned int num_values;
302 num_values = mixer_ctl_get_num_values(ctl);
303 if (mixer_value->index >= (int)num_values) {
324 path->setting[path_index].num_values = num_values;
328 path->setting[path_index].value.ptr = calloc(num_values, value_sz);
340 for (i = 0; i < num_values; i++)
343 for (i = 0; i < num_values; i++)
346 for (i = 0; i < num_values; i++)
390 path->setting[i].num_values * value_sz);
414 ar->mixer_state[ctl_index].num_values * value_sz);
424 unsigned int num_values = mixer_ctl_get_num_enums(ctl);
433 for (i = 0; i < num_values; i++) {
437 if (i == num_values) {
530 num_values)
542 for (i = 0; i < ar->mixer_state[ctl_index].num_values; i++)
578 unsigned int num_values;
589 num_values = mixer_ctl_get_num_values(ctl);
592 ar->mixer_state[i].num_values = num_values;
601 ar->mixer_state[i].old_value.ptr = calloc(num_values, value_sz);
602 ar->mixer_state[i].new_value.ptr = calloc(num_values, value_sz);
603 ar->mixer_state[i].reset_value.ptr = calloc(num_values, value_sz);
608 mixer_ctl_get_array(ctl, ar->mixer_state[i].old_value.ptr, num_values);
611 num_values * value_sz);
644 unsigned int num_values = ar->mixer_state[i].num_values;
657 for (j = 0; j < num_values; j++) {
664 for (j = 0; j < num_values; j++) {
672 for (j = 0; j < num_values; j++) {
683 mixer_ctl_set_array(ctl, ar->mixer_state[i].new_value.ptr, num_values);
687 num_values * value_sz);
707 ar->mixer_state[i].num_values * value_sz);
725 ar->mixer_state[i].num_values * value_sz);
810 for (j = 0; j < ms->num_values; j++) {
813 mixer_ctl_set_array(ms->ctl, ms->new_value.bytes, ms->num_values);
814 memcpy(ms->old_value.bytes, ms->new_value.bytes, ms->num_values * value_sz);
821 ms->num_values * value_sz);
825 mixer_ctl_set_array(ms->ctl, ms->new_value.integer, ms->num_values);
826 memcpy(ms->old_value.integer, ms->new_value.integer, ms->num_values * value_sz);