Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clocksource/
H A Dtimer-atmel-st.c186 unsigned int sclk_rate, val; in atmel_st_timer_init() local
228 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()
/openbmc/linux/include/linux/mfd/
H A Dmcp.h19 unsigned int sclk_rate; member
39 #define mcp_get_sclk_rate(mcp) ((mcp)->sclk_rate)
/openbmc/linux/drivers/rtc/
H A Drtc-at91sam9.c340 unsigned int sclk_rate; in at91_rtc_probe() local
388 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()
/openbmc/linux/include/linux/platform_data/
H A Dmfd-mcp-sa11x0.h13 unsigned int sclk_rate; member
/openbmc/linux/drivers/mfd/
H A Dmcp-sa11x0.c189 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()
/openbmc/linux/drivers/clk/
H A Dclk-lmk04832.c895 unsigned long sclk_rate; in lmk04832_sclk_round_rate() local
899 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()
/openbmc/linux/arch/arm/mach-sa1100/
H A Dcollie.c96 .sclk_rate = 9216000,
H A Dassabet.c308 .sclk_rate = 11981000,