Lines Matching defs:cg
30 struct ccu_gate *cg = hw_to_ccu_gate(hw);
32 return ccu_gate_helper_disable(&cg->common, cg->enable);
55 struct ccu_gate *cg = hw_to_ccu_gate(hw);
57 return ccu_gate_helper_enable(&cg->common, cg->enable);
70 struct ccu_gate *cg = hw_to_ccu_gate(hw);
72 return ccu_gate_helper_is_enabled(&cg->common, cg->enable);
78 struct ccu_gate *cg = hw_to_ccu_gate(hw);
81 if (cg->common.features & CCU_FEATURE_ALL_PREDIV)
82 rate /= cg->common.prediv;
90 struct ccu_gate *cg = hw_to_ccu_gate(hw);
93 if (cg->common.features & CCU_FEATURE_ALL_PREDIV)
94 div = cg->common.prediv;
99 if (cg->common.features & CCU_FEATURE_ALL_PREDIV)