Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/arch/arm64/include/asm/
H A Dcpufeature.h403 extern DECLARE_BITMAP(cpu_hwcaps, ARM64_NCAPS);
404 extern struct static_key_false cpu_hwcap_keys[ARM64_NCAPS];
408 #define ARM64_NPATCHABLE (ARM64_NCAPS + 1)
412 for_each_set_bit(cap, cpu_hwcaps, ARM64_NCAPS)
435 if (num >= ARM64_NCAPS) in cpus_have_cap()
450 if (num >= ARM64_NCAPS) in __cpus_have_const_cap()
494 if (num >= ARM64_NCAPS) { in cpus_set_cap()
496 num, ARM64_NCAPS); in cpus_set_cap()
H A Dlse.h19 extern struct static_key_false cpu_hwcap_keys[ARM64_NCAPS];
H A Dcpucaps.h78 #define ARM64_NCAPS 76 macro
H A Dalternative-macros.h7 #define ARM64_CB_PATCH ARM64_NCAPS
/OK3568_Linux_fs/kernel/arch/arm64/kernel/
H A Dalternative.c27 static DECLARE_BITMAP(applied_alternatives, ARM64_NCAPS);
36 if (WARN_ON(cpufeature >= ARM64_NCAPS)) in alternative_is_applied()
190 feature_mask, ARM64_NCAPS); in __apply_alternatives()
192 cpu_hwcaps, ARM64_NCAPS); in __apply_alternatives()
H A Dcpufeature.c104 DECLARE_BITMAP(cpu_hwcaps, ARM64_NCAPS);
106 static struct arm64_cpu_capabilities const __ro_after_init *cpu_hwcaps_ptrs[ARM64_NCAPS];
153 pr_emerg("0x%*pb\n", ARM64_NCAPS, &cpu_hwcaps); in dump_cpu_features()
156 DEFINE_STATIC_KEY_ARRAY_FALSE(cpu_hwcap_keys, ARM64_NCAPS);
881 if (WARN(caps->capability >= ARM64_NCAPS, in init_cpu_hwcaps_indirect_list_from_array()
2576 for (i = 0; i < ARM64_NCAPS; i++) { in update_cpu_capabilities()
2629 for (i = 0; i < ARM64_NCAPS; i++) { in enable_cpu_capabilities()
2679 for (i = 0; i < ARM64_NCAPS; i++) { in verify_local_cpu_caps()
2712 if (i < ARM64_NCAPS) { in verify_local_cpu_caps()
2858 if (!WARN_ON(preemptible()) && n < ARM64_NCAPS) { in this_cpu_has_cap()
[all …]