Home
last modified time | relevance | path

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

/external/arm-trusted-firmware/lib/cpus/aarch64/
Dcpuamu.c22 unsigned int midr, midr_mask; in midr_match() local
25 midr_mask = (MIDR_IMPL_MASK << MIDR_IMPL_SHIFT) | in midr_match()
27 return ((midr & midr_mask) == (cpu_midr & midr_mask)); in midr_match()
/external/cpuinfo/src/arm/linux/
Dmidr.c541 uint32_t midr_mask = 0; in cpuinfo_arm_linux_detect_cluster_midr_by_chipset() local
543 midr_mask |= CPUINFO_ARM_MIDR_IMPLEMENTER_MASK; in cpuinfo_arm_linux_detect_cluster_midr_by_chipset()
546 midr_mask |= CPUINFO_ARM_MIDR_VARIANT_MASK; in cpuinfo_arm_linux_detect_cluster_midr_by_chipset()
549 midr_mask |= CPUINFO_ARM_MIDR_PART_MASK; in cpuinfo_arm_linux_detect_cluster_midr_by_chipset()
552 midr_mask |= CPUINFO_ARM_MIDR_REVISION_MASK; in cpuinfo_arm_linux_detect_cluster_midr_by_chipset()
556 … if ((processors[cluster_leader].midr ^ cluster_configs[c].cluster_midr[cluster]) & midr_mask) { in cpuinfo_arm_linux_detect_cluster_midr_by_chipset()
635 uint32_t midr_mask = 0; in cpuinfo_arm_linux_detect_cluster_midr_by_big_little_heuristic() local
637 midr_mask |= CPUINFO_ARM_MIDR_IMPLEMENTER_MASK; in cpuinfo_arm_linux_detect_cluster_midr_by_big_little_heuristic()
640 midr_mask |= CPUINFO_ARM_MIDR_VARIANT_MASK; in cpuinfo_arm_linux_detect_cluster_midr_by_big_little_heuristic()
643 midr_mask |= CPUINFO_ARM_MIDR_PART_MASK; in cpuinfo_arm_linux_detect_cluster_midr_by_big_little_heuristic()
[all …]