Lines Matching refs:fake_reg
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()
339 KUNIT_ASSERT_EQ(test, enable_val, ctx->fake_reg); in clk_gate_test_hiword_disable()
342 KUNIT_EXPECT_EQ(test, disable_val, ctx->fake_reg); in clk_gate_test_hiword_disable()
390 ctx->fake_reg = BIT(7); in clk_gate_test_is_enabled()
405 ctx->fake_reg = BIT(4); in clk_gate_test_is_disabled()
420 ctx->fake_reg = BIT(31); in clk_gate_test_is_enabled_inverted()
435 ctx->fake_reg = BIT(29); in clk_gate_test_is_disabled_inverted()