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

/linux-4.4.14/drivers/clocksource/
H A Dtimer-atmel-pit.c182 unsigned long pit_rate; at91sam926x_pit_common_init() local
190 pit_rate = clk_get_rate(data->mck) / 16; at91sam926x_pit_common_init()
191 data->cycle = DIV_ROUND_CLOSEST(pit_rate, HZ); at91sam926x_pit_common_init()
207 clocksource_register_hz(&data->clksrc, pit_rate); at91sam926x_pit_common_init()
220 data->clkevt.mult = div_sc(pit_rate, NSEC_PER_SEC, data->clkevt.shift); at91sam926x_pit_common_init()

Completed in 53 milliseconds