Lines Matching defs:imx_ccm_softc
35 struct imx_ccm_softc;
56 int imx_ccm_extclk_enable(struct imx_ccm_softc *, struct imx_ccm_clk *, int);
57 u_int imx_ccm_extclk_get_rate(struct imx_ccm_softc *, struct imx_ccm_clk *);
58 int imx_ccm_extclk_set_rate(struct imx_ccm_softc *, struct imx_ccm_clk *, u_int);
59 const char *imx_ccm_extclk_get_parent(struct imx_ccm_softc *, struct imx_ccm_clk *);
82 int imx_ccm_gate_enable(struct imx_ccm_softc *,
84 const char *imx_ccm_gate_get_parent(struct imx_ccm_softc *,
118 int imx_ccm_composite_enable(struct imx_ccm_softc *, struct imx_ccm_clk *, int);
119 u_int imx_ccm_composite_get_rate(struct imx_ccm_softc *, struct imx_ccm_clk *);
120 int imx_ccm_composite_set_rate(struct imx_ccm_softc *, struct imx_ccm_clk *, u_int);
121 const char *imx_ccm_composite_get_parent(struct imx_ccm_softc *, struct imx_ccm_clk *);
122 int imx_ccm_composite_set_parent(struct imx_ccm_softc *, struct imx_ccm_clk *, const char *);
157 int imx_ccm_pll_enable(struct imx_ccm_softc *, struct imx_ccm_clk *, int);
158 u_int imx_ccm_pll_get_rate(struct imx_ccm_softc *, struct imx_ccm_clk *);
159 const char *imx_ccm_pll_get_parent(struct imx_ccm_softc *, struct imx_ccm_clk *);
185 u_int imx_ccm_fixed_get_rate(struct imx_ccm_softc *, struct imx_ccm_clk *);
205 u_int imx_ccm_fixed_factor_get_rate(struct imx_ccm_softc *, struct imx_ccm_clk *);
206 int imx_ccm_fixed_factor_set_rate(struct imx_ccm_softc *, struct imx_ccm_clk *, u_int);
207 const char *imx_ccm_fixed_factor_get_parent(struct imx_ccm_softc *, struct imx_ccm_clk *);
232 const char *imx_ccm_mux_get_parent(struct imx_ccm_softc *, struct imx_ccm_clk *);
233 int imx_ccm_mux_set_parent(struct imx_ccm_softc *, struct imx_ccm_clk *, const char *);
264 u_int imx_ccm_div_get_rate(struct imx_ccm_softc *, struct imx_ccm_clk *);
265 int imx_ccm_div_set_rate(struct imx_ccm_softc *, struct imx_ccm_clk *, u_int);
266 const char *imx_ccm_div_get_parent(struct imx_ccm_softc *, struct imx_ccm_clk *);
306 int (*enable)(struct imx_ccm_softc *,
308 u_int (*get_rate)(struct imx_ccm_softc *,
310 int (*set_rate)(struct imx_ccm_softc *,
312 u_int (*round_rate)(struct imx_ccm_softc *,
314 const char * (*get_parent)(struct imx_ccm_softc *,
316 int (*set_parent)(struct imx_ccm_softc *,
325 struct imx_ccm_softc {
339 int imx_ccm_attach(struct imx_ccm_softc *);
340 struct imx_ccm_clk *imx_ccm_clock_find(struct imx_ccm_softc *,
342 void imx_ccm_print(struct imx_ccm_softc *);