Home | History | Annotate | Download | only in amlogic

Lines Matching refs:meson_clk_softc

35 struct meson_clk_softc;
77 u_int meson_clk_fixed_get_rate(struct meson_clk_softc *, struct meson_clk_clk *);
100 int meson_clk_gate_enable(struct meson_clk_softc *,
102 const char *meson_clk_gate_get_parent(struct meson_clk_softc *,
135 u_int meson_clk_div_get_rate(struct meson_clk_softc *,
137 int meson_clk_div_set_rate(struct meson_clk_softc *,
139 const char *meson_clk_div_get_parent(struct meson_clk_softc *,
165 u_int meson_clk_fixed_factor_get_rate(struct meson_clk_softc *,
167 int meson_clk_fixed_factor_set_rate(struct meson_clk_softc *,
169 const char *meson_clk_fixed_factor_get_parent(struct meson_clk_softc *,
196 const char *meson_clk_mux_get_parent(struct meson_clk_softc *,
252 u_int meson_clk_pll_get_rate(struct meson_clk_softc *,
254 int meson_clk_pll_set_rate(struct meson_clk_softc *,
256 const char *meson_clk_pll_get_parent(struct meson_clk_softc *,
258 int meson_clk_pll_wait_lock(struct meson_clk_softc *sc,
310 u_int meson_clk_mpll_get_rate(struct meson_clk_softc *,
312 const char *meson_clk_mpll_get_parent(struct meson_clk_softc *,
345 int (*enable)(struct meson_clk_softc *,
347 u_int (*get_rate)(struct meson_clk_softc *,
349 int (*set_rate)(struct meson_clk_softc *,
351 u_int (*round_rate)(struct meson_clk_softc *,
353 const char * (*get_parent)(struct meson_clk_softc *,
355 int (*set_parent)(struct meson_clk_softc *,
360 struct meson_clk_softc {
378 void meson_clk_attach(struct meson_clk_softc *);
379 struct meson_clk_clk *meson_clk_clock_find(struct meson_clk_softc *,
381 void meson_clk_print(struct meson_clk_softc *);
383 void meson_clk_lock(struct meson_clk_softc *);
384 void meson_clk_unlock(struct meson_clk_softc *);
385 uint32_t meson_clk_read(struct meson_clk_softc *, bus_size_t);
386 void meson_clk_write(struct meson_clk_softc *, bus_size_t, uint32_t);