Home
last modified time | relevance | path

Searched refs:tclk (Results 1 – 25 of 39) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/clk/sunxi/
Dclk-sun4i-tcon-ch1.c36 struct tcon_ch1_clk *tclk = hw_to_tclk(hw); in tcon_ch1_disable() local
40 spin_lock_irqsave(&tclk->lock, flags); in tcon_ch1_disable()
41 reg = readl(tclk->reg); in tcon_ch1_disable()
43 writel(reg, tclk->reg); in tcon_ch1_disable()
44 spin_unlock_irqrestore(&tclk->lock, flags); in tcon_ch1_disable()
49 struct tcon_ch1_clk *tclk = hw_to_tclk(hw); in tcon_ch1_enable() local
53 spin_lock_irqsave(&tclk->lock, flags); in tcon_ch1_enable()
54 reg = readl(tclk->reg); in tcon_ch1_enable()
56 writel(reg, tclk->reg); in tcon_ch1_enable()
57 spin_unlock_irqrestore(&tclk->lock, flags); in tcon_ch1_enable()
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-dove/
Dcommon.c76 static struct clk *tclk; variable
92 tclk = clk_register_fixed_rate(NULL, "tclk", NULL, 0, dove_tclk); in dove_clk_init()
113 orion_clkdev_add(NULL, "orion_spi.0", tclk); in dove_clk_init()
114 orion_clkdev_add(NULL, "orion_spi.1", tclk); in dove_clk_init()
115 orion_clkdev_add(NULL, "orion_wdt", tclk); in dove_clk_init()
116 orion_clkdev_add(NULL, "mv64xxx_i2c.0", tclk); in dove_clk_init()
186 IRQ_DOVE_UART_0, tclk); in dove_uart0_init()
195 IRQ_DOVE_UART_1, tclk); in dove_uart1_init()
204 IRQ_DOVE_UART_2, tclk); in dove_uart2_init()
213 IRQ_DOVE_UART_3, tclk); in dove_uart3_init()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/
Dmvebu-core-clock.txt8 0 = tclk (Internal Bus clock)
15 0 = tclk (Internal Bus clock)
21 0 = tclk (Internal Bus clock)
27 0 = tclk (Internal Bus clock)
35 0 = tclk (Internal Bus clock)
41 0 = tclk (Internal Bus clock)
47 0 = tclk (Internal Bus clock)
72 output names ("tclk", "cpuclk", "l2clk", "ddrclk")
85 /* get tclk from core clock provider */
Dmvebu-gated-clock.txt189 - clocks : default parent clock phandle (e.g. tclk)
196 /* default parent clock is tclk */
/kernel/linux/linux-5.10/arch/arm/mach-mv78xx0/
Dcommon.c168 static struct clk *tclk; variable
172 tclk = clk_register_fixed_rate(NULL, "tclk", NULL, 0, get_tclk()); in clk_init()
174 orion_clkdev_init(tclk); in clk_init()
294 IRQ_MV78XX0_UART_0, tclk); in mv78xx0_uart0_init()
304 IRQ_MV78XX0_UART_1, tclk); in mv78xx0_uart1_init()
314 IRQ_MV78XX0_UART_2, tclk); in mv78xx0_uart2_init()
323 IRQ_MV78XX0_UART_3, tclk); in mv78xx0_uart3_init()
/kernel/linux/linux-5.10/arch/arm/plat-orion/
Dtime.c197 unsigned int irq, unsigned int tclk) in orion_time_init() argument
207 ticks_per_jiffy = (tclk + HZ/2) / HZ; in orion_time_init()
209 orion_delay_timer.freq = tclk; in orion_time_init()
215 sched_clock_register(orion_read_sched_clock, 32, tclk); in orion_time_init()
228 tclk, 300, 32, clocksource_mmio_readl_down); in orion_time_init()
237 clockevents_config_and_register(&orion_clkevt, tclk, 1, 0xfffffffe); in orion_time_init()
Dcommon.c38 void __init orion_clkdev_init(struct clk *tclk) in orion_clkdev_init() argument
40 orion_clkdev_add(NULL, "orion_spi.0", tclk); in orion_clkdev_init()
41 orion_clkdev_add(NULL, "orion_spi.1", tclk); in orion_clkdev_init()
42 orion_clkdev_add(NULL, MV643XX_ETH_NAME ".0", tclk); in orion_clkdev_init()
43 orion_clkdev_add(NULL, MV643XX_ETH_NAME ".1", tclk); in orion_clkdev_init()
44 orion_clkdev_add(NULL, MV643XX_ETH_NAME ".2", tclk); in orion_clkdev_init()
45 orion_clkdev_add(NULL, MV643XX_ETH_NAME ".3", tclk); in orion_clkdev_init()
46 orion_clkdev_add(NULL, "orion_wdt", tclk); in orion_clkdev_init()
47 orion_clkdev_add(NULL, MV64XXX_I2C_CTLR_NAME ".0", tclk); in orion_clkdev_init()
/kernel/linux/linux-5.10/arch/arm/mach-orion5x/
Dcommon.c66 static struct clk *tclk; variable
70 tclk = clk_register_fixed_rate(NULL, "tclk", NULL, 0, orion5x_tclk); in clk_init()
72 orion_clkdev_init(tclk); in clk_init()
149 IRQ_ORION5X_UART0, tclk); in orion5x_uart0_init()
158 IRQ_ORION5X_UART1, tclk); in orion5x_uart1_init()
/kernel/linux/linux-5.10/drivers/clk/
Dclk-vt8500.c353 unsigned long tclk; in vt8500_find_pll_bits() local
369 tclk = (parent_rate / *prediv) * *multiplier; in vt8500_find_pll_bits()
371 if (tclk != rate) in vt8500_find_pll_bits()
373 rate, tclk); in vt8500_find_pll_bits()
457 unsigned long tclk, rate_err, best_err; in wm8750_find_pll_bits() local
465 tclk = parent_rate * (mul + 1) / ((div1 + 1) * (1 << div2)); in wm8750_find_pll_bits()
466 if (tclk > rate) in wm8750_find_pll_bits()
469 rate_err = rate - tclk; in wm8750_find_pll_bits()
505 unsigned long tclk, rate_err, best_err; in wm8850_find_pll_bits() local
513 tclk = parent_rate * ((mul + 1) * 2) / in wm8850_find_pll_bits()
[all …]
/kernel/linux/linux-5.10/drivers/power/reset/
Dqnap-poweroff.c51 static unsigned long tclk; variable
56 const unsigned divisor = ((tclk + (8 * cfg->baud)) / (16 * cfg->baud)); in qnap_power_off()
103 tclk = clk_get_rate(clk); in qnap_power_off_probe()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-mv64xxx.c759 const int tclk, const int n, const int m) in mv64xxx_calc_freq() argument
762 return tclk / (10 * (m + 1) * (1 << n)); in mv64xxx_calc_freq()
764 return tclk / (10 * (m + 1) * (2 << n)); in mv64xxx_calc_freq()
769 const u32 req_freq, const u32 tclk) in mv64xxx_find_baud_factors() argument
776 freq = mv64xxx_calc_freq(drv_data, tclk, n, m); in mv64xxx_find_baud_factors()
797 u32 bus_freq, tclk; in mv64xxx_of_config() local
808 tclk = clk_get_rate(drv_data->clk); in mv64xxx_of_config()
817 if (!mv64xxx_find_baud_factors(drv_data, bus_freq, tclk)) { in mv64xxx_of_config()
Di2c-octeon-core.c660 int tclk, thp_base, inc, thp_idx, mdiv_idx, ndiv_idx, foscl, diff; in octeon_i2c_set_clock() local
673 tclk = i2c->twsi_freq * (mdiv_idx + 1) * 10; in octeon_i2c_set_clock()
674 tclk *= (1 << ndiv_idx); in octeon_i2c_set_clock()
675 thp_base = (i2c->sys_freq / (tclk * 2)) - 1; in octeon_i2c_set_clock()
/kernel/linux/linux-5.10/arch/arm/plat-orion/include/plat/
Dtime.h17 unsigned int irq, unsigned int tclk);
Dcommon.h106 void __init orion_clkdev_init(struct clk *tclk);
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/timer/
Dmarvell,orion-timer.txt7 - clocks: phandle of timer reference clock (tclk)
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/reset/
Dqnap-poweroff.txt15 - clocks: tclk clock
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/ptp/
Dptp-qoriq.txt16 - fsl,tclk-period Timer reference clock period in nanoseconds.
81 fsl,tclk-period = <10>;
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/
Dcvmx-uctlx-defs.h357 uint64_t tclk:1; member
365 uint64_t tclk:1;
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/
Dmarvell,armada-370-pinctrl.txt52 mpp31 31 gpio, tclk, ge0(txerr)
94 mpp63 63 gpio, spi0(sck), tclk
/kernel/linux/linux-5.10/drivers/sh/clk/
Dcore.c226 void propagate_rate(struct clk *tclk) in propagate_rate() argument
230 list_for_each_entry(clkp, &tclk->children, sibling) { in propagate_rate()
/kernel/linux/linux-5.10/arch/powerpc/boot/dts/fsl/
Dbsc9131rdb.dtsi87 fsl,tclk-period = <5>;
Dbsc9132qds.dtsi94 fsl,tclk-period = <5>;
Dp2020rdb.dts226 fsl,tclk-period = <5>;
Dp1022ds.dtsi222 fsl,tclk-period = <5>;
/kernel/linux/linux-5.10/arch/arm/mach-omap1/
Dclock.c749 void propagate_rate(struct clk *tclk) in propagate_rate() argument
753 list_for_each_entry(clkp, &tclk->children, sibling) { in propagate_rate()

12