Lines Matching defs:clkp
86 imx_ccm_clock_get_rate(void *priv, struct clk *clkp)
89 struct imx_ccm_clk *clk = (struct imx_ccm_clk *)clkp;
95 clkp_parent = clk_get_parent(clkp);
105 imx_ccm_clock_set_rate(void *priv, struct clk *clkp, u_int rate)
108 struct imx_ccm_clk *clk = (struct imx_ccm_clk *)clkp;
111 if (clkp->flags & CLK_SET_RATE_PARENT) {
112 clkp_parent = clk_get_parent(clkp);
127 imx_ccm_clock_round_rate(void *priv, struct clk *clkp, u_int rate)
130 struct imx_ccm_clk *clk = (struct imx_ccm_clk *)clkp;
133 if (clkp->flags & CLK_SET_RATE_PARENT) {
134 clkp_parent = clk_get_parent(clkp);
149 imx_ccm_clock_enable(void *priv, struct clk *clkp)
152 struct imx_ccm_clk *clk = (struct imx_ccm_clk *)clkp;
156 clkp_parent = clk_get_parent(clkp);
170 imx_ccm_clock_disable(void *priv, struct clk *clkp)
173 struct imx_ccm_clk *clk = (struct imx_ccm_clk *)clkp;
183 imx_ccm_clock_set_parent(void *priv, struct clk *clkp,
187 struct imx_ccm_clk *clk = (struct imx_ccm_clk *)clkp;
196 imx_ccm_clock_get_parent(void *priv, struct clk *clkp)
199 struct imx_ccm_clk *clk = (struct imx_ccm_clk *)clkp;