/openbmc/qemu/tests/qtest/ |
H A D | ivshmem-test.c | 70 static inline unsigned in_reg(IVState *s, enum Reg reg) in in_reg() function 155 g_assert_cmpuint(in_reg(s, INTRMASK), ==, 0); in test_ivshmem_single() 156 g_assert_cmpuint(in_reg(s, INTRSTATUS), ==, 0); in test_ivshmem_single() 157 g_assert_cmpuint(in_reg(s, IVPOSITION), ==, 0); in test_ivshmem_single() 161 g_assert_cmphex(in_reg(s, INTRMASK), ==, 0xffffffff); in test_ivshmem_single() 164 g_assert_cmpuint(in_reg(s, INTRSTATUS), ==, 1); in test_ivshmem_single() 166 g_assert_cmpuint(in_reg(s, INTRSTATUS), ==, 0); in test_ivshmem_single() 171 in_reg(s, DOORBELL); in test_ivshmem_single() 335 vm1 = in_reg(s1, IVPOSITION); in test_ivshmem_server() 336 vm2 = in_reg(s2, IVPOSITION); in test_ivshmem_server()
|
/openbmc/u-boot/drivers/gpio/ |
H A D | tca642x.c | 133 uint8_t in_reg = tca642x_regs[gpio_bank].input_reg; in tca642x_get_val() local 135 if (tca642x_reg_read(chip, in_reg, &val) < 0) in tca642x_get_val()
|
/openbmc/linux/drivers/pinctrl/mvebu/ |
H A D | pinctrl-armada-37xx.c | 605 u32 in_val, in_reg = INPUT_VAL; in armada_37xx_irq_set_type() local 607 armada_37xx_irq_update_reg(&in_reg, d); in armada_37xx_irq_set_type() 608 regmap_read(info->regmap, in_reg, &in_val); in armada_37xx_irq_set_type()
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | btc_dpm.c | 1853 static bool btc_check_s0_mc_reg_index(u16 in_reg, u16 *out_reg) in btc_check_s0_mc_reg_index() argument 1857 switch (in_reg) { in btc_check_s0_mc_reg_index()
|
H A D | ni_dpm.c | 2771 static bool ni_check_s0_mc_reg_index(u16 in_reg, u16 *out_reg) in ni_check_s0_mc_reg_index() argument 2775 switch (in_reg) { in ni_check_s0_mc_reg_index()
|
H A D | ci_dpm.c | 4368 static bool ci_check_s0_mc_reg_index(u16 in_reg, u16 *out_reg) in ci_check_s0_mc_reg_index() argument 4372 switch(in_reg) { in ci_check_s0_mc_reg_index()
|
H A D | si_dpm.c | 5406 static bool si_check_s0_mc_reg_index(u16 in_reg, u16 *out_reg) in si_check_s0_mc_reg_index() argument 5410 switch (in_reg) { in si_check_s0_mc_reg_index()
|
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
H A D | iceland_smumgr.c | 2374 static bool iceland_check_s0_mc_reg_index(uint16_t in_reg, uint16_t *out_reg) in iceland_check_s0_mc_reg_index() argument 2378 switch (in_reg) { in iceland_check_s0_mc_reg_index()
|
H A D | ci_smumgr.c | 2447 static bool ci_check_s0_mc_reg_index(uint16_t in_reg, uint16_t *out_reg) in ci_check_s0_mc_reg_index() argument 2451 switch (in_reg) { in ci_check_s0_mc_reg_index()
|
H A D | tonga_smumgr.c | 2837 static bool tonga_check_s0_mc_reg_index(uint16_t in_reg, uint16_t *out_reg) in tonga_check_s0_mc_reg_index() argument 2841 switch (in_reg) { in tonga_check_s0_mc_reg_index()
|
/openbmc/linux/drivers/gpu/drm/amd/pm/legacy-dpm/ |
H A D | si_dpm.c | 5900 static bool si_check_s0_mc_reg_index(u16 in_reg, u16 *out_reg) in si_check_s0_mc_reg_index() argument 5903 switch (in_reg) { in si_check_s0_mc_reg_index()
|