Home
last modified time | relevance | path

Searched refs:sgrf_base (Results 1 – 2 of 2) sorted by relevance

/optee_os/core/arch/arm/plat-rockchip/
H A Dplatform_rk322x.c23 vaddr_t sgrf_base = (vaddr_t)phys_to_virt_io(SGRF_BASE, SGRF_SIZE); in platform_secure_init() local
31 io_write32(sgrf_base + SGRF_SOC_CON(7), SLAVE_ALL_NS); in platform_secure_init()
32 io_write32(sgrf_base + SGRF_SOC_CON(8), SLAVE_ALL_NS); in platform_secure_init()
33 io_write32(sgrf_base + SGRF_SOC_CON(9), SLAVE_ALL_NS); in platform_secure_init()
34 io_write32(sgrf_base + SGRF_SOC_CON(10), SLAVE_ALL_NS); in platform_secure_init()
H A Dplatform_rk3399.c20 vaddr_t sgrf_base = (vaddr_t)phys_to_virt_io(SGRF_BASE, SGRF_SIZE); in platform_secure_ddr_region() local
25 if (!sgrf_base) in platform_secure_ddr_region()
38 io_write32(sgrf_base + SGRF_DDRRGN_CON0_16(rgn), in platform_secure_ddr_region()
42 io_write32(sgrf_base + SGRF_DDRRGN_CON0_16(rgn + 8), in platform_secure_ddr_region()
45 io_write32(sgrf_base + SGRF_DDRRGN_CON0_16(16), in platform_secure_ddr_region()