Searched refs:fake_reg (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/drivers/clk/ |
D | clk-gate_test.c | 134 u32 fake_reg; /* Keep at end, KASAN can detect out of bounds */ member 143 ctx->fake_mem = (void __force __iomem *)&ctx->fake_reg; in clk_gate_test_alloc_ctx() 169 KUNIT_EXPECT_EQ(test, enable_val, ctx->fake_reg); in clk_gate_test_enable() 186 KUNIT_ASSERT_EQ(test, enable_val, ctx->fake_reg); in clk_gate_test_disable() 189 KUNIT_EXPECT_EQ(test, disable_val, ctx->fake_reg); in clk_gate_test_disable() 249 KUNIT_EXPECT_EQ(test, enable_val, ctx->fake_reg); in clk_gate_test_invert_enable() 266 KUNIT_ASSERT_EQ(test, enable_val, ctx->fake_reg); in clk_gate_test_invert_disable() 269 KUNIT_EXPECT_EQ(test, disable_val, ctx->fake_reg); in clk_gate_test_invert_disable() 293 ctx->fake_reg = BIT(15); /* Default to off */ in clk_gate_test_invert_init() 322 KUNIT_EXPECT_EQ(test, enable_val, ctx->fake_reg); in clk_gate_test_hiword_enable() [all …]
|
/linux-5.19.10/arch/alpha/kernel/ |
D | traps.c | 726 unsigned long fake_reg, *reg_addr = &fake_reg; in do_entUnaUser() local 763 fake_reg = rdusp(); in do_entUnaUser() 766 fake_reg = 0; in do_entUnaUser() 883 fake_reg = s_reg_to_mem(alpha_read_fp_reg(reg)); in do_entUnaUser() 911 fake_reg = alpha_read_fp_reg(reg); in do_entUnaUser() 945 wrusp(fake_reg); in do_entUnaUser()
|