Lines Matching defs:cf
14 struct ccu_frac_internal *cf)
19 return !(readl(common->base + common->reg) & cf->enable);
24 struct ccu_frac_internal *cf)
34 writel(reg & ~cf->enable, common->base + common->reg);
40 struct ccu_frac_internal *cf)
50 writel(reg | cf->enable, common->base + common->reg);
56 struct ccu_frac_internal *cf,
62 return (cf->rates[0] == rate) || (cf->rates[1] == rate);
67 struct ccu_frac_internal *cf)
77 clk_hw_get_name(&common->hw), cf->rates[0], cf->rates[1]);
82 clk_hw_get_name(&common->hw), reg, cf->select);
84 return (reg & cf->select) ? cf->rates[1] : cf->rates[0];
89 struct ccu_frac_internal *cf,
98 if (cf->rates[0] == rate)
100 else if (cf->rates[1] == rate)
101 sel = cf->select;
107 reg &= ~cf->select;