Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clocksource/
H A Dtimer-cadence-ttc.c265 ttccs->scale_clk_ctrl_reg_old = in ttc_rate_change_clocksource_cb()
281 ttccs->scale_clk_ctrl_reg_new = ttccs->scale_clk_ctrl_reg_old & in ttc_rate_change_clocksource_cb()
327 ttccs = kzalloc(sizeof(*ttccs), GFP_KERNEL); in ttc_setup_clocksource()
328 if (!ttccs) in ttc_setup_clocksource()
331 ttccs->ttc.clk = clk; in ttc_setup_clocksource()
335 kfree(ttccs); in ttc_setup_clocksource()
339 ttccs->ttc.freq = clk_get_rate(ttccs->ttc.clk); in ttc_setup_clocksource()
350 ttccs->ttc.base_addr = base; in ttc_setup_clocksource()
352 ttccs->cs.rating = 200; in ttc_setup_clocksource()
368 err = clocksource_register_hz(&ttccs->cs, ttccs->ttc.freq / PRESCALE); in ttc_setup_clocksource()
[all …]