Home
last modified time | relevance | path

Searched defs:cru (Results 1 – 25 of 37) sorted by relevance

12

/external/u-boot/drivers/clk/rockchip/
Dclk_rk3128.c38 static int rkclk_set_pll(struct rk3128_cru *cru, enum rk_clk_id clk_id, in rkclk_set_pll()
140 static void rkclk_init(struct rk3128_cru *cru) in rkclk_init()
238 static u32 rkclk_pll_get_rate(struct rk3128_cru *cru, in rkclk_pll_get_rate()
278 static ulong rockchip_mmc_get_clk(struct rk3128_cru *cru, uint clk_general_rate, in rockchip_mmc_get_clk()
307 static ulong rockchip_mmc_set_clk(struct rk3128_cru *cru, uint clk_general_rate, in rockchip_mmc_set_clk()
346 static ulong rk3128_peri_get_pclk(struct rk3128_cru *cru, ulong clk_id) in rk3128_peri_get_pclk()
367 static ulong rk3128_peri_set_pclk(struct rk3128_cru *cru, ulong clk_id, uint hz) in rk3128_peri_set_pclk()
391 static ulong rk3128_saradc_get_clk(struct rk3128_cru *cru) in rk3128_saradc_get_clk()
402 static ulong rk3128_saradc_set_clk(struct rk3128_cru *cru, uint hz) in rk3128_saradc_set_clk()
416 static ulong rk3128_vop_set_clk(struct rk3128_cru *cru, ulong clk_id, uint hz) in rk3128_vop_set_clk()
[all …]
Dclk_rk322x.c41 static int rkclk_set_pll(struct rk322x_cru *cru, enum rk_clk_id clk_id, in rkclk_set_pll()
79 static void rkclk_init(struct rk322x_cru *cru) in rkclk_init()
170 static uint32_t rkclk_pll_get_rate(struct rk322x_cru *cru, in rkclk_pll_get_rate()
210 static ulong rockchip_mmc_get_clk(struct rk322x_cru *cru, uint clk_general_rate, in rockchip_mmc_get_clk()
239 static ulong rk322x_mac_set_clk(struct rk322x_cru *cru, uint freq) in rk322x_mac_set_clk()
274 static ulong rockchip_mmc_set_clk(struct rk322x_cru *cru, uint clk_general_rate, in rockchip_mmc_set_clk()
317 static int rk322x_ddr_set_clk(struct rk322x_cru *cru, unsigned int set_rate) in rk322x_ddr_set_clk()
402 struct rk322x_cru *cru = priv->cru; in rk322x_gmac_set_parent() local
431 struct rk322x_cru *cru = priv->cru; in rk322x_gmac_extclk_set_parent() local
Dclk_rk3368.c61 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() local
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()
[all …]
Dclk_rk3288.c143 static int rkclk_set_pll(struct rk3288_cru *cru, enum rk_clk_id clk_id, in rkclk_set_pll()
174 static int rkclk_configure_ddr(struct rk3288_cru *cru, struct rk3288_grf *grf, in rkclk_configure_ddr()
297 static int rockchip_mac_set_clk(struct rk3288_cru *cru, uint freq) in rockchip_mac_set_clk()
335 static int rockchip_vop_set_clk(struct rk3288_cru *cru, struct rk3288_grf *grf, in rockchip_vop_set_clk()
376 static void rkclk_init(struct rk3288_cru *cru, struct rk3288_grf *grf) in rkclk_init()
450 void rk3288_clk_configure_cpu(struct rk3288_cru *cru, struct rk3288_grf *grf) in rk3288_clk_configure_cpu()
492 static uint32_t rkclk_pll_get_rate(struct rk3288_cru *cru, in rkclk_pll_get_rate()
525 static ulong rockchip_mmc_get_clk(struct rk3288_cru *cru, uint gclk_rate, in rockchip_mmc_get_clk()
559 static ulong rockchip_mmc_set_clk(struct rk3288_cru *cru, uint gclk_rate, in rockchip_mmc_set_clk()
609 static ulong rockchip_spi_get_clk(struct rk3288_cru *cru, uint gclk_rate, in rockchip_spi_get_clk()
[all …]
Dclk_rk3188.c85 static int rkclk_set_pll(struct rk3188_cru *cru, enum rk_clk_id clk_id, in rkclk_set_pll()
119 static int rkclk_configure_ddr(struct rk3188_cru *cru, struct rk3188_grf *grf, in rkclk_configure_ddr()
165 static int rkclk_configure_cpu(struct rk3188_cru *cru, struct rk3188_grf *grf, in rkclk_configure_cpu()
225 static uint32_t rkclk_pll_get_rate(struct rk3188_cru *cru, in rkclk_pll_get_rate()
258 static ulong rockchip_mmc_get_clk(struct rk3188_cru *cru, uint gclk_rate, in rockchip_mmc_get_clk()
287 static ulong rockchip_mmc_set_clk(struct rk3188_cru *cru, uint gclk_rate, in rockchip_mmc_set_clk()
323 static ulong rockchip_spi_get_clk(struct rk3188_cru *cru, uint gclk_rate, in rockchip_spi_get_clk()
345 static ulong rockchip_spi_set_clk(struct rk3188_cru *cru, uint gclk_rate, in rockchip_spi_set_clk()
372 static void rkclk_init(struct rk3188_cru *cru, struct rk3188_grf *grf, in rkclk_init()
498 struct rk3188_cru *cru = priv->cru; in rk3188_clk_set_rate() local
Dclk_rv1108.c60 static uint32_t rkclk_pll_get_rate(struct rv1108_cru *cru, in rkclk_pll_get_rate()
86 static int rv1108_mac_set_clk(struct rv1108_cru *cru, ulong rate) in rv1108_mac_set_clk()
111 static int rv1108_sfc_set_clk(struct rv1108_cru *cru, uint rate) in rv1108_sfc_set_clk()
132 static ulong rv1108_saradc_get_clk(struct rv1108_cru *cru) in rv1108_saradc_get_clk()
143 static ulong rv1108_saradc_set_clk(struct rv1108_cru *cru, uint hz) in rv1108_saradc_set_clk()
198 static void rkclk_init(struct rv1108_cru *cru) in rkclk_init()
Dclk_rk3036.c44 static int rkclk_set_pll(struct rk3036_cru *cru, enum rk_clk_id clk_id, in rkclk_set_pll()
78 static void rkclk_init(struct rk3036_cru *cru) in rkclk_init()
169 static uint32_t rkclk_pll_get_rate(struct rk3036_cru *cru, in rkclk_pll_get_rate()
210 static ulong rockchip_mmc_get_clk(struct rk3036_cru *cru, uint clk_general_rate, in rockchip_mmc_get_clk()
238 static ulong rockchip_mmc_set_clk(struct rk3036_cru *cru, uint clk_general_rate, in rockchip_mmc_set_clk()
Dclk_rk3328.c206 static void rkclk_set_pll(struct rk3328_cru *cru, enum rk_clk_id clk_id, in rkclk_set_pll()
279 static void rkclk_init(struct rk3328_cru *cru) in rkclk_init()
304 void rk3328_configure_cpu(struct rk3328_cru *cru, in rk3328_configure_cpu()
329 static ulong rk3328_i2c_get_clk(struct rk3328_cru *cru, ulong clk_id) in rk3328_i2c_get_clk()
358 static ulong rk3328_i2c_set_clk(struct rk3328_cru *cru, ulong clk_id, uint hz) in rk3328_i2c_set_clk()
402 static ulong rk3328_gmac2io_set_clk(struct rk3328_cru *cru, ulong rate) in rk3328_gmac2io_set_clk()
440 static ulong rk3328_mmc_get_clk(struct rk3328_cru *cru, uint clk_id) in rk3328_mmc_get_clk()
466 static ulong rk3328_mmc_set_clk(struct rk3328_cru *cru, in rk3328_mmc_set_clk()
505 static ulong rk3328_pwm_get_clk(struct rk3328_cru *cru) in rk3328_pwm_get_clk()
515 static ulong rk3328_pwm_set_clk(struct rk3328_cru *cru, uint hz) in rk3328_pwm_set_clk()
[all …]
Dclk_rk3399.c398 void rk3399_configure_cpu(struct rk3399_cru *cru, in rk3399_configure_cpu()
455 static ulong rk3399_i2c_get_clk(struct rk3399_cru *cru, ulong clk_id) in rk3399_i2c_get_clk()
492 static ulong rk3399_i2c_set_clk(struct rk3399_cru *cru, ulong clk_id, uint hz) in rk3399_i2c_set_clk()
569 static ulong rk3399_spi_get_clk(struct rk3399_cru *cru, ulong clk_id) in rk3399_spi_get_clk()
591 static ulong rk3399_spi_set_clk(struct rk3399_cru *cru, ulong clk_id, uint hz) in rk3399_spi_set_clk()
618 static ulong rk3399_vop_set_clk(struct rk3399_cru *cru, ulong clk_id, u32 hz) in rk3399_vop_set_clk()
662 static ulong rk3399_mmc_get_clk(struct rk3399_cru *cru, uint clk_id) in rk3399_mmc_get_clk()
689 static ulong rk3399_mmc_set_clk(struct rk3399_cru *cru, in rk3399_mmc_set_clk()
742 static ulong rk3399_gmac_set_clk(struct rk3399_cru *cru, ulong rate) in rk3399_gmac_set_clk()
767 static ulong rk3399_ddr_set_clk(struct rk3399_cru *cru, in rk3399_ddr_set_clk()
[all …]
/external/u-boot/arch/arm/mach-rockchip/rk3368/
Drk3368.c69 struct rk3368_cru *cru = rockchip_get_cru(); in mcu_init() local
/external/u-boot/arch/arm/mach-rockchip/
Drk3368-board-tpl.c47 struct rk3368_cru * const cru = in sgrf_init() local
Drk3288-board.c50 struct rk3288_cru *cru = rockchip_get_cru(); in rk3288_detect_reset_reason() local
/external/u-boot/drivers/ram/rockchip/
Dsdram_rk3188.c37 struct rk3188_cru *cru; member
95 static void ddr_reset(struct rk3188_cru *cru, u32 ch, u32 ctl, u32 phy) in ddr_reset()
112 static void ddr_phy_ctl_reset(struct rk3188_cru *cru, u32 ch, u32 n) in ddr_phy_ctl_reset()
120 static void phy_pctrl_reset(struct rk3188_cru *cru, in phy_pctrl_reset()
Dsdram_rk3288.c39 struct rk3288_cru *cru; member
94 static void ddr_reset(struct rk3288_cru *cru, u32 ch, u32 ctl, u32 phy) in ddr_reset()
111 static void ddr_phy_ctl_reset(struct rk3288_cru *cru, u32 ch, u32 n) in ddr_phy_ctl_reset()
119 static void phy_pctrl_reset(struct rk3288_cru *cru, in phy_pctrl_reset()
Ddmc-rk3368.c25 struct rk3368_cru *cru; member
329 static void ddrctl_reset(struct rk3368_cru *cru) in ddrctl_reset()
800 struct rk3368_cru *cru = priv->cru; in setup_sdram() local
908 struct rk3368_cru *cru; in rk3368_dmc_probe() local
Dsdram_rk322x.c36 struct rk322x_cru *cru; member
90 void phy_pctrl_reset(struct rk322x_cru *cru, in phy_pctrl_reset()
/external/u-boot/arch/arm/dts/
Drk3036.dtsi100 cru: clock-controller@20000000 { label
Drv1108.dtsi144 cru: clock-controller@20200000 { label
Drk3188.dtsi103 cru: clock-controller@20000000 { label
Drk322x.dtsi319 cru: clock-controller@110e0000 { label
Drk3128.dtsi246 cru: clock-controller@20000000 { label
/external/u-boot/board/theobroma-systems/puma_rk3399/
Dpuma-rk3399.c66 struct rk3399_cru *cru = rockchip_get_cru(); in spl_board_init() local
/external/u-boot/arch/arm/include/asm/arch-rockchip/
Dcru_rk3328.h12 struct rk3328_cru *cru; member
Dcru_rv1108.h17 struct rv1108_cru *cru; member
Dcru_rk3399.h13 struct rk3399_cru *cru; member

12