Lines Matching defs:cf
14 struct ccu_frac_internal *cf)
19 return !(readl(common->base + common->reg) & cf->enable);
23 struct ccu_frac_internal *cf)
33 writel(reg & ~cf->enable, common->base + common->reg);
38 struct ccu_frac_internal *cf)
48 writel(reg | cf->enable, common->base + common->reg);
53 struct ccu_frac_internal *cf,
59 return (cf->rates[0] == rate) || (cf->rates[1] == rate);
63 struct ccu_frac_internal *cf)
73 clk_hw_get_name(&common->hw), cf->rates[0], cf->rates[1]);
78 clk_hw_get_name(&common->hw), reg, cf->select);
80 return (reg & cf->select) ? cf->rates[1] : cf->rates[0];
84 struct ccu_frac_internal *cf,
93 if (cf->rates[0] == rate)
95 else if (cf->rates[1] == rate)
96 sel = cf->select;
102 reg &= ~cf->select;