Home
last modified time | relevance | path

Searched refs:core_pos (Results 1 – 9 of 9) sorted by relevance

/external/arm-trusted-firmware/plat/layerscape/board/ls1043/
Dls1043_psci.c56 static void ls1043_reset_core(int core_pos) in ls1043_reset_core() argument
58 assert(core_pos >= 0 && core_pos < PLATFORM_CORE_COUNT); in ls1043_reset_core()
61 mmio_write_32(LS_SCFG_BASE + LS_SCFG_RVBAR0_0_OFFSET + core_pos * 8, in ls1043_reset_core()
63 mmio_write_32(LS_SCFG_BASE + LS_SCFG_RVBAR0_1_OFFSET + core_pos * 8, in ls1043_reset_core()
74 core_pos * 4, htobe32(1U << 31)); in ls1043_reset_core()
98 int core_pos = plat_core_pos_by_mpidr(mpidr); in ls1043_pwr_domain_on() local
101 assert(core_pos >= 0 && core_pos < PLATFORM_CORE_COUNT); in ls1043_pwr_domain_on()
102 core_mask = 1 << core_pos; in ls1043_pwr_domain_on()
116 ls1043_reset_core(core_pos); in ls1043_pwr_domain_on()
/external/arm-trusted-firmware/plat/arm/board/arm_fpga/
Dfpga_topology.c56 unsigned int core_pos; in plat_core_pos_by_mpidr() local
69 core_pos = plat_fpga_calc_core_pos(mpidr); in plat_core_pos_by_mpidr()
72 if (fpga_valid_mpids[core_pos] != VALID_MPID) { in plat_core_pos_by_mpidr()
76 return core_pos; in plat_core_pos_by_mpidr()
/external/arm-trusted-firmware/plat/socionext/synquacer/drivers/scp/
Dsq_scmi.c138 int lvl = 0, ret, core_pos; in sq_scmi_on() local
147 core_pos = plat_core_pos_by_mpidr(mpidr); in sq_scmi_on()
148 assert(core_pos >= 0 && core_pos < PLATFORM_CORE_COUNT); in sq_scmi_on()
151 sq_core_pos_to_scmi_dmn_id_map[core_pos], in sq_scmi_on()
/external/arm-trusted-firmware/plat/arm/board/fvp/
Dfvp_gicv3.c75 unsigned int core_pos = plat_my_core_pos(); in fvp_gicv3_make_rdistrif_rw() local
78 if (fvp_gicr_rw_region_init[core_pos] != true) { in fvp_gicv3_make_rdistrif_rw()
80 (core_pos * BASE_GICR_SIZE), in fvp_gicv3_make_rdistrif_rw()
91 fvp_gicr_rw_region_init[core_pos] = true; in fvp_gicv3_make_rdistrif_rw()
/external/arm-trusted-firmware/drivers/arm/css/scp/
Dcss_pm_scmi.c93 static void css_scp_core_pos_to_scmi_channel(unsigned int core_pos, in css_scp_core_pos_to_scmi_channel() argument
98 composite_id = plat_css_core_pos_to_scmi_dmn_id_map[core_pos]; in css_scp_core_pos_to_scmi_channel()
217 unsigned int lvl = 0, channel_id, core_pos, domain_id; in css_scp_on() local
227 core_pos = (unsigned int)plat_core_pos_by_mpidr(mpidr); in css_scp_on()
228 assert(core_pos < PLATFORM_CORE_COUNT); in css_scp_on()
230 css_scp_core_pos_to_scmi_channel(core_pos, &domain_id, in css_scp_on()
/external/arm-trusted-firmware/plat/qti/common/src/
Dqti_pm.c134 int core_pos = plat_core_pos_by_mpidr(mpidr); in qti_cpu_power_on() local
137 if (core_pos < 0 || core_pos >= QTISECLIB_PLAT_CORE_COUNT) { in qti_cpu_power_on()
/external/arm-trusted-firmware/plat/nvidia/tegra/soc/t194/
Dplat_psci_handlers.c209 uint32_t core_pos = (uint32_t)read_mpidr() & (uint32_t)MPIDR_CPU_MASK; in tegra_get_afflvl1_pwr_state() local
210 plat_local_state_t target = states[core_pos]; in tegra_get_afflvl1_pwr_state()
/external/arm-trusted-firmware/plat/nvidia/tegra/soc/t186/
Dplat_psci_handlers.c200 uint32_t core_pos = (uint32_t)read_mpidr() & (uint32_t)MPIDR_CPU_MASK; in tegra_get_afflvl1_pwr_state() local
203 plat_local_state_t target = states[core_pos]; in tegra_get_afflvl1_pwr_state()
/external/arm-trusted-firmware/plat/nvidia/tegra/soc/t210/
Dplat_psci_handlers.c107 int core_pos = read_mpidr() & MPIDR_CPU_MASK; in tegra_soc_get_target_pwr_state() local
113 target = *(states + core_pos); in tegra_soc_get_target_pwr_state()