Lines Matching refs:parent
31 struct clk_hw *parent;
34 parent = clk_hw_register_fixed_rate(NULL, "test_parent", NULL, 0,
36 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent);
41 KUNIT_EXPECT_PTR_EQ(test, parent, clk_hw_get_parent(ret));
44 clk_hw_unregister_fixed_rate(parent);
49 struct clk_hw *parent;
53 parent = clk_hw_register_fixed_rate(NULL, "test_parent", NULL, 0,
55 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent);
56 pdata.hw = parent;
61 KUNIT_EXPECT_PTR_EQ(test, parent, clk_hw_get_parent(ret));
64 clk_hw_unregister_fixed_rate(parent);
69 struct clk_hw *parent;
73 parent = clk_hw_register_fixed_rate(NULL, "test_parent", NULL, 0,
75 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent);
81 KUNIT_EXPECT_PTR_EQ(test, parent, clk_hw_get_parent(ret));
84 clk_hw_unregister_fixed_rate(parent);
89 struct clk_hw *parent;
92 parent = clk_hw_register_fixed_rate(NULL, "test_parent", NULL, 0,
94 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent);
96 ret = clk_hw_register_gate_parent_hw(NULL, "test_gate", parent, 0, NULL,
99 KUNIT_EXPECT_PTR_EQ(test, parent, clk_hw_get_parent(ret));
102 clk_hw_unregister_fixed_rate(parent);
133 struct clk_hw *parent;
151 struct clk_hw *parent = ctx->parent;
153 unsigned long prate = clk_hw_get_rate(parent);
162 struct clk_hw *parent = ctx->parent;
172 KUNIT_EXPECT_TRUE(test, clk_hw_is_enabled(parent));
173 KUNIT_EXPECT_TRUE(test, clk_hw_is_prepared(parent));
179 struct clk_hw *parent = ctx->parent;
192 KUNIT_EXPECT_FALSE(test, clk_hw_is_enabled(parent));
193 KUNIT_EXPECT_FALSE(test, clk_hw_is_prepared(parent));
205 struct clk_hw *parent;
210 parent = clk_hw_register_fixed_rate(NULL, "test_parent", NULL, 0,
212 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent);
214 hw = clk_hw_register_gate_parent_hw(NULL, "test_gate", parent, 0,
219 ctx->parent = parent;
229 clk_hw_unregister_fixed_rate(ctx->parent);
242 struct clk_hw *parent = ctx->parent;
252 KUNIT_EXPECT_TRUE(test, clk_hw_is_enabled(parent));
253 KUNIT_EXPECT_TRUE(test, clk_hw_is_prepared(parent));
259 struct clk_hw *parent = ctx->parent;
272 KUNIT_EXPECT_FALSE(test, clk_hw_is_enabled(parent));
273 KUNIT_EXPECT_FALSE(test, clk_hw_is_prepared(parent));
284 struct clk_hw *parent;
289 parent = clk_hw_register_fixed_rate(NULL, "test_parent", NULL, 0,
291 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent);
294 hw = clk_hw_register_gate_parent_hw(NULL, "test_gate", parent, 0,
300 ctx->parent = parent;
315 struct clk_hw *parent = ctx->parent;
325 KUNIT_EXPECT_TRUE(test, clk_hw_is_enabled(parent));
326 KUNIT_EXPECT_TRUE(test, clk_hw_is_prepared(parent));
332 struct clk_hw *parent = ctx->parent;
345 KUNIT_EXPECT_FALSE(test, clk_hw_is_enabled(parent));
346 KUNIT_EXPECT_FALSE(test, clk_hw_is_prepared(parent));
357 struct clk_hw *parent;
362 parent = clk_hw_register_fixed_rate(NULL, "test_parent", NULL, 0,
364 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, parent);
366 hw = clk_hw_register_gate_parent_hw(NULL, "test_gate", parent, 0,
372 ctx->parent = parent;