Lines Matching defs:ccu

129 static inline u32 __ccu_read(struct ccu_data *ccu, u32 reg_offset)  in __ccu_read()
136 __ccu_write(struct ccu_data *ccu, u32 reg_offset, u32 reg_val) in __ccu_write()
141 static inline unsigned long ccu_lock(struct ccu_data *ccu) in ccu_lock()
149 static inline void ccu_unlock(struct ccu_data *ccu, unsigned long flags) in ccu_unlock()
158 static inline void __ccu_write_enable(struct ccu_data *ccu) in __ccu_write_enable()
169 static inline void __ccu_write_disable(struct ccu_data *ccu) in __ccu_write_disable()
190 __ccu_wait_bit(struct ccu_data *ccu, u32 reg_offset, u32 bit, bool want) in __ccu_wait_bit()
213 static bool __ccu_policy_engine_start(struct ccu_data *ccu, bool sync) in __ccu_policy_engine_start()
267 static bool __ccu_policy_engine_stop(struct ccu_data *ccu) in __ccu_policy_engine_stop()
309 static bool policy_init(struct ccu_data *ccu, struct bcm_clk_policy *policy) in policy_init()
357 __is_clk_gate_enabled(struct ccu_data *ccu, struct bcm_clk_gate *gate) in __is_clk_gate_enabled()
374 is_clk_gate_enabled(struct ccu_data *ccu, struct bcm_clk_gate *gate) in is_clk_gate_enabled()
395 __gate_commit(struct ccu_data *ccu, struct bcm_clk_gate *gate) in __gate_commit()
446 static bool gate_init(struct ccu_data *ccu, struct bcm_clk_gate *gate) in gate_init()
460 __clk_gate(struct ccu_data *ccu, struct bcm_clk_gate *gate, bool enable) in __clk_gate()
485 static int clk_gate(struct ccu_data *ccu, const char *name, in clk_gate()
526 static bool hyst_init(struct ccu_data *ccu, struct bcm_clk_hyst *hyst) in hyst_init()
552 static bool __clk_trigger(struct ccu_data *ccu, struct bcm_clk_trig *trig) in __clk_trigger()
563 static u64 divider_read_scaled(struct ccu_data *ccu, struct bcm_clk_div *div) in divider_read_scaled()
590 static int __div_commit(struct ccu_data *ccu, struct bcm_clk_gate *gate, in __div_commit()
646 static bool div_init(struct ccu_data *ccu, struct bcm_clk_gate *gate, in div_init()
654 static int divider_write(struct ccu_data *ccu, struct bcm_clk_gate *gate, in divider_write()
692 static unsigned long clk_recalc_rate(struct ccu_data *ccu, in clk_recalc_rate()
747 static long round_rate(struct ccu_data *ccu, struct bcm_clk_div *div, in round_rate()
839 static u8 selector_read_index(struct ccu_data *ccu, struct bcm_clk_sel *sel) in selector_read_index()
873 __sel_commit(struct ccu_data *ccu, struct bcm_clk_gate *gate, in __sel_commit()
930 static bool sel_init(struct ccu_data *ccu, struct bcm_clk_gate *gate, in sel_init()
943 static int selector_write(struct ccu_data *ccu, struct bcm_clk_gate *gate, in selector_write()
1195 struct ccu_data *ccu = bcm_clk->ccu; in __peri_clk_init() local
1255 bool __init kona_ccu_init(struct ccu_data *ccu) in kona_ccu_init()