Searched refs:midr_mask (Results 1 – 2 of 2) sorted by relevance
22 unsigned int midr, midr_mask; in midr_match() local25 midr_mask = (MIDR_IMPL_MASK << MIDR_IMPL_SHIFT) | in midr_match()27 return ((midr & midr_mask) == (cpu_midr & midr_mask)); in midr_match()
541 uint32_t midr_mask = 0; in cpuinfo_arm_linux_detect_cluster_midr_by_chipset() local543 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() local637 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 …]