Lines Matching refs:num_values
42 char **values, unsigned int num_values);
132 unsigned int num_ctls, num_values; in tinymix_list_controls() local
152 num_values = mixer_ctl_get_num_values(ctl); in tinymix_list_controls()
154 printf("%d\t%s\t%d\t%s\t", i, type, num_values, name); in tinymix_list_controls()
156 printf("%d\t%s\t%d\t%-40s ", i, type, num_values, name); in tinymix_list_controls()
189 unsigned int num_values; in tinymix_detail_control() local
209 num_values = mixer_ctl_get_num_values(ctl); in tinymix_detail_control()
215 buf = calloc(1, num_values + tlv_header_size); in tinymix_detail_control()
217 fprintf(stderr, "Failed to alloc mem for bytes %d\n", num_values); in tinymix_detail_control()
221 len = num_values; in tinymix_detail_control()
233 for (i = 0; i < num_values; i++) { in tinymix_detail_control()
254 if (i < num_values - 1) in tinymix_detail_control()
273 char **values, unsigned int num_values) in tinymix_set_byte_ctl() argument
287 tlv_size = num_values + tlv_header_size; in tinymix_set_byte_ctl()
291 fprintf(stderr, "set_byte_ctl: Failed to alloc mem for bytes %d\n", num_values); in tinymix_set_byte_ctl()
297 tlv[1] = num_values; in tinymix_set_byte_ctl()
299 for (i = 0; i < num_values; i++) { in tinymix_set_byte_ctl()
335 char **values, unsigned int num_values) in tinymix_set_value() argument
356 tinymix_set_byte_ctl(ctl, values, num_values); in tinymix_set_value()
361 if (num_values == 1) { in tinymix_set_value()
373 if (num_values > num_ctl_values) { in tinymix_set_value()
376 num_values, num_ctl_values); in tinymix_set_value()
379 for (i = 0; i < num_values; i++) { in tinymix_set_value()
388 if (num_values != 1) { in tinymix_set_value()