Lines Matching defs:ccu

122 static inline u32 __ccu_read(struct ccu_data *ccu, u32 reg_offset)  in __ccu_read()
129 __ccu_write(struct ccu_data *ccu, u32 reg_offset, u32 reg_val) in __ccu_write()
134 static inline unsigned long ccu_lock(struct ccu_data *ccu) in ccu_lock()
142 static inline void ccu_unlock(struct ccu_data *ccu, unsigned long flags) in ccu_unlock()
151 static inline void __ccu_write_enable(struct ccu_data *ccu) in __ccu_write_enable()
162 static inline void __ccu_write_disable(struct ccu_data *ccu) in __ccu_write_disable()
183 __ccu_wait_bit(struct ccu_data *ccu, u32 reg_offset, u32 bit, bool want) in __ccu_wait_bit()
206 static bool __ccu_policy_engine_start(struct ccu_data *ccu, bool sync) in __ccu_policy_engine_start()
260 static bool __ccu_policy_engine_stop(struct ccu_data *ccu) in __ccu_policy_engine_stop()
302 static bool policy_init(struct ccu_data *ccu, struct bcm_clk_policy *policy) in policy_init()
350 __is_clk_gate_enabled(struct ccu_data *ccu, struct bcm_clk_gate *gate) in __is_clk_gate_enabled()
367 is_clk_gate_enabled(struct ccu_data *ccu, struct bcm_clk_gate *gate) in is_clk_gate_enabled()
388 __gate_commit(struct ccu_data *ccu, struct bcm_clk_gate *gate) in __gate_commit()
439 static bool gate_init(struct ccu_data *ccu, struct bcm_clk_gate *gate) in gate_init()
453 __clk_gate(struct ccu_data *ccu, struct bcm_clk_gate *gate, bool enable) in __clk_gate()
478 static int clk_gate(struct ccu_data *ccu, const char *name, in clk_gate()
519 static bool hyst_init(struct ccu_data *ccu, struct bcm_clk_hyst *hyst) in hyst_init()
545 static bool __clk_trigger(struct ccu_data *ccu, struct bcm_clk_trig *trig) in __clk_trigger()
556 static u64 divider_read_scaled(struct ccu_data *ccu, struct bcm_clk_div *div) in divider_read_scaled()
583 static int __div_commit(struct ccu_data *ccu, struct bcm_clk_gate *gate, in __div_commit()
639 static bool div_init(struct ccu_data *ccu, struct bcm_clk_gate *gate, in div_init()
647 static int divider_write(struct ccu_data *ccu, struct bcm_clk_gate *gate, in divider_write()
685 static unsigned long clk_recalc_rate(struct ccu_data *ccu, in clk_recalc_rate()
740 static long round_rate(struct ccu_data *ccu, struct bcm_clk_div *div, in round_rate()
832 static u8 selector_read_index(struct ccu_data *ccu, struct bcm_clk_sel *sel) in selector_read_index()
866 __sel_commit(struct ccu_data *ccu, struct bcm_clk_gate *gate, in __sel_commit()
923 static bool sel_init(struct ccu_data *ccu, struct bcm_clk_gate *gate, in sel_init()
936 static int selector_write(struct ccu_data *ccu, struct bcm_clk_gate *gate, in selector_write()
1188 struct ccu_data *ccu = bcm_clk->ccu; in __peri_clk_init() local
1248 bool __init kona_ccu_init(struct ccu_data *ccu) in kona_ccu_init()