Searched refs:sclk_rate (Results 1 – 3 of 3) sorted by relevance
187 unsigned int sclk_rate, val; in atmel_st_timer_init() local229 sclk_rate = clk_get_rate(sclk); in atmel_st_timer_init()230 if (!sclk_rate) { in atmel_st_timer_init()234 timer_latch = (sclk_rate + HZ / 2) / HZ; in atmel_st_timer_init()244 clockevents_config_and_register(&clkevt, sclk_rate, in atmel_st_timer_init()248 return clocksource_register_hz(&clk32k, sclk_rate); in atmel_st_timer_init()
341 unsigned int sclk_rate; in at91_rtc_probe() local389 sclk_rate = clk_get_rate(rtc->sclk); in at91_rtc_probe()390 if (!sclk_rate || sclk_rate > AT91_RTT_RTPRES) { in at91_rtc_probe()399 if ((mr & AT91_RTT_RTPRES) != sclk_rate) { in at91_rtc_probe()400 mr = AT91_RTT_RTTRST | (sclk_rate & AT91_RTT_RTPRES); in at91_rtc_probe()
189 mcp->sclk_rate = data->sclk_rate; in mcp_sa11x0_probe()217 mcp->rw_timeout = (64 * 3 * 1000000 + mcp->sclk_rate - 1) / in mcp_sa11x0_probe()218 mcp->sclk_rate; in mcp_sa11x0_probe()