/arch/powerpc/include/asm/ |
D | cpu_has_feature.h | 9 static inline bool early_cpu_has_feature(unsigned long feature) in early_cpu_has_feature() argument 11 return !!((CPU_FTRS_ALWAYS & feature) || in early_cpu_has_feature() 12 (CPU_FTRS_POSSIBLE & cur_cpu_spec->cpu_features & feature)); in early_cpu_has_feature() 22 static __always_inline bool cpu_has_feature(unsigned long feature) in cpu_has_feature() argument 27 BUILD_BUG_ON(!__builtin_constant_p(feature)); in cpu_has_feature() 34 return early_cpu_has_feature(feature); in cpu_has_feature() 38 if (CPU_FTRS_ALWAYS & feature) in cpu_has_feature() 41 if (!(CPU_FTRS_POSSIBLE & feature)) in cpu_has_feature() 44 i = __builtin_ctzl(feature); in cpu_has_feature() 48 static inline bool cpu_has_feature(unsigned long feature) in cpu_has_feature() argument [all …]
|
D | mmu.h | 146 static inline bool early_mmu_has_feature(unsigned long feature) in early_mmu_has_feature() argument 148 return !!(MMU_FTRS_POSSIBLE & cur_cpu_spec->mmu_features & feature); in early_mmu_has_feature() 160 static __always_inline bool mmu_has_feature(unsigned long feature) in mmu_has_feature() argument 165 BUILD_BUG_ON(!__builtin_constant_p(feature)); in mmu_has_feature() 172 return early_mmu_has_feature(feature); in mmu_has_feature() 176 if (!(MMU_FTRS_POSSIBLE & feature)) in mmu_has_feature() 179 i = __builtin_ctzl(feature); in mmu_has_feature() 183 static inline void mmu_clear_feature(unsigned long feature) in mmu_clear_feature() argument 187 i = __builtin_ctzl(feature); in mmu_clear_feature() 188 cur_cpu_spec->mmu_features &= ~feature; in mmu_clear_feature() [all …]
|
D | firmware.h | 117 #define firmware_has_feature(feature) \ argument 118 ((FW_FEATURE_ALWAYS & (feature)) || \ 119 (FW_FEATURE_POSSIBLE & powerpc_firmware_features & (feature)))
|
/arch/x86/include/asm/ |
D | alternative.h | 123 #define ALTINSTR_ENTRY(feature, num) \ argument 126 " .word " __stringify(feature) "\n" /* feature bit */ \ 131 #define ALTINSTR_REPLACEMENT(newinstr, feature, num) /* replacement */ \ argument 135 #define ALTERNATIVE(oldinstr, newinstr, feature) \ argument 138 ALTINSTR_ENTRY(feature, 1) \ 141 ALTINSTR_REPLACEMENT(newinstr, feature, 1) \ 167 #define alternative(oldinstr, newinstr, feature) \ argument 168 asm volatile (ALTERNATIVE(oldinstr, newinstr, feature) : : : "memory") 184 #define alternative_input(oldinstr, newinstr, feature, input...) \ argument 185 asm volatile (ALTERNATIVE(oldinstr, newinstr, feature) \ [all …]
|
D | alternative-asm.h | 27 .macro altinstruction_entry orig alt feature orig_len alt_len pad_len 30 .word \feature 42 .macro ALTERNATIVE oldinstr, newinstr, feature 50 altinstruction_entry 140b,143f,\feature,142b-140b,144f-143f,142b-141b
|
D | amd_nb.h | 82 static inline bool amd_nb_has_feature(unsigned feature) in amd_nb_has_feature() argument 84 return ((amd_northbridges.flags & feature) == feature); in amd_nb_has_feature()
|
/arch/mips/pmcs-msp71xx/ |
D | msp_prom.c | 171 char *feature = prom_getenv(FEATURES); in get_features() local 173 if (feature == NULL) { in get_features() 175 feature = msp_default_features; in get_features() 178 return feature; in get_features() 183 char *feature = get_features(); in test_feature() local 185 while (*feature) { in test_feature() 186 if (*feature++ == c) in test_feature() 187 return *feature; in test_feature() 188 feature++; in test_feature() 241 char *feature = get_features(); in identify_enetfeature() local [all …]
|
/arch/arm64/include/asm/ |
D | alternative.h | 25 #define ALTINSTR_ENTRY(feature) \ argument 28 " .hword " __stringify(feature) "\n" /* feature bit */ \ 46 #define __ALTERNATIVE_CFG(oldinstr, newinstr, feature, cfg_enabled) \ argument 52 ALTINSTR_ENTRY(feature) \ 63 #define _ALTERNATIVE_CFG(oldinstr, newinstr, feature, cfg, ...) \ argument 64 __ALTERNATIVE_CFG(oldinstr, newinstr, feature, IS_ENABLED(cfg)) 70 .macro altinstruction_entry orig_offset alt_offset feature orig_len alt_len 73 .hword \feature
|
D | uaccess.h | 280 #define __get_user_asm(instr, alt_instr, reg, x, addr, err, feature) \ argument 283 alt_instr " " reg "1, [%2]\n", feature) \ 353 #define __put_user_asm(instr, alt_instr, reg, x, addr, err, feature) \ argument 356 alt_instr " " reg "1, [%2]\n", feature) \
|
/arch/x86/kernel/cpu/ |
D | match.c | 36 for (m = match; m->vendor | m->family | m->model | m->feature; m++) { in x86_match_cpu() 43 if (m->feature != X86_FEATURE_ANY && !cpu_has(c, m->feature)) in x86_match_cpu()
|
D | scattered.c | 13 u16 feature; member 42 for (cb = cpuid_bits; cb->feature; cb++) { in init_scattered_cpuid_features() 54 set_cpu_cap(c, cb->feature); in init_scattered_cpuid_features()
|
/arch/arm/include/asm/ |
D | cputype.h | 306 int feature = (features >> field) & 15; in cpuid_feature_extract_field() local 309 if (feature > 7) in cpuid_feature_extract_field() 310 feature -= 16; in cpuid_feature_extract_field() 312 return feature; in cpuid_feature_extract_field()
|
/arch/arm/kvm/ |
D | psci.c | 310 u32 feature; in kvm_psci_1_0_call() local 319 feature = smccc_get_arg1(vcpu); in kvm_psci_1_0_call() 320 switch(feature) { in kvm_psci_1_0_call() 406 u32 feature; in kvm_hvc_call_handler() local 413 feature = smccc_get_arg1(vcpu); in kvm_hvc_call_handler() 414 switch(feature) { in kvm_hvc_call_handler()
|
/arch/powerpc/platforms/pseries/ |
D | firmware.c | 109 unsigned int feature; member 126 index = OV5_INDX(vec5_fw_features_table[i].feature); in fw_vec5_feature_init() 127 feat = OV5_FEAT(vec5_fw_features_table[i].feature); in fw_vec5_feature_init()
|
/arch/powerpc/lib/ |
D | Makefile | 13 feature-fixups.o 32 obj-$(CONFIG_FTR_FIXUP_SELFTEST) += feature-fixups-test.o
|
/arch/mips/include/asm/octeon/ |
D | octeon-feature.h | 117 static inline bool octeon_has_feature(enum octeon_feature feature) in octeon_has_feature() argument 119 switch (feature) { in octeon_has_feature()
|
/arch/powerpc/sysdev/ |
D | fsl_msi.h | 43 u32 feature; member
|
D | fsl_msi.c | 173 if (msi_data->feature & MSI_HW_ERRATA_ENDIAN) in fsl_compose_msi_msg() 201 if (msi_data->feature & MSI_HW_ERRATA_ENDIAN) in fsl_setup_msi_irqs() 290 switch (msi_data->feature & FSL_PIC_IP_MASK) { in fsl_msi_cascade() 349 if ((msi->feature & FSL_PIC_IP_MASK) != FSL_PIC_IP_VMPIC) in fsl_of_msi_remove() 467 msi->feature = features->fsl_pic_ip; in fsl_of_msi_probe() 472 msi->feature |= MSI_HW_ERRATA_ENDIAN; in fsl_of_msi_probe()
|
/arch/powerpc/platforms/powermac/ |
D | Makefile | 8 obj-y += pic.o setup.o time.o feature.o pci.o \
|
/arch/s390/ |
D | Kconfig.debug | 16 It is probably not a good idea to enable this feature in a production
|
/arch/um/ |
D | Kconfig.um | 58 If you answer 'Y' to this option, to use this feature, you need the 75 This is the feature normally accomplished by pressing a key 112 This kernel feature is useful for number crunching applications
|
/arch/arm/mach-pxa/include/mach/ |
D | balloon3.h | 182 extern int balloon3_has(enum balloon3_features feature);
|
/arch/metag/ |
D | Kconfig.soc | 49 raised on unaligned accesses. This feature does cost performance
|
/arch/ |
D | Kconfig | 27 feature enables OProfile to gather more events than counters 415 can enable kernel-side support for the GCC feature. 422 This option turns on the "stack-protector" GCC feature. This 423 feature puts, at the beginning of functions, a canary value on 433 Disable "stack-protector" GCC feature. 442 This feature requires gcc version 4.2 or above, or a distribution 443 gcc with the feature backported ("-fstack-protector"). 445 On an x86 "defconfig" build, this feature adds canary checks to 462 This feature requires gcc version 4.9 or above, or a distribution 463 gcc with the feature backported ("-fstack-protector-strong"). [all …]
|
/arch/arm64/ |
D | Kconfig | 254 This feature enables support for PCI bus system. If you say Y 501 This feature enables 4KB pages support. 513 This feature enables 64KB pages support (4KB by default) 664 This kernel feature is useful for number crunching applications 827 for this feature to be enabled. If a new CPU - which doesn't support mixed 828 endian - is hotplugged in after this feature has been enabled, there could 872 The feature is detected at runtime, and will remain as a 'nop' 873 instruction if the cpu does not implement the feature. 896 Selecting this option allows the VHE feature to be detected 898 implement this feature. [all …]
|