Lines Matching refs:vco
115 struct berlin2_avpll_vco *vco = to_avpll_vco(hw);
118 reg = readl_relaxed(vco->base + VCO_CTRL0);
119 if (vco->flags & BERLIN2_AVPLL_BIT_QUIRK)
127 struct berlin2_avpll_vco *vco = to_avpll_vco(hw);
130 reg = readl_relaxed(vco->base + VCO_CTRL0);
131 if (vco->flags & BERLIN2_AVPLL_BIT_QUIRK)
135 writel_relaxed(reg, vco->base + VCO_CTRL0);
142 struct berlin2_avpll_vco *vco = to_avpll_vco(hw);
145 reg = readl_relaxed(vco->base + VCO_CTRL0);
146 if (vco->flags & BERLIN2_AVPLL_BIT_QUIRK)
150 writel_relaxed(reg, vco->base + VCO_CTRL0);
158 struct berlin2_avpll_vco *vco = to_avpll_vco(hw);
163 reg = readl_relaxed(vco->base + VCO_CTRL1);
184 struct berlin2_avpll_vco *vco;
187 vco = kzalloc(sizeof(*vco), GFP_KERNEL);
188 if (!vco)
191 vco->base = base;
192 vco->flags = vco_flags;
193 vco->hw.init = &init;
200 return clk_hw_register(NULL, &vco->hw);