Lines Matching refs:read_val
461 snd_ctl_elem_value_t *read_val) in show_values() argument
470 read_int = snd_ctl_elem_value_get_boolean(read_val, i); in show_values()
475 read_int = snd_ctl_elem_value_get_integer(read_val, i); in show_values()
481 read_int = snd_ctl_elem_value_get_integer64(read_val, in show_values()
488 read_int = snd_ctl_elem_value_get_enumerated(read_val, in show_values()
503 snd_ctl_elem_value_t *read_val, in show_mismatch() argument
519 read_int = snd_ctl_elem_value_get_boolean(read_val, index); in show_mismatch()
525 read_int = snd_ctl_elem_value_get_integer(read_val, index); in show_mismatch()
531 read_int = snd_ctl_elem_value_get_integer64(read_val, in show_mismatch()
538 read_int = snd_ctl_elem_value_get_enumerated(read_val, in show_mismatch()
573 snd_ctl_elem_value_t *initial_val, *read_val, *w_val; in write_and_verify() local
575 snd_ctl_elem_value_alloca(&read_val); in write_and_verify()
619 snd_ctl_elem_value_set_id(read_val, ctl->id); in write_and_verify()
621 err = snd_ctl_elem_read(ctl->card->handle, read_val); in write_and_verify()
637 if (snd_ctl_elem_value_compare(initial_val, read_val)) { in write_and_verify()
641 show_values(ctl, initial_val, read_val); in write_and_verify()
648 show_values(ctl, initial_val, read_val); in write_and_verify()
659 if (!snd_ctl_elem_value_compare(expected_val, read_val)) in write_and_verify()
664 if (show_mismatch(ctl, i, read_val, expected_val)) in write_and_verify()