Home
last modified time | relevance | path

Searched refs:initial_val (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dmub/src/
H A Ddmub_reg.h58 #define REG_SET_N(reg_name, n, initial_val, ...) \ argument
59 dmub_reg_set(CTX, REG(reg_name), initial_val, n, __VA_ARGS__)
61 #define REG_SET(reg_name, initial_val, field, val) \ argument
62 REG_SET_N(reg_name, 1, initial_val, \
/linux/tools/testing/selftests/alsa/
H A Dmixer-test.c593 snd_ctl_elem_value_t *initial_val, *read_val, *w_val; in write_and_verify() local
594 snd_ctl_elem_value_alloca(&initial_val); in write_and_verify()
614 snd_ctl_elem_value_set_id(initial_val, ctl->id); in write_and_verify()
616 err = snd_ctl_elem_read(ctl->card->handle, initial_val); in write_and_verify()
671 if (snd_ctl_elem_value_compare(initial_val, read_val)) { in write_and_verify()
675 show_values(ctl, initial_val, read_val); in write_and_verify()
682 show_values(ctl, initial_val, read_val); in write_and_verify()
/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Dreg_helper.h54 #define REG_SET_N(reg_name, n, initial_val, ...) \ argument
57 initial_val, \
63 #define REG_SET(reg_name, initial_val, field, val) \ argument
64 REG_SET_N(reg_name, 1, initial_val, \
446 #define IX_REG_SET_N(index_reg_name, data_reg_name, index, n, initial_val, ...) \ argument
449 initial_val, \
505 #define IX_REG_SET_N_SYNC(index, n, initial_val, ...) \ argument
508 initial_val, \