Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clocksource/
H A Dtimer-atmel-pit.c168 unsigned long pit_rate; in at91sam926x_pit_dt_init() local
209 pit_rate = clk_get_rate(data->mck) / 16; in at91sam926x_pit_dt_init()
210 data->cycle = DIV_ROUND_CLOSEST(pit_rate, HZ); in at91sam926x_pit_dt_init()
227 ret = clocksource_register_hz(&data->clksrc, pit_rate); in at91sam926x_pit_dt_init()
247 data->clkevt.mult = div_sc(pit_rate, NSEC_PER_SEC, data->clkevt.shift); in at91sam926x_pit_dt_init()