Home
last modified time | relevance | path

Searched refs:of_plat (Results 1 – 5 of 5) sorted by relevance

/external/u-boot/drivers/ram/rockchip/
Dsdram_rk322x.c42 struct dtd_rockchip_rk3228_dmc of_plat; member
759 struct dtd_rockchip_rk322x_dmc *of_plat = &plat->of_plat; in conv_of_platdata() local
762 memcpy(&plat->pctl_timing, of_plat->rockchip_pctl_timing, in conv_of_platdata()
764 memcpy(&plat->phy_timing, of_plat->rockchip_phy_timing, in conv_of_platdata()
766 memcpy(&plat->base, of_plat->rockchip_sdram_params, sizeof(plat->base)); in conv_of_platdata()
769 ret = regmap_init_mem_platdata(dev, of_plat->reg, in conv_of_platdata()
770 ARRAY_SIZE(of_plat->reg) / 2, in conv_of_platdata()
Ddmc-rk3368.c35 struct dtd_rockchip_rk3368_dmc of_plat; member
892 struct dtd_rockchip_rk3368_dmc *of_plat = &plat->of_plat; in conv_of_platdata() local
894 plat->ddr_freq = of_plat->rockchip_ddr_frequency; in conv_of_platdata()
895 plat->ddr_speed_bin = of_plat->rockchip_ddr_speed_bin; in conv_of_platdata()
896 plat->memory_schedule = of_plat->rockchip_memory_schedule; in conv_of_platdata()
926 pctl = (struct rk3368_ddr_pctl *)plat->of_plat.reg[0]; in rk3368_dmc_probe()
927 ddrphy = (struct rk3368_ddrphy *)plat->of_plat.reg[2]; in rk3368_dmc_probe()
Dsdram_rk3188.c45 struct dtd_rockchip_rk3188_dmc of_plat; member
855 struct dtd_rockchip_rk3188_dmc *of_plat = &plat->of_plat; in conv_of_platdata() local
858 memcpy(&plat->pctl_timing, of_plat->rockchip_pctl_timing, in conv_of_platdata()
860 memcpy(&plat->phy_timing, of_plat->rockchip_phy_timing, in conv_of_platdata()
862 memcpy(&plat->base, of_plat->rockchip_sdram_params, sizeof(plat->base)); in conv_of_platdata()
865 ret = regmap_init_mem_platdata(dev, of_plat->reg, in conv_of_platdata()
866 ARRAY_SIZE(of_plat->reg) / 2, in conv_of_platdata()
Dsdram_rk3288.c48 struct dtd_rockchip_rk3288_dmc of_plat; member
1016 struct dtd_rockchip_rk3288_dmc *of_plat = &plat->of_plat; in conv_of_platdata() local
1019 memcpy(&plat->pctl_timing, of_plat->rockchip_pctl_timing, in conv_of_platdata()
1021 memcpy(&plat->phy_timing, of_plat->rockchip_phy_timing, in conv_of_platdata()
1023 memcpy(&plat->base, of_plat->rockchip_sdram_params, sizeof(plat->base)); in conv_of_platdata()
1026 ret = regmap_init_mem_platdata(dev, of_plat->reg, in conv_of_platdata()
1027 ARRAY_SIZE(of_plat->reg) / 2, in conv_of_platdata()
/external/u-boot/drivers/spi/
Drk_spi.c29 struct dtd_rockchip_rk3288_spi of_plat; member
162 struct dtd_rockchip_rk3288_spi *dtplat = &plat->of_plat; in conv_of_platdata()