Lines Matching refs:scope

1538 has_always(const struct arm64_cpu_capabilities *entry, int scope)
1571 read_scoped_sysreg(const struct arm64_cpu_capabilities *entry, int scope)
1573 WARN_ON(scope == SCOPE_LOCAL_CPU && preemptible());
1574 if (scope == SCOPE_SYSTEM)
1581 has_user_cpuid_feature(const struct arm64_cpu_capabilities *entry, int scope)
1585 u64 val = read_scoped_sysreg(entry, scope);
1601 has_cpuid_feature(const struct arm64_cpu_capabilities *entry, int scope)
1603 u64 val = read_scoped_sysreg(entry, scope);
1651 static bool has_32bit_el0(const struct arm64_cpu_capabilities *entry, int scope)
1653 if (!has_cpuid_feature(entry, scope))
1656 if (scope == SCOPE_SYSTEM)
1662 static bool has_useable_gicv3_cpuif(const struct arm64_cpu_capabilities *entry, int scope)
1666 if (!has_cpuid_feature(entry, scope))
1678 int scope)
1682 if (scope == SCOPE_SYSTEM)
1703 int scope)
1707 if (scope == SCOPE_SYSTEM)
1716 has_useable_cnp(const struct arm64_cpu_capabilities *entry, int scope)
1729 return has_cpuid_feature(entry, scope);
1736 int scope)
1763 if (has_cpuid_feature(entry, scope))
1811 static bool has_nv1(const struct arm64_cpu_capabilities *entry, int scope)
1829 !(has_cpuid_feature(entry, scope) ||
1852 static bool has_lpa2(const struct arm64_cpu_capabilities *entry, int scope)
1860 static bool has_lpa2(const struct arm64_cpu_capabilities *entry, int scope)
2125 int scope)
2130 if (!has_cpuid_feature(cap, scope)) {
2167 static bool has_address_auth_cpucap(const struct arm64_cpu_capabilities *entry, int scope)
2172 WARN_ON(scope == SCOPE_SYSTEM);
2185 if (scope & SCOPE_BOOT_CPU)
2187 /* Now check for the secondary CPUs with SCOPE_LOCAL_CPU scope */
2194 int scope)
2196 bool api = has_address_auth_cpucap(cpucap_ptrs[ARM64_HAS_ADDRESS_AUTH_IMP_DEF], scope);
2197 bool apa = has_address_auth_cpucap(cpucap_ptrs[ARM64_HAS_ADDRESS_AUTH_ARCH_QARMA5], scope);
2198 bool apa3 = has_address_auth_cpucap(cpucap_ptrs[ARM64_HAS_ADDRESS_AUTH_ARCH_QARMA3], scope);
2224 int scope)
2238 int scope)
3032 static bool compat_has_neon(const struct arm64_cpu_capabilities *cap, int scope)
3041 WARN_ON(scope == SCOPE_LOCAL_CPU && preemptible());
3042 if (scope == SCOPE_SYSTEM)
3156 * with BOOT_CPU scope are handled separately and hence skipped here.
3199 * Capabilities with SCOPE_BOOT_CPU scope are finalised
3211 * For all non-boot scope capabilities, use stop_machine()