Searched refs:ccu (Results 1 - 25 of 34) sorted by path

12

/linux-master/drivers/clk/nxp/
H A DMakefile3 obj-$(CONFIG_ARCH_LPC18XX) += clk-lpc18xx-ccu.o
H A Dclk-lpc18xx-ccu.c17 #include <dt-bindings/clock/lpc18xx-ccu.h>
305 CLK_OF_DECLARE(lpc18xx_ccu, "nxp,lpc1850-ccu", lpc18xx_ccu_init);
/linux-master/drivers/clk/sunxi-ng/
H A Dccu-sun4i-a10.h11 #include <dt-bindings/clock/sun4i-a10-ccu.h>
12 #include <dt-bindings/clock/sun7i-a20-ccu.h>
13 #include <dt-bindings/reset/sun4i-a10-ccu.h>
H A Dccu-sun50i-h6.h9 #include <dt-bindings/clock/sun50i-h6-ccu.h>
10 #include <dt-bindings/reset/sun50i-h6-ccu.h>
H A Dccu-sun5i.h11 #include <dt-bindings/clock/sun5i-ccu.h>
12 #include <dt-bindings/reset/sun5i-ccu.h>
H A Dccu-sun8i-a83t.h11 #include <dt-bindings/clock/sun8i-a83t-ccu.h>
12 #include <dt-bindings/reset/sun8i-a83t-ccu.h>
H A Dccu-sun8i-r.h9 #include <dt-bindings/clock/sun8i-r-ccu.h>
10 #include <dt-bindings/reset/sun8i-r-ccu.h>
H A Dccu-sun9i-a80.h11 #include <dt-bindings/clock/sun9i-a80-ccu.h>
12 #include <dt-bindings/reset/sun9i-a80-ccu.h>
H A DMakefile3 obj-$(CONFIG_SUNXI_CCU) += sunxi-ccu.o
6 sunxi-ccu-y += ccu_common.o
7 sunxi-ccu-y += ccu_mmc_timing.o
8 sunxi-ccu-y += ccu_reset.o
11 sunxi-ccu-y += ccu_div.o
12 sunxi-ccu-y += ccu_frac.o
13 sunxi-ccu-y += ccu_gate.o
14 sunxi-ccu-y += ccu_mux.o
15 sunxi-ccu-y += ccu_mult.o
16 sunxi-ccu
[all...]
H A Dccu-sun20i-d1-r.h10 #include <dt-bindings/clock/sun20i-d1-r-ccu.h>
11 #include <dt-bindings/reset/sun20i-d1-r-ccu.h>
H A Dccu-sun20i-d1.h10 #include <dt-bindings/clock/sun20i-d1-ccu.h>
11 #include <dt-bindings/reset/sun20i-d1-ccu.h>
H A Dccu-sun50i-a100-r.h9 #include <dt-bindings/clock/sun50i-a100-r-ccu.h>
10 #include <dt-bindings/reset/sun50i-a100-r-ccu.h>
H A Dccu-sun50i-a100.h9 #include <dt-bindings/clock/sun50i-a100-ccu.h>
10 #include <dt-bindings/reset/sun50i-a100-ccu.h>
H A Dccu-sun50i-a64.h11 #include <dt-bindings/clock/sun50i-a64-ccu.h>
12 #include <dt-bindings/reset/sun50i-a64-ccu.h>
H A Dccu-sun50i-h6-r.h9 #include <dt-bindings/clock/sun50i-h6-r-ccu.h>
10 #include <dt-bindings/reset/sun50i-h6-r-ccu.h>
/linux-master/include/dt-bindings/clock/
H A Dsun7i-a20-ccu.h45 #include <dt-bindings/clock/sun4i-a10-ccu.h>
/linux-master/scripts/dtc/include-prefixes/dt-bindings/clock/
H A Dsun7i-a20-ccu.h45 #include <dt-bindings/clock/sun4i-a10-ccu.h>
/linux-master/drivers/clk/baikal-t1/
H A DMakefile2 obj-$(CONFIG_CLK_BT1_CCU_PLL) += ccu-pll.o clk-ccu-pll.o
3 obj-$(CONFIG_CLK_BT1_CCU_DIV) += ccu-div.o clk-ccu-div.o
4 obj-$(CONFIG_CLK_BT1_CCU_RST) += ccu-rst.o
H A Dccu-rst.c11 #define pr_fmt(fmt) "bt1-ccu-rst: " fmt
22 #include <dt-bindings/reset/bt1-ccu.h>
24 #include "ccu-rst.h"
180 if (of_device_is_compatible(rst_init->np, "baikal,bt1-ccu-axi")) {
183 } else if (of_device_is_compatible(rst_init->np, "baikal,bt1-ccu-sys")) {
H A Dclk-ccu-div.c12 #define pr_fmt(fmt) "bt1-ccu-div: " fmt
26 #include <dt-bindings/clock/bt1-ccu.h>
28 #include "ccu-div.h"
29 #include "ccu-rst.h"
236 if (of_device_is_compatible(np, "baikal,bt1-ccu-axi"))
238 else if (of_device_is_compatible(np, "baikal,bt1-ccu-sys"))
246 if (of_device_is_compatible(np, "baikal,bt1-ccu-axi"))
248 else if (of_device_is_compatible(np, "baikal,bt1-ccu-sys"))
279 if (of_device_is_compatible(np, "baikal,bt1-ccu-axi")) {
282 } else if (of_device_is_compatible(np, "baikal,bt1-ccu
[all...]
H A Dclk-ccu-pll.c12 #define pr_fmt(fmt) "bt1-ccu-pll: " fmt
25 #include <dt-bindings/clock/bt1-ccu.h>
27 #include "ccu-pll.h"
232 { .compatible = "baikal,bt1-ccu-pll" },
239 .name = "clk-ccu-pll",
277 CLK_OF_DECLARE_DRIVER(ccu_pll, "baikal,bt1-ccu-pll", ccu_pll_init);
/linux-master/drivers/clk/bcm/
H A Dclk-kona-setup.c18 static bool ccu_data_offsets_valid(struct ccu_data *ccu) argument
20 struct ccu_policy *ccu_policy = &ccu->policy;
23 limit = ccu->range - sizeof(u32);
29 ccu->name, ccu_policy->enable.offset, limit);
35 ccu->name, ccu_policy->control.offset, limit);
85 range = bcm_clk->ccu->range;
408 * where we need something from the ccu, so we do these
739 static void ccu_clks_teardown(struct ccu_data *ccu) argument
743 for (i = 0; i < ccu->clk_num; i++)
744 kona_clk_teardown(&ccu
747 kona_ccu_teardown(struct ccu_data *ccu) argument
760 ccu_data_valid(struct ccu_data *ccu) argument
778 struct ccu_data *ccu = data; local
793 kona_dt_ccu_setup(struct ccu_data *ccu, struct device_node *node) argument
[all...]
H A Dclk-kona.c122 static inline u32 __ccu_read(struct ccu_data *ccu, u32 reg_offset) argument
124 return readl(ccu->base + reg_offset);
129 __ccu_write(struct ccu_data *ccu, u32 reg_offset, u32 reg_val) argument
131 writel(reg_val, ccu->base + reg_offset);
134 static inline unsigned long ccu_lock(struct ccu_data *ccu) argument
138 spin_lock_irqsave(&ccu->lock, flags);
142 static inline void ccu_unlock(struct ccu_data *ccu, unsigned long flags) argument
144 spin_unlock_irqrestore(&ccu->lock, flags);
151 static inline void __ccu_write_enable(struct ccu_data *ccu) argument
153 if (ccu
162 __ccu_write_disable(struct ccu_data *ccu) argument
183 __ccu_wait_bit(struct ccu_data *ccu, u32 reg_offset, u32 bit, bool want) argument
206 __ccu_policy_engine_start(struct ccu_data *ccu, bool sync) argument
260 __ccu_policy_engine_stop(struct ccu_data *ccu) argument
302 policy_init(struct ccu_data *ccu, struct bcm_clk_policy *policy) argument
350 __is_clk_gate_enabled(struct ccu_data *ccu, struct bcm_clk_gate *gate) argument
367 is_clk_gate_enabled(struct ccu_data *ccu, struct bcm_clk_gate *gate) argument
388 __gate_commit(struct ccu_data *ccu, struct bcm_clk_gate *gate) argument
439 gate_init(struct ccu_data *ccu, struct bcm_clk_gate *gate) argument
453 __clk_gate(struct ccu_data *ccu, struct bcm_clk_gate *gate, bool enable) argument
478 clk_gate(struct ccu_data *ccu, const char *name, struct bcm_clk_gate *gate, bool enable) argument
519 hyst_init(struct ccu_data *ccu, struct bcm_clk_hyst *hyst) argument
545 __clk_trigger(struct ccu_data *ccu, struct bcm_clk_trig *trig) argument
556 divider_read_scaled(struct ccu_data *ccu, struct bcm_clk_div *div) argument
583 __div_commit(struct ccu_data *ccu, struct bcm_clk_gate *gate, struct bcm_clk_div *div, struct bcm_clk_trig *trig) argument
639 div_init(struct ccu_data *ccu, struct bcm_clk_gate *gate, struct bcm_clk_div *div, struct bcm_clk_trig *trig) argument
647 divider_write(struct ccu_data *ccu, struct bcm_clk_gate *gate, struct bcm_clk_div *div, struct bcm_clk_trig *trig, u64 scaled_div) argument
685 clk_recalc_rate(struct ccu_data *ccu, struct bcm_clk_div *div, struct bcm_clk_div *pre_div, unsigned long parent_rate) argument
740 round_rate(struct ccu_data *ccu, struct bcm_clk_div *div, struct bcm_clk_div *pre_div, unsigned long rate, unsigned long parent_rate, u64 *scaled_div) argument
832 selector_read_index(struct ccu_data *ccu, struct bcm_clk_sel *sel) argument
866 __sel_commit(struct ccu_data *ccu, struct bcm_clk_gate *gate, struct bcm_clk_sel *sel, struct bcm_clk_trig *trig) argument
923 sel_init(struct ccu_data *ccu, struct bcm_clk_gate *gate, struct bcm_clk_sel *sel, struct bcm_clk_trig *trig) argument
936 selector_write(struct ccu_data *ccu, struct bcm_clk_gate *gate, struct bcm_clk_sel *sel, struct bcm_clk_trig *trig, u8 index) argument
1188 struct ccu_data *ccu = bcm_clk->ccu; local
1248 kona_ccu_init(struct ccu_data *ccu) argument
[all...]
H A Dclk-kona.h399 struct ccu_data *ccu; /* ccu this clock is associated with */ member in struct:kona_clk
416 .ccu = &_ccu_name ## _ccu_data, \
498 extern void __init kona_dt_ccu_setup(struct ccu_data *ccu,
500 extern bool __init kona_ccu_init(struct ccu_data *ccu);
/linux-master/drivers/clk/mediatek/
H A DMakefile111 obj-$(CONFIG_COMMON_CLK_MT8188_CAMSYS) += clk-mt8188-cam.o clk-mt8188-ccu.o
137 obj-$(CONFIG_COMMON_CLK_MT8195_CAMSYS) += clk-mt8195-cam.o clk-mt8195-ccu.o

Completed in 267 milliseconds

12