Lines Matching defs:ccu
130 static inline u32 __ccu_read(struct ccu_data *ccu, u32 reg_offset) in __ccu_read()
137 __ccu_write(struct ccu_data *ccu, u32 reg_offset, u32 reg_val) in __ccu_write()
142 static inline unsigned long ccu_lock(struct ccu_data *ccu) in ccu_lock()
150 static inline void ccu_unlock(struct ccu_data *ccu, unsigned long flags) in ccu_unlock()
159 static inline void __ccu_write_enable(struct ccu_data *ccu) in __ccu_write_enable()
170 static inline void __ccu_write_disable(struct ccu_data *ccu) in __ccu_write_disable()
191 __ccu_wait_bit(struct ccu_data *ccu, u32 reg_offset, u32 bit, bool want) in __ccu_wait_bit()
214 static bool __ccu_policy_engine_start(struct ccu_data *ccu, bool sync) in __ccu_policy_engine_start()
268 static bool __ccu_policy_engine_stop(struct ccu_data *ccu) in __ccu_policy_engine_stop()
310 static bool policy_init(struct ccu_data *ccu, struct bcm_clk_policy *policy) in policy_init()
358 __is_clk_gate_enabled(struct ccu_data *ccu, struct bcm_clk_gate *gate) in __is_clk_gate_enabled()
375 is_clk_gate_enabled(struct ccu_data *ccu, struct bcm_clk_gate *gate) in is_clk_gate_enabled()
396 __gate_commit(struct ccu_data *ccu, struct bcm_clk_gate *gate) in __gate_commit()
447 static bool gate_init(struct ccu_data *ccu, struct bcm_clk_gate *gate) in gate_init()
461 __clk_gate(struct ccu_data *ccu, struct bcm_clk_gate *gate, bool enable) in __clk_gate()
486 static int clk_gate(struct ccu_data *ccu, const char *name, in clk_gate()
527 static bool hyst_init(struct ccu_data *ccu, struct bcm_clk_hyst *hyst) in hyst_init()
553 static bool __clk_trigger(struct ccu_data *ccu, struct bcm_clk_trig *trig) in __clk_trigger()
564 static u64 divider_read_scaled(struct ccu_data *ccu, struct bcm_clk_div *div) in divider_read_scaled()
591 static int __div_commit(struct ccu_data *ccu, struct bcm_clk_gate *gate, in __div_commit()
647 static bool div_init(struct ccu_data *ccu, struct bcm_clk_gate *gate, in div_init()
655 static int divider_write(struct ccu_data *ccu, struct bcm_clk_gate *gate, in divider_write()
693 static unsigned long clk_recalc_rate(struct ccu_data *ccu, in clk_recalc_rate()
748 static long round_rate(struct ccu_data *ccu, struct bcm_clk_div *div, in round_rate()
840 static u8 selector_read_index(struct ccu_data *ccu, struct bcm_clk_sel *sel) in selector_read_index()
874 __sel_commit(struct ccu_data *ccu, struct bcm_clk_gate *gate, in __sel_commit()
931 static bool sel_init(struct ccu_data *ccu, struct bcm_clk_gate *gate, in sel_init()
944 static int selector_write(struct ccu_data *ccu, struct bcm_clk_gate *gate, in selector_write()
1196 struct ccu_data *ccu = bcm_clk->ccu; in __peri_clk_init() local
1256 bool __init kona_ccu_init(struct ccu_data *ccu) in kona_ccu_init()