Searched refs:sclk (Results 1 – 14 of 14) sorted by relevance
/arch/arm/plat-samsung/ |
D | clock-clksrc.c | 40 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/ |
D | nmi.c | 122 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()
|
D | setup.c | 912 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/ |
D | setup_tx3927.c | 116 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()
|
D | setup_tx4927.c | 234 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()
|
D | setup_tx4938.c | 291 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()
|
D | setup_tx4939.c | 298 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()
|
D | setup.c | 494 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/ |
D | bfin-global.h | 49 extern unsigned long sclk_to_usecs(unsigned long sclk);
|
/arch/mips/include/asm/txx9/ |
D | generic.h | 51 unsigned int line, unsigned int sclk, int nocts);
|
D | tx4927.h | 264 void tx4927_sio_init(unsigned int sclk, unsigned int cts_mask);
|
D | tx4938.h | 283 void tx4938_sio_init(unsigned int sclk, unsigned int cts_mask);
|
D | tx3927.h | 333 void tx3927_sio_init(unsigned int sclk, unsigned int cts_mask);
|
D | tx4939.h | 533 void tx4939_sio_init(unsigned int sclk, unsigned int cts_mask);
|