Lines Matching defs:cg
31 struct ccu_gate *cg = hw_to_ccu_gate(hw);
33 return ccu_gate_helper_disable(&cg->common, cg->enable);
57 struct ccu_gate *cg = hw_to_ccu_gate(hw);
59 return ccu_gate_helper_enable(&cg->common, cg->enable);
73 struct ccu_gate *cg = hw_to_ccu_gate(hw);
75 return ccu_gate_helper_is_enabled(&cg->common, cg->enable);
81 struct ccu_gate *cg = hw_to_ccu_gate(hw);
84 if (cg->common.features & CCU_FEATURE_ALL_PREDIV)
85 rate /= cg->common.prediv;
93 struct ccu_gate *cg = hw_to_ccu_gate(hw);
96 if (cg->common.features & CCU_FEATURE_ALL_PREDIV)
97 div = cg->common.prediv;
102 if (cg->common.features & CCU_FEATURE_ALL_PREDIV)