Searched refs:pit_rate (Results 1 – 1 of 1) sorted by relevance
168 unsigned long pit_rate; in at91sam926x_pit_dt_init() local209 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()