Home
last modified time | relevance | path

Searched refs:clk_rate_cb (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/clocksource/
H A Dtimer-sun5i.c44 struct notifier_block clk_rate_cb; member
49 container_of(x, struct sun5i_timer, clk_rate_cb)
213 cs->timer.clk_rate_cb.notifier_call = sun5i_rate_cb_clksrc; in sun5i_setup_clocksource()
214 cs->timer.clk_rate_cb.next = NULL; in sun5i_setup_clocksource()
216 ret = clk_notifier_register(clk, &cs->timer.clk_rate_cb); in sun5i_setup_clocksource()
241 clk_notifier_unregister(clk, &cs->timer.clk_rate_cb); in sun5i_setup_clocksource()
292 ce->timer.clk_rate_cb.notifier_call = sun5i_rate_cb_clkevt; in sun5i_setup_clockevent()
293 ce->timer.clk_rate_cb.next = NULL; in sun5i_setup_clockevent()
295 ret = clk_notifier_register(clk, &ce->timer.clk_rate_cb); in sun5i_setup_clockevent()
329 clk_notifier_unregister(clk, &ce->timer.clk_rate_cb); in sun5i_setup_clockevent()
[all...]
/kernel/linux/linux-6.6/drivers/clocksource/
H A Dtimer-sun5i.c39 struct notifier_block clk_rate_cb; member
46 container_of(x, struct sun5i_timer, clk_rate_cb)
279 st->clk_rate_cb.notifier_call = sun5i_rate_cb; in sun5i_timer_probe()
280 st->clk_rate_cb.next = NULL; in sun5i_timer_probe()
282 ret = devm_clk_notifier_register(dev, clk, &st->clk_rate_cb); in sun5i_timer_probe()

Completed in 2 milliseconds