Searched refs:sclk_rate (Results 1 – 8 of 8) sorted by relevance
186 unsigned int sclk_rate, val; in atmel_st_timer_init() local228 sclk_rate = clk_get_rate(sclk); in atmel_st_timer_init()229 if (!sclk_rate) { in atmel_st_timer_init()233 timer_latch = (sclk_rate + HZ / 2) / HZ; in atmel_st_timer_init()243 clockevents_config_and_register(&clkevt, sclk_rate, in atmel_st_timer_init()247 return clocksource_register_hz(&clk32k, sclk_rate); in atmel_st_timer_init()
19 unsigned int sclk_rate; member39 #define mcp_get_sclk_rate(mcp) ((mcp)->sclk_rate)
340 unsigned int sclk_rate; in at91_rtc_probe() local388 sclk_rate = clk_get_rate(rtc->sclk); in at91_rtc_probe()389 if (!sclk_rate || sclk_rate > AT91_RTT_RTPRES) { in at91_rtc_probe()398 if ((mr & AT91_RTT_RTPRES) != sclk_rate) { in at91_rtc_probe()399 mr = AT91_RTT_RTTRST | (sclk_rate & AT91_RTT_RTPRES); in at91_rtc_probe()
13 unsigned int sclk_rate; member
189 mcp->sclk_rate = data->sclk_rate; in mcp_sa11x0_probe()217 mcp->rw_timeout = DIV_ROUND_UP(64 * 3 * 1000000, mcp->sclk_rate); in mcp_sa11x0_probe()
895 unsigned long sclk_rate; in lmk04832_sclk_round_rate() local899 sclk_rate = DIV_ROUND_CLOSEST(*prate, sysref_div); in lmk04832_sclk_round_rate()906 if (rate != sclk_rate) in lmk04832_sclk_round_rate()909 return sclk_rate; in lmk04832_sclk_round_rate()
96 .sclk_rate = 9216000,
308 .sclk_rate = 11981000,