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

12

/linux-master/drivers/clk/sunxi-ng/
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-sun8i-r.h9 #include <dt-bindings/clock/sun8i-r-ccu.h>
10 #include <dt-bindings/reset/sun8i-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_reset.c16 struct ccu_reset *ccu = rcdev_to_ccu_reset(rcdev); local
17 const struct ccu_reset_map *map = &ccu->reset_map[id];
21 spin_lock_irqsave(ccu->lock, flags);
23 reg = readl(ccu->base + map->reg);
24 writel(reg & ~map->bit, ccu->base + map->reg);
26 spin_unlock_irqrestore(ccu->lock, flags);
34 struct ccu_reset *ccu = rcdev_to_ccu_reset(rcdev); local
35 const struct ccu_reset_map *map = &ccu->reset_map[id];
39 spin_lock_irqsave(ccu->lock, flags);
41 reg = readl(ccu
62 struct ccu_reset *ccu = rcdev_to_ccu_reset(rcdev); local
[all...]
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-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-sun50i-h6-r.h9 #include <dt-bindings/clock/sun50i-h6-r-ccu.h>
10 #include <dt-bindings/reset/sun50i-h6-r-ccu.h>
H A Dccu-suniv-f1c100s.h10 #include <dt-bindings/clock/suniv-ccu-f1c100s.h>
11 #include <dt-bindings/reset/suniv-ccu-f1c100s.h>
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-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-sun9i-a80.h11 #include <dt-bindings/clock/sun9i-a80-ccu.h>
12 #include <dt-bindings/reset/sun9i-a80-ccu.h>
H A Dccu-sun6i-a31.h11 #include <dt-bindings/clock/sun6i-a31-ccu.h>
12 #include <dt-bindings/reset/sun6i-a31-ccu.h>
H A Dccu-sun8i-h3.h11 #include <dt-bindings/clock/sun8i-h3-ccu.h>
12 #include <dt-bindings/reset/sun8i-h3-ccu.h>
H A Dccu-sun8i-v3s.h5 * Based on ccu-sun8i-h3.h, which is:
12 #include <dt-bindings/clock/sun8i-v3s-ccu.h>
13 #include <dt-bindings/reset/sun8i-v3s-ccu.h>
H A Dccu_common.c102 static int sunxi_ccu_probe(struct sunxi_ccu *ccu, struct device *dev, argument
109 ccu->desc = desc;
111 spin_lock_init(&ccu->lock);
120 cclk->lock = &ccu->lock;
146 reset = &ccu->reset;
152 reset->lock = &ccu->lock;
176 struct sunxi_ccu *ccu = res; local
177 const struct sunxi_ccu_desc *desc = ccu->desc;
180 reset_controller_unregister(&ccu->reset.rcdev);
195 struct sunxi_ccu *ccu; local
217 struct sunxi_ccu *ccu; local
[all...]
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-sun8i-r40.h9 #include <dt-bindings/clock/sun8i-r40-ccu.h>
10 #include <dt-bindings/reset/sun8i-r40-ccu.h>
H A Dccu-sun8i-a23-a33.h11 #include <dt-bindings/clock/sun8i-a23-a33-ccu.h>
12 #include <dt-bindings/reset/sun8i-a23-a33-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>
/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
/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/bcm/
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...]
/linux-master/drivers/clk/nxp/
H A DMakefile3 obj-$(CONFIG_ARCH_LPC18XX) += clk-lpc18xx-ccu.o

Completed in 176 milliseconds

12