Searched refs:osc32k_rate (Results 1 – 1 of 1) sorted by relevance
569 unsigned long osc32k_rate; in rtca3_initial_setup() local574 osc32k_rate = clk_get_rate(clk); in rtca3_initial_setup()575 if (!osc32k_rate) in rtca3_initial_setup()578 sleep_us = DIV_ROUND_UP_ULL(1000000ULL, osc32k_rate) * 6; in rtca3_initial_setup()580 priv->ppb.ten_sec = DIV_ROUND_CLOSEST_ULL(1000000000ULL, (osc32k_rate * 10)); in rtca3_initial_setup()581 priv->ppb.sixty_sec = DIV_ROUND_CLOSEST_ULL(1000000000ULL, (osc32k_rate * 60)); in rtca3_initial_setup()