Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/clocksource/
Dtimer-cadence-ttc.c386 struct ttc_timer_clockevent *ttcce = container_of(ttc, in ttc_rate_change_clockevent_cb() local
394 clockevents_update_freq(&ttcce->ce, ndata->new_rate / PRESCALE); in ttc_rate_change_clockevent_cb()
407 struct ttc_timer_clockevent *ttcce; in ttc_setup_clockevent() local
410 ttcce = kzalloc(sizeof(*ttcce), GFP_KERNEL); in ttc_setup_clockevent()
411 if (!ttcce) in ttc_setup_clockevent()
414 ttcce->ttc.clk = clk; in ttc_setup_clockevent()
416 err = clk_prepare_enable(ttcce->ttc.clk); in ttc_setup_clockevent()
420 ttcce->ttc.clk_rate_change_nb.notifier_call = in ttc_setup_clockevent()
422 ttcce->ttc.clk_rate_change_nb.next = NULL; in ttc_setup_clockevent()
424 err = clk_notifier_register(ttcce->ttc.clk, in ttc_setup_clockevent()
[all …]