Lines Matching full:feature
17 #define ALTINSTR_ENTRY(feature) \ argument
20 " .hword " __stringify(feature) "\n" /* feature bit */ \
24 #define ALTINSTR_ENTRY_CB(feature, cb) \ argument
27 " .hword " __stringify(feature) "\n" /* feature bit */ \
47 #define __ALTERNATIVE_CFG(oldinstr, newinstr, feature, cfg_enabled) \ argument
53 ALTINSTR_ENTRY(feature) \
64 #define __ALTERNATIVE_CFG_CB(oldinstr, feature, cfg_enabled, cb) \ argument
70 ALTINSTR_ENTRY_CB(feature, cb) \
76 #define _ALTERNATIVE_CFG(oldinstr, newinstr, feature, cfg, ...) \ argument
77 __ALTERNATIVE_CFG(oldinstr, newinstr, feature, IS_ENABLED(cfg))
85 .macro altinstruction_entry orig_offset alt_offset feature orig_len alt_len
88 .hword \feature
209 * Usage: asm(ALTERNATIVE(oldinstr, newinstr, feature));
211 * Usage: asm(ALTERNATIVE(oldinstr, newinstr, feature, CONFIG_FOO));
239 #define ALTERNATIVE(oldinstr, newinstr, feature, ...) \
240 _ALTERNATIVE(oldinstr, __ALT_ ## feature, #feature)
242 #define _ALTERNATIVE(oldinstr, feature, feature_str) \
243 __take_second_arg(feature oldinstr, \
244 ".err Feature " feature_str " not supported in fips140 module")