Home
last modified time | relevance | path

Searched refs:sclk_rate (Results 1 – 3 of 3) sorted by relevance

/drivers/clocksource/
Dtimer-atmel-st.c187 unsigned int sclk_rate, val; in atmel_st_timer_init() local
229 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()
/drivers/rtc/
Drtc-at91sam9.c341 unsigned int sclk_rate; in at91_rtc_probe() local
389 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()
/drivers/mfd/
Dmcp-sa11x0.c189 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()