Home
last modified time | relevance | path

Searched refs:sclk (Results 1 – 14 of 14) sorted by relevance

/arch/arm/plat-samsung/
Dclock-clksrc.c40 struct clksrc_clk *sclk = to_clksrc(clk); in s3c_getrate_clksrc() local
42 u32 clkdiv = __raw_readl(sclk->reg_div.reg); in s3c_getrate_clksrc()
43 u32 mask = bit_mask(sclk->reg_div.shift, sclk->reg_div.size); in s3c_getrate_clksrc()
46 clkdiv >>= sclk->reg_div.shift; in s3c_getrate_clksrc()
55 struct clksrc_clk *sclk = to_clksrc(clk); in s3c_setrate_clksrc() local
56 void __iomem *reg = sclk->reg_div.reg; in s3c_setrate_clksrc()
58 u32 mask = bit_mask(sclk->reg_div.shift, sclk->reg_div.size); in s3c_setrate_clksrc()
63 if (div > (1 << sclk->reg_div.size)) in s3c_setrate_clksrc()
68 val |= (div - 1) << sclk->reg_div.shift; in s3c_setrate_clksrc()
76 struct clksrc_clk *sclk = to_clksrc(clk); in s3c_setparent_clksrc() local
[all …]
/arch/blackfin/kernel/
Dnmi.c122 u32 cnt, max_t, sclk; in nmi_wdt_set_timeout() local
125 sclk = get_sclk(); in nmi_wdt_set_timeout()
126 max_t = -1 / sclk; in nmi_wdt_set_timeout()
127 cnt = t * sclk; in nmi_wdt_set_timeout()
Dsetup.c912 unsigned long sclk, cclk; local
978 sclk = get_sclk();
980 if ((ANOMALY_05000273 || ANOMALY_05000274) && (cclk >> 1) < sclk)
1069 cclk / 1000000, sclk / 1000000);
1245 unsigned long sclk_to_usecs(unsigned long sclk) argument
1247 u64 tmp = USEC_PER_SEC * (u64)sclk;
1269 u_long sclk, cclk; local
1278 sclk = get_sclk();
1300 cpu, cclk/1000000, sclk/1000000,
1319 sclk/1000000, sclk%1000000);
/arch/mips/txx9/generic/
Dsetup_tx3927.c116 void __init tx3927_sio_init(unsigned int sclk, unsigned int cts_mask) in tx3927_sio_init() argument
123 i, sclk, (1 << i) & cts_mask); in tx3927_sio_init()
Dsetup_tx4927.c234 void __init tx4927_sio_init(unsigned int sclk, unsigned int cts_mask) in tx4927_sio_init() argument
241 i, sclk, (1 << i) & cts_mask); in tx4927_sio_init()
Dsetup_tx4938.c291 void __init tx4938_sio_init(unsigned int sclk, unsigned int cts_mask) in tx4938_sio_init() argument
303 i, sclk, (1 << i) & cts_mask); in tx4938_sio_init()
Dsetup_tx4939.c298 void __init tx4939_sio_init(unsigned int sclk, unsigned int cts_mask) in tx4939_sio_init() argument
316 i, sclk, (1 << i) & cts_mask); in tx4939_sio_init()
Dsetup.c494 unsigned int line, unsigned int sclk, int nocts) in txx9_sio_init() argument
507 if (sclk) { in txx9_sio_init()
509 req.uartclk = sclk; in txx9_sio_init()
/arch/blackfin/include/asm/
Dbfin-global.h49 extern unsigned long sclk_to_usecs(unsigned long sclk);
/arch/mips/include/asm/txx9/
Dgeneric.h51 unsigned int line, unsigned int sclk, int nocts);
Dtx4927.h264 void tx4927_sio_init(unsigned int sclk, unsigned int cts_mask);
Dtx4938.h283 void tx4938_sio_init(unsigned int sclk, unsigned int cts_mask);
Dtx3927.h333 void tx3927_sio_init(unsigned int sclk, unsigned int cts_mask);
Dtx4939.h533 void tx4939_sio_init(unsigned int sclk, unsigned int cts_mask);