Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/clocksource/
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()
/linux-5.19.10/include/linux/mfd/
Dmcp.h19 unsigned int sclk_rate; member
39 #define mcp_get_sclk_rate(mcp) ((mcp)->sclk_rate)
/linux-5.19.10/drivers/rtc/
Drtc-at91sam9.c340 unsigned int sclk_rate; in at91_rtc_probe() local
387 sclk_rate = clk_get_rate(rtc->sclk); in at91_rtc_probe()
388 if (!sclk_rate || sclk_rate > AT91_RTT_RTPRES) { in at91_rtc_probe()
397 if ((mr & AT91_RTT_RTPRES) != sclk_rate) { in at91_rtc_probe()
398 mr = AT91_RTT_RTTRST | (sclk_rate & AT91_RTT_RTPRES); in at91_rtc_probe()
/linux-5.19.10/drivers/mfd/
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()
/linux-5.19.10/include/linux/platform_data/
Dmfd-mcp-sa11x0.h13 unsigned int sclk_rate; member
/linux-5.19.10/arch/arm/mach-sa1100/
Dshannon.c61 .sclk_rate = 11981000,
Dcerf.c159 .sclk_rate = 11981000,
Dlart.c30 .sclk_rate = 11981000,
Dsimpad.c193 .sclk_rate = 11981000,
Dcollie.c97 .sclk_rate = 9216000,
Dassabet.c340 .sclk_rate = 11981000,
/linux-5.19.10/drivers/clk/
Dclk-lmk04832.c891 unsigned long sclk_rate; in lmk04832_sclk_round_rate() local
895 sclk_rate = DIV_ROUND_CLOSEST(*prate, sysref_div); in lmk04832_sclk_round_rate()
902 if (rate != sclk_rate) in lmk04832_sclk_round_rate()
905 return sclk_rate; in lmk04832_sclk_round_rate()