ccu_data
static struct ccu_data master_ccu_data = {
static struct ccu_data root_ccu_data = {
static struct ccu_data slave_ccu_data = {
static struct ccu_data aon_ccu_data = {
static struct ccu_data master_ccu_data = {
static struct ccu_data root_ccu_data = {
static struct ccu_data slave_ccu_data = {
static struct ccu_data aon_ccu_data = {
static struct ccu_data hub_ccu_data = {
static bool ccu_data_offsets_valid(struct ccu_data *ccu)
static void ccu_clks_teardown(struct ccu_data *ccu)
static void kona_ccu_teardown(struct ccu_data *ccu)
static bool ccu_data_valid(struct ccu_data *ccu)
struct ccu_data *ccu = data;
void __init kona_dt_ccu_setup(struct ccu_data *ccu,
static inline u32 __ccu_read(struct ccu_data *ccu, u32 reg_offset)
__ccu_write(struct ccu_data *ccu, u32 reg_offset, u32 reg_val)
static inline unsigned long ccu_lock(struct ccu_data *ccu)
struct ccu_data *ccu = bcm_clk->ccu;
bool __init kona_ccu_init(struct ccu_data *ccu)
static inline void ccu_unlock(struct ccu_data *ccu, unsigned long flags)
static inline void __ccu_write_enable(struct ccu_data *ccu)
static inline void __ccu_write_disable(struct ccu_data *ccu)
__ccu_wait_bit(struct ccu_data *ccu, u32 reg_offset, u32 bit, bool want)
static bool __ccu_policy_engine_start(struct ccu_data *ccu, bool sync)
static bool __ccu_policy_engine_stop(struct ccu_data *ccu)
static bool policy_init(struct ccu_data *ccu, struct bcm_clk_policy *policy)
__is_clk_gate_enabled(struct ccu_data *ccu, struct bcm_clk_gate *gate)
is_clk_gate_enabled(struct ccu_data *ccu, struct bcm_clk_gate *gate)
__gate_commit(struct ccu_data *ccu, struct bcm_clk_gate *gate)
static bool gate_init(struct ccu_data *ccu, struct bcm_clk_gate *gate)
__clk_gate(struct ccu_data *ccu, struct bcm_clk_gate *gate, bool enable)
static int clk_gate(struct ccu_data *ccu, const char *name,
static bool hyst_init(struct ccu_data *ccu, struct bcm_clk_hyst *hyst)
static bool __clk_trigger(struct ccu_data *ccu, struct bcm_clk_trig *trig)
static u64 divider_read_scaled(struct ccu_data *ccu, struct bcm_clk_div *div)
static int __div_commit(struct ccu_data *ccu, struct bcm_clk_gate *gate,
static bool div_init(struct ccu_data *ccu, struct bcm_clk_gate *gate,
static int divider_write(struct ccu_data *ccu, struct bcm_clk_gate *gate,
static unsigned long clk_recalc_rate(struct ccu_data *ccu,
static long round_rate(struct ccu_data *ccu, struct bcm_clk_div *div,
static u8 selector_read_index(struct ccu_data *ccu, struct bcm_clk_sel *sel)
__sel_commit(struct ccu_data *ccu, struct bcm_clk_gate *gate,
static bool sel_init(struct ccu_data *ccu, struct bcm_clk_gate *gate,
static int selector_write(struct ccu_data *ccu, struct bcm_clk_gate *gate,
struct ccu_data *ccu; /* ccu this clock is associated with */
extern void __init kona_dt_ccu_setup(struct ccu_data *ccu,
extern bool __init kona_ccu_init(struct ccu_data *ccu);