Home
last modified time | relevance | path

Searched refs:MPIDR_AFFLVL_MASK (Results 1 – 17 of 17) sorted by relevance

/device/linaro/bootloader/arm-trusted-firmware/plat/arm/common/
Darm_topology.c24 valid_mask = ~(MPIDR_AFFLVL_MASK | in arm_check_mpidr()
25 (MPIDR_AFFLVL_MASK << MPIDR_AFF1_SHIFT) | in arm_check_mpidr()
26 (MPIDR_AFFLVL_MASK << MPIDR_AFF2_SHIFT)); in arm_check_mpidr()
27 cluster_id = (mpidr >> MPIDR_AFF2_SHIFT) & MPIDR_AFFLVL_MASK; in arm_check_mpidr()
28 cpu_id = (mpidr >> MPIDR_AFF1_SHIFT) & MPIDR_AFFLVL_MASK; in arm_check_mpidr()
29 pe_id = (mpidr >> MPIDR_AFF0_SHIFT) & MPIDR_AFFLVL_MASK; in arm_check_mpidr()
32 cluster_id = (mpidr >> MPIDR_AFF1_SHIFT) & MPIDR_AFFLVL_MASK; in arm_check_mpidr()
33 cpu_id = (mpidr >> MPIDR_AFF0_SHIFT) & MPIDR_AFFLVL_MASK; in arm_check_mpidr()
/device/linaro/bootloader/arm-trusted-firmware/drivers/arm/gic/
Dgic_v3.c20 cpu_aff = ((mpidr >> MPIDR_AFF0_SHIFT) & MPIDR_AFFLVL_MASK) << in gicv3_get_rdist()
22 cpu_aff |= ((mpidr >> MPIDR_AFF1_SHIFT) & MPIDR_AFFLVL_MASK) << in gicv3_get_rdist()
24 cpu_aff |= ((mpidr >> MPIDR_AFF2_SHIFT) & MPIDR_AFFLVL_MASK) << in gicv3_get_rdist()
26 cpu_aff |= ((mpidr >> MPIDR_AFF3_SHIFT) & MPIDR_AFFLVL_MASK) << in gicv3_get_rdist()
/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/common/
Dtegra_topology.c32 cluster_id = (mpidr >> MPIDR_AFF1_SHIFT) & MPIDR_AFFLVL_MASK; in plat_core_pos_by_mpidr()
33 cpu_id = (mpidr >> MPIDR_AFF0_SHIFT) & MPIDR_AFFLVL_MASK; in plat_core_pos_by_mpidr()
/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/hikey/
Dhikey_topology.c50 cluster_id = (mpidr >> MPIDR_AFF1_SHIFT) & MPIDR_AFFLVL_MASK; in plat_core_pos_by_mpidr()
51 cpu_id = (mpidr >> MPIDR_AFF0_SHIFT) & MPIDR_AFFLVL_MASK; in plat_core_pos_by_mpidr()
/device/linaro/bootloader/arm-trusted-firmware/plat/qemu/
Dtopology.c44 cluster_id = (mpidr >> MPIDR_AFF1_SHIFT) & MPIDR_AFFLVL_MASK; in plat_core_pos_by_mpidr()
45 cpu_id = (mpidr >> MPIDR_AFF0_SHIFT) & MPIDR_AFFLVL_MASK; in plat_core_pos_by_mpidr()
/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/hikey960/
Dhikey960_topology.c50 cluster_id = (mpidr >> MPIDR_AFF1_SHIFT) & MPIDR_AFFLVL_MASK; in plat_core_pos_by_mpidr()
51 cpu_id = (mpidr >> MPIDR_AFF0_SHIFT) & MPIDR_AFFLVL_MASK; in plat_core_pos_by_mpidr()
/device/linaro/bootloader/arm-trusted-firmware/plat/socionext/uniphier/
Duniphier_topology.c31 cluster_id = (mpidr >> MPIDR_AFF1_SHIFT) & MPIDR_AFFLVL_MASK; in plat_core_pos_by_mpidr()
35 cpu_id = (mpidr >> MPIDR_AFF0_SHIFT) & MPIDR_AFFLVL_MASK; in plat_core_pos_by_mpidr()
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/css/drivers/scpi/
Dcss_scpi.c191 cpu = (mpidr >> MPIDR_AFF1_SHIFT) & MPIDR_AFFLVL_MASK; in scpi_get_css_power_state()
192 cluster = (mpidr >> MPIDR_AFF2_SHIFT) & MPIDR_AFFLVL_MASK; in scpi_get_css_power_state()
194 cpu = mpidr & MPIDR_AFFLVL_MASK; in scpi_get_css_power_state()
195 cluster = (mpidr >> MPIDR_AFF1_SHIFT) & MPIDR_AFFLVL_MASK; in scpi_get_css_power_state()
/device/linaro/bootloader/arm-trusted-firmware/plat/mediatek/mt8173/
Dplat_topology.c70 cluster_id = (mpidr >> MPIDR_AFF1_SHIFT) & MPIDR_AFFLVL_MASK; in plat_core_pos_by_mpidr()
71 cpu_id = (mpidr >> MPIDR_AFF0_SHIFT) & MPIDR_AFFLVL_MASK; in plat_core_pos_by_mpidr()
/device/linaro/bootloader/arm-trusted-firmware/include/lib/aarch32/
Darch.h28 #define MPIDR_CPU_MASK MPIDR_AFFLVL_MASK
29 #define MPIDR_CLUSTER_MASK (MPIDR_AFFLVL_MASK << MPIDR_AFFINITY_BITS)
31 #define MPIDR_AFFLVL_MASK 0xff macro
42 (((mpidr) >> MPIDR_AFF0_SHIFT) & MPIDR_AFFLVL_MASK)
44 (((mpidr) >> MPIDR_AFF1_SHIFT) & MPIDR_AFFLVL_MASK)
46 (((mpidr) >> MPIDR_AFF2_SHIFT) & MPIDR_AFFLVL_MASK)
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/css/drivers/scp/
Dcss_pm_scpi.c102 element = (mpidr >> MPIDR_AFF1_SHIFT) & MPIDR_AFFLVL_MASK; in css_scp_get_power_state()
104 element = mpidr & MPIDR_AFFLVL_MASK; in css_scp_get_power_state()
/device/linaro/bootloader/arm-trusted-firmware/include/lib/aarch64/
Darch.h30 #define MPIDR_CPU_MASK MPIDR_AFFLVL_MASK
31 #define MPIDR_CLUSTER_MASK (MPIDR_AFFLVL_MASK << MPIDR_AFFINITY_BITS)
33 #define MPIDR_AFFLVL_MASK U(0xff) macro
45 ((mpidr >> MPIDR_AFF0_SHIFT) & MPIDR_AFFLVL_MASK)
47 ((mpidr >> MPIDR_AFF1_SHIFT) & MPIDR_AFFLVL_MASK)
49 ((mpidr >> MPIDR_AFF2_SHIFT) & MPIDR_AFFLVL_MASK)
51 ((mpidr >> MPIDR_AFF3_SHIFT) & MPIDR_AFFLVL_MASK)
/device/linaro/bootloader/arm-trusted-firmware/plat/compat/
Dplat_topology_compat.c37 mpidr &= ~((unsigned long)MPIDR_AFFLVL_MASK << aff_shift); in mpidr_set_aff_inst()
187 ((unsigned long)MPIDR_AFFLVL_MASK << shift)) >> shift); in plat_core_pos_by_mpidr()
/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/common/
Dplat_topology.c24 cpu_id = mpidr & MPIDR_AFFLVL_MASK; in plat_core_pos_by_mpidr()
/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/soc/t186/
Dplat_setup.c251 cluster_id = (mpidr >> MPIDR_AFF1_SHIFT) & MPIDR_AFFLVL_MASK; in plat_core_pos_by_mpidr()
252 cpu_id = (mpidr >> MPIDR_AFF0_SHIFT) & MPIDR_AFFLVL_MASK; in plat_core_pos_by_mpidr()
/device/linaro/bootloader/arm-trusted-firmware/drivers/arm/cci400/
Dcci400.c57 (mpidr >> MPIDR_AFF1_SHIFT) & MPIDR_AFFLVL_MASK; in get_slave_iface_base()
/device/linaro/bootloader/arm-trusted-firmware/drivers/arm/gic/v3/
Dgicv3_private.h42 (((((typer_val) >> 56) & MPIDR_AFFLVL_MASK) << MPIDR_AFF3_SHIFT) | \