Home
last modified time | relevance | path

Searched refs:pre_rate_change (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/clk/
H A Dclk_test.c2347 struct clk_mux_notifier_rate_change pre_rate_change; member
2362 ctx->pre_rate_change.old_rate = clk_data->old_rate; in clk_mux_notifier_callback()
2363 ctx->pre_rate_change.new_rate = clk_data->new_rate; in clk_mux_notifier_callback()
2364 ctx->pre_rate_change.done = true; in clk_mux_notifier_callback()
2365 wake_up_interruptible(&ctx->pre_rate_change.wq); in clk_mux_notifier_callback()
2389 init_waitqueue_head(&ctx->pre_rate_change.wq); in clk_mux_notifier_test_init()
2453 ret = wait_event_interruptible_timeout(ctx->pre_rate_change.wq, in clk_mux_notifier_set_parent_test()
2454 ctx->pre_rate_change.done, in clk_mux_notifier_set_parent_test()
2458 KUNIT_EXPECT_EQ(test, ctx->pre_rate_change.old_rate, DUMMY_CLOCK_RATE_1); in clk_mux_notifier_set_parent_test()
2459 KUNIT_EXPECT_EQ(test, ctx->pre_rate_change.new_rate, DUMMY_CLOCK_RATE_2); in clk_mux_notifier_set_parent_test()
/linux/drivers/clk/tegra/
H A Dclk.h349 int (*pre_rate_change)(void); member
H A Dclk-tegra20.c396 .pre_rate_change = tegra_cclk_pre_pllx_rate_change,
H A Dclk-tegra30.c504 .pre_rate_change = tegra_cclk_pre_pllx_rate_change,
H A Dclk-pll.c760 if (state && pll->params->pre_rate_change) { in _program_pll()
761 ret = pll->params->pre_rate_change(); in _program_pll()