/openbmc/linux/drivers/media/platform/renesas/rzg2l-cru/ |
H A D | rzg2l-video.c | 146 struct rzg2l_cru_dev *cru = vb2_get_drv_priv(vq); in rzg2l_cru_queue_setup() local 469 int rzg2l_cru_vclk_prepare(struct rzg2l_cru_dev *cru) in rzg2l_cru_vclk_prepare() 563 struct rzg2l_cru_dev *cru = data; in rzg2l_cru_irq() local 646 struct rzg2l_cru_dev *cru = vb2_get_drv_priv(vq); in rzg2l_cru_start_streaming_vq() local 708 struct rzg2l_cru_dev *cru = vb2_get_drv_priv(vq); in rzg2l_cru_stop_streaming_vq() local 740 int rzg2l_cru_dma_register(struct rzg2l_cru_dev *cru) in rzg2l_cru_dma_register() 886 struct rzg2l_cru_dev *cru = video_drvdata(file); in rzg2l_cru_try_fmt_vid_cap() local 896 struct rzg2l_cru_dev *cru = video_drvdata(file); in rzg2l_cru_s_fmt_vid_cap() local 911 struct rzg2l_cru_dev *cru = video_drvdata(file); in rzg2l_cru_g_fmt_vid_cap() local 953 struct rzg2l_cru_dev *cru = video_drvdata(file); in rzg2l_cru_open() local [all …]
|
H A D | rzg2l-core.c | 41 struct rzg2l_cru_dev *cru = notifier_to_cru(notifier); in rzg2l_cru_group_notify_complete() local 97 struct rzg2l_cru_dev *cru = notifier_to_cru(notifier); in rzg2l_cru_group_notify_unbind() local 115 struct rzg2l_cru_dev *cru = notifier_to_cru(notifier); in rzg2l_cru_group_notify_bound() local 135 static int rzg2l_cru_mc_parse_of(struct rzg2l_cru_dev *cru) in rzg2l_cru_mc_parse_of() 181 static int rzg2l_cru_mc_parse_of_graph(struct rzg2l_cru_dev *cru) in rzg2l_cru_mc_parse_of_graph() 206 static int rzg2l_cru_media_init(struct rzg2l_cru_dev *cru) in rzg2l_cru_media_init() 244 struct rzg2l_cru_dev *cru; in rzg2l_cru_probe() local 302 struct rzg2l_cru_dev *cru = platform_get_drvdata(pdev); in rzg2l_cru_remove() local
|
H A D | rzg2l-ip.c | 36 struct v4l2_mbus_framefmt *rzg2l_cru_ip_get_src_fmt(struct rzg2l_cru_dev *cru) in rzg2l_cru_ip_get_src_fmt() 50 struct rzg2l_cru_dev *cru; in rzg2l_cru_ip_s_stream() local 209 int rzg2l_cru_ip_subdev_register(struct rzg2l_cru_dev *cru) in rzg2l_cru_ip_subdev_register() 248 void rzg2l_cru_ip_subdev_unregister(struct rzg2l_cru_dev *cru) in rzg2l_cru_ip_subdev_unregister()
|
/openbmc/u-boot/drivers/clk/rockchip/ |
H A D | clk_rv1108.c | 117 static uint32_t rkclk_pll_get_rate(struct rv1108_cru *cru, in rkclk_pll_get_rate() 189 static ulong rv1108_saradc_get_clk(struct rv1108_cru *cru) in rv1108_saradc_get_clk() 214 static ulong rv1108_aclk_vio1_get_clk(struct rv1108_cru *cru) in rv1108_aclk_vio1_get_clk() 240 static ulong rv1108_aclk_vio0_get_clk(struct rv1108_cru *cru) in rv1108_aclk_vio0_get_clk() 275 static ulong rv1108_dclk_vop_get_clk(struct rv1108_cru *cru) in rv1108_dclk_vop_get_clk() 303 static ulong rv1108_aclk_bus_get_clk(struct rv1108_cru *cru) in rv1108_aclk_bus_get_clk() 331 static ulong rv1108_aclk_peri_get_clk(struct rv1108_cru *cru) in rv1108_aclk_peri_get_clk() 343 static ulong rv1108_hclk_peri_get_clk(struct rv1108_cru *cru) in rv1108_hclk_peri_get_clk() 355 static ulong rv1108_pclk_peri_get_clk(struct rv1108_cru *cru) in rv1108_pclk_peri_get_clk() 487 static ulong rv1108_mmc_get_clk(struct rv1108_cru *cru) in rv1108_mmc_get_clk() [all …]
|
H A D | clk_rk3128.c | 38 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 …]
|
H A D | clk_rk3288.c | 144 static int rkclk_set_pll(struct rk3288_cru *cru, enum rk_clk_id clk_id, in rkclk_set_pll() 298 static int rockchip_mac_set_clk(struct rk3288_cru *cru, uint freq) in rockchip_mac_set_clk() 387 static ulong rockchip_i2s_get_clk(struct rk3288_cru *cru, uint gclk_rate) in rockchip_i2s_get_clk() 403 static ulong rockchip_i2s_set_clk(struct rk3288_cru *cru, uint gclk_rate, in rockchip_i2s_set_clk() 421 static void rkclk_init(struct rk3288_cru *cru, struct rk3288_grf *grf) in rkclk_init() 537 static uint32_t rkclk_pll_get_rate(struct rk3288_cru *cru, in rkclk_pll_get_rate() 570 static ulong rockchip_mmc_get_clk(struct rk3288_cru *cru, uint gclk_rate, in rockchip_mmc_get_clk() 718 static ulong rockchip_saradc_get_clk(struct rk3288_cru *cru) in rockchip_saradc_get_clk() 729 static ulong rockchip_saradc_set_clk(struct rk3288_cru *cru, uint hz) in rockchip_saradc_set_clk() 788 struct rk3288_cru *cru = priv->cru; in rk3288_clk_set_rate() local [all …]
|
H A D | clk_rk3368.c | 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() 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() 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() [all …]
|
H A D | clk_rk322x.c | 41 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
|
H A D | clk_rk3188.c | 85 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
|
H A D | clk_rk3328.c | 206 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() 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() 527 static ulong rk3328_saradc_get_clk(struct rk3328_cru *cru) in rk3328_saradc_get_clk() [all …]
|
H A D | clk_rk3036.c | 44 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()
|
H A D | clk_rk3399.c | 421 void rk3399_configure_cpu_l(struct rk3399_cru *cru, in rk3399_configure_cpu_l() 456 void rk3399_configure_cpu_b(struct rk3399_cru *cru, in rk3399_configure_cpu_b() 515 static ulong rk3399_i2c_get_clk(struct rk3399_cru *cru, ulong clk_id) in rk3399_i2c_get_clk() 629 static ulong rk3399_spi_get_clk(struct rk3399_cru *cru, ulong clk_id) in rk3399_spi_get_clk() 722 static ulong rk3399_mmc_get_clk(struct rk3399_cru *cru, uint clk_id) in rk3399_mmc_get_clk() 749 static ulong rk3399_mmc_set_clk(struct rk3399_cru *cru, in rk3399_mmc_set_clk() 802 static ulong rk3399_gmac_set_clk(struct rk3399_cru *cru, ulong rate) in rk3399_gmac_set_clk() 827 static ulong rk3399_ddr_set_clk(struct rk3399_cru *cru, in rk3399_ddr_set_clk() 865 static ulong rk3399_saradc_get_clk(struct rk3399_cru *cru) in rk3399_saradc_get_clk() 876 static ulong rk3399_saradc_set_clk(struct rk3399_cru *cru, uint hz) in rk3399_saradc_set_clk() [all …]
|
/openbmc/u-boot/drivers/ram/rockchip/ |
H A D | sdram_rk3188.c | 37 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()
|
H A D | dmc-rk3368.c | 25 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
|
H A D | sdram_rk3288.c | 39 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()
|
H A D | sdram_rk322x.c | 36 struct rk322x_cru *cru; member 90 void phy_pctrl_reset(struct rk322x_cru *cru, in phy_pctrl_reset()
|
/openbmc/u-boot/arch/arm/mach-rockchip/rk3368/ |
H A D | rk3368.c | 69 struct rk3368_cru *cru = rockchip_get_cru(); in mcu_init() local
|
/openbmc/u-boot/arch/arm/mach-rockchip/ |
H A D | rk3368-board-tpl.c | 47 struct rk3368_cru * const cru = in sgrf_init() local
|
H A D | rk3288-board.c | 50 struct rk3288_cru *cru = rockchip_get_cru(); in rk3288_detect_reset_reason() local
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | rk3036.dtsi | 100 cru: clock-controller@20000000 { label
|
H A D | rk3188.dtsi | 103 cru: clock-controller@20000000 { label
|
/openbmc/linux/arch/arm/boot/dts/rockchip/ |
H A D | rv1126.dtsi | 258 cru: clock-controller@ff490000 { label
|
/openbmc/u-boot/board/theobroma-systems/puma_rk3399/ |
H A D | puma-rk3399.c | 66 struct rk3399_cru *cru = rockchip_get_cru(); in spl_board_init() local
|
/openbmc/linux/arch/arm64/boot/dts/renesas/ |
H A D | r9a07g044.dtsi | 691 cru: video@10830000 { label
|
H A D | r9a07g054.dtsi | 696 cru: video@10830000 { label
|