Searched refs:cpucap (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/arch/arm64/include/asm/ |
D | alternative-macros.h | 26 #define ALTINSTR_ENTRY(cpucap) \ argument 29 " .hword " __stringify(cpucap) "\n" /* cpucap */ \ 33 #define ALTINSTR_ENTRY_CB(cpucap, cb) \ argument 36 " .hword " __stringify(cpucap) "\n" /* cpucap */ \ 56 #define __ALTERNATIVE_CFG(oldinstr, newinstr, cpucap, cfg_enabled) \ argument 62 ALTINSTR_ENTRY(cpucap) \ 73 #define __ALTERNATIVE_CFG_CB(oldinstr, cpucap, cfg_enabled, cb) \ argument 79 ALTINSTR_ENTRY_CB(cpucap, cb) \ 85 #define _ALTERNATIVE_CFG(oldinstr, newinstr, cpucap, cfg, ...) \ argument 86 __ALTERNATIVE_CFG(oldinstr, newinstr, cpucap, IS_ENABLED(cfg)) [all …]
|
D | alternative.h | 16 u16 cpucap; /* cpucap bit set for replacement */ member 26 bool alternative_is_applied(u16 cpucap);
|
D | Kbuild | 18 generated-y += cpucap-defs.h
|
/linux-6.12.1/arch/arm64/kernel/ |
D | alternative.c | 27 #define ALT_CAP(a) ((a)->cpucap & ~ARM64_CB_BIT) 28 #define ALT_HAS_CB(a) ((a)->cpucap & ARM64_CB_BIT) 40 bool alternative_is_applied(u16 cpucap) in alternative_is_applied() argument 42 if (WARN_ON(cpucap >= ARM64_NCAPS)) in alternative_is_applied() 45 return test_bit(cpucap, applied_alternatives); in alternative_is_applied()
|
/linux-6.12.1/arch/arm64/tools/ |
D | Makefile | 6 kapisyshdr-y := cpucap-defs.h sysreg-defs.h 24 $(kapi)/cpucap-defs.h: $(src)/gen-cpucaps.awk $(src)/cpucaps FORCE
|