Home
last modified time | relevance | path

Searched refs:GRF_BASE (Results 1 – 21 of 21) sorted by relevance

/rk3399_ARM-atf/plat/rockchip/rk3399/drivers/pmu/
H A Dpmu.c849 mmio_write_32(GRF_BASE + GRF_SOC_CON4, CCI_FORCE_WAKEUP); in sys_slp_config()
922 iomux_status[i] = mmio_read_32(GRF_BASE + in suspend_apio()
924 pull_mode_status[i] = mmio_read_32(GRF_BASE + in suspend_apio()
945 mmio_write_32(GRF_BASE + GRF_GPIO3A_IOMUX, in suspend_apio()
947 mmio_write_32(GRF_BASE + GRF_GPIO3B_IOMUX, in suspend_apio()
949 mmio_write_32(GRF_BASE + GRF_GPIO3C_IOMUX, in suspend_apio()
953 mmio_write_32(GRF_BASE + GRF_GPIO3A_P, REG_SOC_WMSK | 0); in suspend_apio()
954 mmio_write_32(GRF_BASE + GRF_GPIO3B_P, REG_SOC_WMSK | 0); in suspend_apio()
955 mmio_write_32(GRF_BASE + GRF_GPIO3C_P, REG_SOC_WMSK | 0); in suspend_apio()
965 mmio_write_32(GRF_BASE + GRF_GPIO2A_IOMUX, in suspend_apio()
[all …]
/rk3399_ARM-atf/plat/rockchip/rk3399/drivers/pwm/
H A Dpwm.c34 val = mmio_read_32(GRF_BASE + GRF_GPIO4C_IOMUX); in disable_pwms()
40 mmio_write_32(GRF_BASE + GRF_GPIO4C_IOMUX, val); in disable_pwms()
43 val = mmio_read_32(GRF_BASE + GRF_GPIO4C_IOMUX); in disable_pwms()
49 mmio_write_32(GRF_BASE + GRF_GPIO4C_IOMUX, val); in disable_pwms()
114 mmio_write_32(GRF_BASE + GRF_GPIO4C_IOMUX, val); in enable_pwms()
121 mmio_write_32(GRF_BASE + GRF_GPIO4C_IOMUX, val); in enable_pwms()
/rk3399_ARM-atf/plat/rockchip/rk3399/drivers/gpio/
H A Drk3399_gpio.c94 .pull_base = GRF_BASE + GRF_GPIO2A_P,
101 .pull_base = GRF_BASE + GRF_GPIO3A_P,
108 .pull_base = GRF_BASE + GRF_GPIO4A_P,
348 mmio_read_32(GRF_BASE + GRF_GPIO2A_IOMUX + i * 4); in plat_rockchip_save_gpio()
357 mmio_write_32(GRF_BASE + GRF_GPIO2A_IOMUX + i * 4, in plat_rockchip_restore_gpio()
/rk3399_ARM-atf/plat/rockchip/rk3368/
H A Drk3368_def.h25 #define GRF_BASE 0xff770000 macro
/rk3399_ARM-atf/plat/rockchip/rk3328/drivers/pmu/
H A Dpmu.c221 val = mmio_read_32(GRF_BASE + GRF_GPIO2D_IOMUX); in rockchip_soc_system_off()
223 mmio_write_32(GRF_BASE + GRF_GPIO2D_IOMUX, val); in rockchip_soc_system_off()
471 sram_data.pmic_sleep_save = mmio_read_32(GRF_BASE + PMIC_SLEEP_REG); in rk3328_pmic_suspend()
474 mmio_write_32(GRF_BASE + PMIC_SLEEP_REG, BITS_WITH_WMASK(0, 0x3, 4)); in rk3328_pmic_suspend()
485 mmio_write_32(GRF_BASE + PMIC_SLEEP_REG, in rk3328_pmic_resume()
H A Dpmu.h69 #define CHECK_CPU_WFIE_BASE (GRF_BASE + GRF_CPU_STATUS(1))
/rk3399_ARM-atf/plat/rockchip/rk3568/
H A Drk3568_def.h27 #define GRF_BASE 0xfdc60000 macro
/rk3399_ARM-atf/plat/rockchip/rk3288/
H A Drk3288_def.h63 #define GRF_BASE 0xff770000 macro
/rk3399_ARM-atf/plat/rockchip/rk3568/drivers/soc/
H A Dsoc.c90 mmio_write_32(GRF_BASE + 0x0508, 0x00100010); in rockchip_system_reset_init()
/rk3399_ARM-atf/plat/rockchip/rk3328/
H A Drk3328_def.h36 #define GRF_BASE 0xff100000 macro
/rk3399_ARM-atf/plat/rockchip/rk3568/drivers/scmi/
H A Drk3568_clk.c503 mmio_write_32(GRF_BASE + RK3568_GPU_PVTPLL_CON0, in clk_gpu_set_rate()
506 mmio_write_32(GRF_BASE + RK3568_GPU_PVTPLL_CON0, in clk_gpu_set_rate()
570 mmio_write_32(GRF_BASE + RK3568_NPU_PVTPLL_CON0, in clk_npu_set_rate()
573 mmio_write_32(GRF_BASE + RK3568_NPU_PVTPLL_CON0, in clk_npu_set_rate()
/rk3399_ARM-atf/plat/rockchip/px30/
H A Dpx30_def.h49 #define GRF_BASE 0xff140000 macro
/rk3399_ARM-atf/plat/rockchip/rk3399/include/shared/
H A Daddressmap_shared.h39 #define GRF_BASE (MMIO_BASE + 0x07770000) macro
/rk3399_ARM-atf/plat/rockchip/px30/drivers/soc/
H A Dsoc.c100 mmio_write_32(GRF_BASE + GRF_SOC_CON(2), in soc_reset_config_all()
/rk3399_ARM-atf/plat/rockchip/rk3368/drivers/ddr/
H A Dddr_rk3368.c383 p_ddr_reg->phypllockaddr = GRF_BASE + GRF_SOC_STATUS0; in ddr_reg_save()
430 p_ddr_reg->grfregaddr = GRF_BASE + GRF_DDRC0_CON0; in ddr_reg_save()
431 p_ddr_reg->grfddrcreg = (mmio_read_32(GRF_BASE + GRF_DDRC0_CON0) & in ddr_reg_save()
/rk3399_ARM-atf/plat/rockchip/rk3328/drivers/soc/
H A Dsoc.c42 MAP_REGION_FLAT(GRF_BASE, GRF_SIZE,
/rk3399_ARM-atf/plat/rockchip/rk3288/drivers/pmu/
H A Dpmu.c51 reg = mmio_read_32(GRF_BASE + reg_offset[i]); in rk3288_sleep_disable_osc()
/rk3399_ARM-atf/plat/rockchip/rk3288/drivers/soc/
H A Dsoc.c49 MAP_REGION_FLAT(GRF_BASE, GRF_SIZE,
/rk3399_ARM-atf/plat/rockchip/rk3368/drivers/soc/
H A Dsoc.c49 MAP_REGION_FLAT(GRF_BASE, GRF_SIZE,
/rk3399_ARM-atf/plat/rockchip/rk3399/drivers/dram/
H A Ddfs.c1821 mmio_write_32(GRF_BASE + GRF_DDRC1_CON1, in dram_low_power_config()
1828 mmio_write_32(GRF_BASE + GRF_DDRC0_CON1, in dram_low_power_config()
1874 mmio_write_32(GRF_BASE + GRF_SOC_CON(0), 0xffffffff); in dram_dfs_init()
1875 mmio_write_32(GRF_BASE + GRF_SOC_CON(1), 0xffffffff); in dram_dfs_init()
1876 mmio_write_32(GRF_BASE + GRF_SOC_CON(2), 0xffffffff); in dram_dfs_init()
1877 mmio_write_32(GRF_BASE + GRF_SOC_CON(3), 0xffffffff); in dram_dfs_init()
1878 mmio_write_32(GRF_BASE + GRF_SOC_CON(4), 0x70007000); in dram_dfs_init()
/rk3399_ARM-atf/plat/rockchip/px30/drivers/pmu/
H A Dpmu.c373 while (!(mmio_read_32(GRF_BASE + GRF_CPU_STATUS1) & wfie_msk) && in check_cpu_wfie()
379 if ((mmio_read_32(GRF_BASE + GRF_CPU_STATUS1) & wfie_msk) == 0) { in check_cpu_wfie()