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

/linux-4.1.27/drivers/clocksource/
H A Dtimer-atmel-pit.c188 unsigned long pit_rate; at91sam926x_pit_common_init() local
196 pit_rate = clk_get_rate(data->mck) / 16; at91sam926x_pit_common_init()
197 data->cycle = DIV_ROUND_CLOSEST(pit_rate, HZ); at91sam926x_pit_common_init()
213 clocksource_register_hz(&data->clksrc, pit_rate); at91sam926x_pit_common_init()
226 data->clkevt.mult = div_sc(pit_rate, NSEC_PER_SEC, data->clkevt.shift); at91sam926x_pit_common_init()

Completed in 43 milliseconds