Lines Matching defs:clkp
149 meson_clk_clock_get_rate(void *priv, struct clk *clkp)
152 struct meson_clk_clk *clk = (struct meson_clk_clk *)clkp;
158 clkp_parent = clk_get_parent(clkp);
168 meson_clk_clock_set_rate(void *priv, struct clk *clkp, u_int rate)
171 struct meson_clk_clk *clk = (struct meson_clk_clk *)clkp;
174 if (clkp->flags & CLK_SET_RATE_PARENT) {
175 clkp_parent = clk_get_parent(clkp);
190 meson_clk_clock_round_rate(void *priv, struct clk *clkp, u_int rate)
193 struct meson_clk_clk *clk = (struct meson_clk_clk *)clkp;
196 if (clkp->flags & CLK_SET_RATE_PARENT) {
197 clkp_parent = clk_get_parent(clkp);
212 meson_clk_clock_enable(void *priv, struct clk *clkp)
215 struct meson_clk_clk *clk = (struct meson_clk_clk *)clkp;
219 clkp_parent = clk_get_parent(clkp);
233 meson_clk_clock_disable(void *priv, struct clk *clkp)
236 struct meson_clk_clk *clk = (struct meson_clk_clk *)clkp;
246 meson_clk_clock_set_parent(void *priv, struct clk *clkp,
250 struct meson_clk_clk *clk = (struct meson_clk_clk *)clkp;
259 meson_clk_clock_get_parent(void *priv, struct clk *clkp)
262 struct meson_clk_clk *clk = (struct meson_clk_clk *)clkp;