Home
last modified time | relevance | path

Searched refs:ARM64_NCAPS (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/arch/arm64/include/asm/
Dcpufeature.h373 extern DECLARE_BITMAP(cpu_hwcaps, ARM64_NCAPS);
374 extern struct static_key_false cpu_hwcap_keys[ARM64_NCAPS];
378 #define ARM64_NPATCHABLE (ARM64_NCAPS + 1)
382 for_each_set_bit(cap, cpu_hwcaps, ARM64_NCAPS)
396 if (num >= ARM64_NCAPS) in __cpus_have_const_cap()
403 if (num >= ARM64_NCAPS) in cpus_have_cap()
418 if (num >= ARM64_NCAPS) { in cpus_set_cap()
420 num, ARM64_NCAPS); in cpus_set_cap()
Dlse.h19 extern struct static_key_false cpu_hwcap_keys[ARM64_NCAPS];
Dcpucaps.h58 #define ARM64_NCAPS 47 macro
Dalternative.h8 #define ARM64_CB_PATCH ARM64_NCAPS
/Linux-v5.4/arch/arm64/kernel/
Dalternative.c26 static DECLARE_BITMAP(applied_alternatives, ARM64_NCAPS);
35 if (WARN_ON(cpufeature >= ARM64_NCAPS)) in alternative_is_applied()
201 feature_mask, ARM64_NCAPS); in __apply_alternatives()
203 cpu_hwcaps, ARM64_NCAPS); in __apply_alternatives()
Dcpufeature.c43 DECLARE_BITMAP(cpu_hwcaps, ARM64_NCAPS);
45 static struct arm64_cpu_capabilities const __ro_after_init *cpu_hwcaps_ptrs[ARM64_NCAPS];
68 pr_emerg("0x%*pb\n", ARM64_NCAPS, &cpu_hwcaps); in dump_cpu_hwcaps()
84 DEFINE_STATIC_KEY_ARRAY_FALSE(cpu_hwcap_keys, ARM64_NCAPS);
557 if (WARN(caps->capability >= ARM64_NCAPS, in init_cpu_hwcaps_indirect_list_from_array()
1742 for (i = 0; i < ARM64_NCAPS; i++) { in update_cpu_capabilities()
1795 for (i = 0; i < ARM64_NCAPS; i++) { in enable_cpu_capabilities()
1847 for (i = 0; i < ARM64_NCAPS; i++) { in verify_local_cpu_caps()
1880 if (i < ARM64_NCAPS) { in verify_local_cpu_caps()
2000 if (!WARN_ON(preemptible()) && n < ARM64_NCAPS) { in this_cpu_has_cap()