Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/clocksource/
Dtimer-cadence-ttc.c385 struct ttc_timer_clockevent *ttcce = container_of(ttc, in ttc_rate_change_clockevent_cb() local
393 clockevents_update_freq(&ttcce->ce, ndata->new_rate / PRESCALE); in ttc_rate_change_clockevent_cb()
406 struct ttc_timer_clockevent *ttcce; in ttc_setup_clockevent() local
409 ttcce = kzalloc(sizeof(*ttcce), GFP_KERNEL); in ttc_setup_clockevent()
410 if (!ttcce) in ttc_setup_clockevent()
413 ttcce->ttc.clk = clk; in ttc_setup_clockevent()
415 err = clk_prepare_enable(ttcce->ttc.clk); in ttc_setup_clockevent()
419 ttcce->ttc.clk_rate_change_nb.notifier_call = in ttc_setup_clockevent()
421 ttcce->ttc.clk_rate_change_nb.next = NULL; in ttc_setup_clockevent()
423 err = clk_notifier_register(ttcce->ttc.clk, in ttc_setup_clockevent()
[all …]