Home
last modified time | relevance | path

Searched refs:feature (Results 1 – 25 of 59) sorted by relevance

123

/arch/powerpc/include/asm/
Dcpu_has_feature.h9 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 …]
Dmmu.h146 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 …]
Dfirmware.h117 #define firmware_has_feature(feature) \ argument
118 ((FW_FEATURE_ALWAYS & (feature)) || \
119 (FW_FEATURE_POSSIBLE & powerpc_firmware_features & (feature)))
/arch/x86/include/asm/
Dalternative.h123 #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 …]
Dalternative-asm.h27 .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
Damd_nb.h82 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/
Dmsp_prom.c171 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/
Dalternative.h25 #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
Duaccess.h280 #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/
Dmatch.c36 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()
Dscattered.c13 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/
Dcputype.h306 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/
Dpsci.c310 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/
Dfirmware.c109 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/
DMakefile13 feature-fixups.o
32 obj-$(CONFIG_FTR_FIXUP_SELFTEST) += feature-fixups-test.o
/arch/mips/include/asm/octeon/
Docteon-feature.h117 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/
Dfsl_msi.h43 u32 feature; member
Dfsl_msi.c173 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/
DMakefile8 obj-y += pic.o setup.o time.o feature.o pci.o \
/arch/s390/
DKconfig.debug16 It is probably not a good idea to enable this feature in a production
/arch/um/
DKconfig.um58 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/
Dballoon3.h182 extern int balloon3_has(enum balloon3_features feature);
/arch/metag/
DKconfig.soc49 raised on unaligned accesses. This feature does cost performance
/arch/
DKconfig27 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/
DKconfig254 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 …]

123