Searched refs:initial_val (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/gpu/drm/amd/display/dmub/src/ |
H A D | dmub_reg.h | 58 #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, \
|
/openbmc/linux/drivers/perf/ |
H A D | riscv_pmu_legacy.c | 69 u64 initial_val = pmu_legacy_read_ctr(event); in pmu_legacy_ctr_start() local 77 local64_set(&hwc->prev_count, initial_val); in pmu_legacy_ctr_start()
|
/openbmc/linux/tools/testing/selftests/alsa/ |
H A D | mixer-test.c | 573 snd_ctl_elem_value_t *initial_val, *read_val, *w_val; in write_and_verify() local 574 snd_ctl_elem_value_alloca(&initial_val); in write_and_verify() 594 snd_ctl_elem_value_set_id(initial_val, ctl->id); in write_and_verify() 596 err = snd_ctl_elem_read(ctl->card->handle, initial_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()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/ |
H A D | reg_helper.h | 54 #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, \
|
/openbmc/linux/drivers/staging/qlge/ |
H A D | qlge_dbg.c | 601 u32 initial_val = MAC_ADDR_RS; in qlge_get_mac_protocol_registers() local 608 initial_val |= MAC_ADDR_ADR; in qlge_get_mac_protocol_registers() 653 val = initial_val in qlge_get_mac_protocol_registers()
|