Lines Matching defs:ccu

105 static inline u32 __ccu_read(struct ccu_data *ccu, u32 reg_offset)  in __ccu_read()
112 __ccu_write(struct ccu_data *ccu, u32 reg_offset, u32 reg_val) in __ccu_write()
117 static inline unsigned long ccu_lock(struct ccu_data *ccu) in ccu_lock()
125 static inline void ccu_unlock(struct ccu_data *ccu, unsigned long flags) in ccu_unlock()
134 static inline void __ccu_write_enable(struct ccu_data *ccu) in __ccu_write_enable()
145 static inline void __ccu_write_disable(struct ccu_data *ccu) in __ccu_write_disable()
166 __ccu_wait_bit(struct ccu_data *ccu, u32 reg_offset, u32 bit, bool want) in __ccu_wait_bit()
189 static bool __ccu_policy_engine_start(struct ccu_data *ccu, bool sync) in __ccu_policy_engine_start()
243 static bool __ccu_policy_engine_stop(struct ccu_data *ccu) in __ccu_policy_engine_stop()
285 static bool policy_init(struct ccu_data *ccu, struct bcm_clk_policy *policy) in policy_init()
333 __is_clk_gate_enabled(struct ccu_data *ccu, struct bcm_clk_gate *gate) in __is_clk_gate_enabled()
350 is_clk_gate_enabled(struct ccu_data *ccu, struct bcm_clk_gate *gate) in is_clk_gate_enabled()
371 __gate_commit(struct ccu_data *ccu, struct bcm_clk_gate *gate) in __gate_commit()
422 static bool gate_init(struct ccu_data *ccu, struct bcm_clk_gate *gate) in gate_init()
436 __clk_gate(struct ccu_data *ccu, struct bcm_clk_gate *gate, bool enable) in __clk_gate()
461 static int clk_gate(struct ccu_data *ccu, const char *name, in clk_gate()
502 static bool hyst_init(struct ccu_data *ccu, struct bcm_clk_hyst *hyst) in hyst_init()
528 static bool __clk_trigger(struct ccu_data *ccu, struct bcm_clk_trig *trig) in __clk_trigger()
539 static u64 divider_read_scaled(struct ccu_data *ccu, struct bcm_clk_div *div) in divider_read_scaled()
566 static int __div_commit(struct ccu_data *ccu, struct bcm_clk_gate *gate, in __div_commit()
622 static bool div_init(struct ccu_data *ccu, struct bcm_clk_gate *gate, in div_init()
630 static int divider_write(struct ccu_data *ccu, struct bcm_clk_gate *gate, in divider_write()
668 static unsigned long clk_recalc_rate(struct ccu_data *ccu, in clk_recalc_rate()
723 static long round_rate(struct ccu_data *ccu, struct bcm_clk_div *div, in round_rate()
815 static u8 selector_read_index(struct ccu_data *ccu, struct bcm_clk_sel *sel) in selector_read_index()
849 __sel_commit(struct ccu_data *ccu, struct bcm_clk_gate *gate, in __sel_commit()
906 static bool sel_init(struct ccu_data *ccu, struct bcm_clk_gate *gate, in sel_init()
919 static int selector_write(struct ccu_data *ccu, struct bcm_clk_gate *gate, in selector_write()
1171 struct ccu_data *ccu = bcm_clk->ccu; in __peri_clk_init() local
1231 bool __init kona_ccu_init(struct ccu_data *ccu) in kona_ccu_init()