static int ccu_div_is_enabled(struct clk_hw *hw) { struct ccu_div *cd = hw_to_ccu_div(hw); return ccu_gate_helper_is_enabled(&cd->common, cd->enable); }
static int ccu_mp_is_enabled(struct clk_hw *hw) { struct ccu_mp *cmp = hw_to_ccu_mp(hw); return ccu_gate_helper_is_enabled(&cmp->common, cmp->enable); }
static int ccu_mult_is_enabled(struct clk_hw *hw) { struct ccu_mult *cm = hw_to_ccu_mult(hw); return ccu_gate_helper_is_enabled(&cm->common, cm->enable); }
static int ccu_nk_is_enabled(struct clk_hw *hw) { struct ccu_nk *nk = hw_to_ccu_nk(hw); return ccu_gate_helper_is_enabled(&nk->common, nk->enable); }
static int ccu_nm_is_enabled(struct clk_hw *hw) { struct ccu_nm *nm = hw_to_ccu_nm(hw); return ccu_gate_helper_is_enabled(&nm->common, nm->enable); }