Home
last modified time | relevance | path

Searched refs:core_addr (Results 1 – 3 of 3) sorted by relevance

/rk3399_ARM-atf/drivers/arm/ethosn/
H A Dethosn_smc.c34 #define ETHOSN_CORE_SEC_REG(core_addr, reg_offset) \ argument
35 (core_addr + reg_offset)
120 static bool ethosn_get_device_and_core(uintptr_t core_addr, in ethosn_get_device_and_core() argument
133 if (core->addr == core_addr) { in ethosn_get_device_and_core()
146 static uint32_t ethosn_core_read_arch_version(uintptr_t core_addr) in ethosn_core_read_arch_version() argument
148 uint32_t npu_id = mmio_read_32(ETHOSN_CORE_SEC_REG(core_addr, in ethosn_core_read_arch_version()
185 static void ethosn_configure_vector_table(uintptr_t core_addr) in ethosn_configure_vector_table() argument
187 mmio_setbits_32(ETHOSN_CORE_SEC_REG(core_addr, SEC_SYSCTRL0_REG), in ethosn_configure_vector_table()
193 static void ethosn_configure_events(uintptr_t core_addr) in ethosn_configure_events() argument
195 mmio_write_32(ETHOSN_CORE_SEC_REG(core_addr, SEC_SYSCTRL1_REG), SEC_SYSCTRL1_VAL); in ethosn_configure_events()
[all …]
/rk3399_ARM-atf/plat/arm/common/fconf/
H A Dfconf_ethosn_getter.c198 uintptr_t core_addr; in fdt_node_populate_core() local
201 &core_addr, NULL); in fdt_node_populate_core()
228 core_addr); in fdt_node_populate_core()
235 core_addr); in fdt_node_populate_core()
247 core_addr); in fdt_node_populate_core()
251 core->addr = core_addr; in fdt_node_populate_core()
/rk3399_ARM-atf/include/drivers/arm/
H A Dethosn.h74 u_register_t core_addr,