Lines Matching refs:rk3368_cru
61 static uint32_t rkclk_pll_get_rate(struct rk3368_cru *cru, in rkclk_pll_get_rate()
88 static int rkclk_set_pll(struct rk3368_cru *cru, enum rk3368_pll_id pll_id, in rkclk_set_pll()
130 static void rkclk_init(struct rk3368_cru *cru) in rkclk_init()
157 static ulong rk3368_mmc_get_clk(struct rk3368_cru *cru, uint clk_id) in rk3368_mmc_get_clk()
252 struct rk3368_cru *cru = priv->cru; in rk3368_mmc_set_clk()
282 static ulong rk3368_ddr_set_clk(struct rk3368_cru *cru, ulong set_rate) in rk3368_ddr_set_clk()
312 static ulong rk3368_gmac_set_clk(struct rk3368_cru *cru, ulong set_rate) in rk3368_gmac_set_clk()
378 static ulong rk3368_spi_get_clk(struct rk3368_cru *cru, ulong clk_id) in rk3368_spi_get_clk()
400 static ulong rk3368_spi_set_clk(struct rk3368_cru *cru, ulong clk_id, uint hz) in rk3368_spi_set_clk()
427 static ulong rk3368_saradc_get_clk(struct rk3368_cru *cru) in rk3368_saradc_get_clk()
438 static ulong rk3368_saradc_set_clk(struct rk3368_cru *cru, uint hz) in rk3368_saradc_set_clk()
524 struct rk3368_cru *cru = priv->cru; in rk3368_gmac_set_parent()
635 priv->glb_srst_fst_value = offsetof(struct rk3368_cru, in rk3368_clk_bind()
637 priv->glb_srst_snd_value = offsetof(struct rk3368_cru, in rk3368_clk_bind()
643 ret = offsetof(struct rk3368_cru, softrst_con[0]); in rk3368_clk_bind()