Home
last modified time | relevance | path

Searched refs:in_reg (Results 1 – 11 of 11) sorted by relevance

/openbmc/qemu/tests/qtest/
H A Divshmem-test.c70 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 Dtca642x.c133 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 Dpinctrl-armada-37xx.c605 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 Dbtc_dpm.c1853 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 Dni_dpm.c2771 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 Dci_dpm.c4368 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 Dsi_dpm.c5406 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 Diceland_smumgr.c2374 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 Dci_smumgr.c2447 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 Dtonga_smumgr.c2837 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 Dsi_dpm.c5900 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()