Searched refs:feature (Results 1 - 25 of 343) sorted by relevance

1234567891011>>

/linux-master/include/linux/
H A Dkvm_para.h8 static inline bool kvm_para_has_feature(unsigned int feature) argument
10 return !!(kvm_arch_para_features() & (1UL << feature));
13 static inline bool kvm_para_has_hint(unsigned int feature) argument
15 return !!(kvm_arch_para_hints() & (1UL << feature));
/linux-master/arch/powerpc/include/asm/
H A Dcpu_has_feature.h10 static __always_inline bool early_cpu_has_feature(unsigned long feature) argument
12 return !!((CPU_FTRS_ALWAYS & feature) ||
13 (CPU_FTRS_POSSIBLE & cur_cpu_spec->cpu_features & feature));
23 static __always_inline bool cpu_has_feature(unsigned long feature) argument
28 BUILD_BUG_ON(!__builtin_constant_p(feature));
35 return early_cpu_has_feature(feature);
39 if (CPU_FTRS_ALWAYS & feature)
42 if (!(CPU_FTRS_POSSIBLE & feature))
45 i = __builtin_ctzl(feature);
49 static __always_inline bool cpu_has_feature(unsigned long feature) argument
[all...]
H A Dsecurity_features.h3 * Security related feature bit definitions.
27 static inline void security_ftr_set(u64 feature) argument
29 powerpc_security_features |= feature;
32 static inline void security_ftr_clear(u64 feature) argument
34 powerpc_security_features &= ~feature;
37 static inline bool security_ftr_enabled(u64 feature) argument
39 return !!(powerpc_security_features & feature);
H A Dkvm_booke_hv_asm.h9 #include <asm/feature-fixups.h>
H A Dmmu.h32 * Supports KUAP feature
39 * Supports KUEP feature
126 /* MMU feature bit sets for various CPUs */
228 static __always_inline bool early_mmu_has_feature(unsigned long feature) argument
230 if (MMU_FTRS_ALWAYS & feature)
233 return !!(MMU_FTRS_POSSIBLE & cur_cpu_spec->mmu_features & feature);
245 static __always_inline bool mmu_has_feature(unsigned long feature) argument
250 BUILD_BUG_ON(!__builtin_constant_p(feature));
257 return early_mmu_has_feature(feature);
261 if (MMU_FTRS_ALWAYS & feature)
271 mmu_clear_feature(unsigned long feature) argument
286 mmu_has_feature(unsigned long feature) argument
291 mmu_clear_feature(unsigned long feature) argument
[all...]
/linux-master/arch/s390/include/asm/
H A Dcpufeature.h19 #define cpu_feature(feature) (feature)
H A Dalternative-asm.h13 .macro alt_entry orig_start, orig_end, alt_start, alt_end, feature
16 .word \feature
23 * Define an alternative between two instructions. If @feature is
27 .macro ALTERNATIVE oldinstr, newinstr, feature
33 alt_entry 772b, 773b, 770b, 771b, \feature
38 * Define an alternative between two instructions. If @feature is
/linux-master/arch/s390/kernel/
H A Dcpufeature.c31 struct s390_cpu_feature *feature; local
35 feature = &s390_cpu_features[num];
36 switch (feature->type) {
38 return !!(elf_hwcap & BIT(feature->num));
40 return test_facility(feature->num);
/linux-master/arch/x86/kernel/cpu/
H A Dcpuid-deps.c8 unsigned int feature; member in struct:cpuid_dep
90 static inline void clear_feature(struct cpuinfo_x86 *c, unsigned int feature) argument
98 clear_cpu_cap(&boot_cpu_data, feature);
99 set_bit(feature, (unsigned long *)cpu_caps_cleared);
101 clear_bit(feature, (unsigned long *)c->x86_capability);
108 static void do_clear_cpu_cap(struct cpuinfo_x86 *c, unsigned int feature) argument
114 if (WARN_ON(feature >= MAX_FEATURE_BITS))
117 clear_feature(c, feature);
121 __set_bit(feature, disable);
126 for (d = cpuid_deps; d->feature;
138 clear_cpu_cap(struct cpuinfo_x86 *c, unsigned int feature) argument
143 setup_clear_cpu_cap(unsigned int feature) argument
[all...]
H A Dmatch.c15 * contains vendor (X86_VENDOR_*), family, model and feature bits or
43 m->vendor | m->family | m->model | m->steppings | m->feature;
54 if (m->feature != X86_FEATURE_ANY && !cpu_has(c, m->feature))
/linux-master/arch/x86/include/asm/
H A Dcpu_device_id.h48 .feature = _feature, \
66 #define X86_MATCH_VENDOR_FAM_MODEL_FEATURE(vendor, family, model, feature, data) \
68 X86_STEPPING_ANY, feature, data)
71 * X86_MATCH_VENDOR_FAM_FEATURE - Macro for matching vendor, family and CPU feature
75 * @feature: A X86_FEATURE bit
83 #define X86_MATCH_VENDOR_FAM_FEATURE(vendor, family, feature, data) \
85 X86_MODEL_ANY, feature, data)
88 * X86_MATCH_VENDOR_FEATURE - Macro for matching vendor and CPU feature
91 * @feature: A X86_FEATURE bit
99 #define X86_MATCH_VENDOR_FEATURE(vendor, feature, dat
[all...]
/linux-master/arch/loongarch/include/asm/
H A Dalternative.h15 u16 feature; /* feature bit set for replacement */ member in struct:alt_instr
60 #define ALTINSTR_ENTRY(feature, num) \
63 " .short " __stringify(feature) "\n" /* feature bit */ \
67 #define ALTINSTR_REPLACEMENT(newinstr, feature, num) /* replacement */ \
71 #define ALTERNATIVE(oldinstr, newinstr, feature) \
74 ALTINSTR_ENTRY(feature, 1) \
77 ALTINSTR_REPLACEMENT(newinstr, feature, 1) \
103 #define alternative(oldinstr, newinstr, feature) \
[all...]
H A Dalternative-asm.h15 .macro altinstruction_entry orig alt feature orig_len alt_len
18 .short \feature
24 * Define an alternative between two instructions. If @feature is
29 .macro ALTERNATIVE oldinstr, newinstr, feature
37 altinstruction_entry 140b, 143f, \feature, 142b-140b, 144f-143f variable
/linux-master/sound/aoa/core/
H A DMakefile6 gpio-feature.o
/linux-master/drivers/iommu/intel/
H A Dcap_audit.h67 #define DO_CHECK_FEATURE_MISMATCH(a, b, cap, feature, MASK) \
69 if (cap##_##feature(a) != cap##_##feature(b)) { \
71 pr_info("IOMMU feature %s inconsistent", #feature); \
75 #define CHECK_FEATURE_MISMATCH(a, b, cap, feature, MASK) \
76 DO_CHECK_FEATURE_MISMATCH((a)->cap, (b)->cap, cap, feature, MASK)
78 #define CHECK_FEATURE_MISMATCH_HOTPLUG(b, cap, feature, MASK) \
80 if (cap##_##feature(intel_iommu_##cap##_sanity)) \
82 (b)->cap, cap, feature, MAS
[all...]
/linux-master/drivers/mtd/nand/raw/
H A Dnand_macronix.c52 u8 feature[ONFI_SUBFEATURE_PARAM_LEN]; local
59 feature[0] = mode;
60 return nand_set_features(chip, ONFI_FEATURE_ADDR_READ_RETRY, feature);
65 u8 feature[ONFI_SUBFEATURE_PARAM_LEN]; local
69 feature);
73 if (feature[0])
74 return feature[0];
76 feature[0] = MACRONIX_RANDOMIZER_MODE_ENTER;
78 feature);
83 feature[
200 u8 feature[ONFI_SUBFEATURE_PARAM_LEN]; local
216 u8 feature[ONFI_SUBFEATURE_PARAM_LEN]; local
232 u8 feature[ONFI_SUBFEATURE_PARAM_LEN]; local
[all...]
/linux-master/drivers/fpga/
H A Ddfl-fme-main.c163 struct dfl_feature *feature,
217 const struct dfl_feature *feature = drvdata; local
223 return fme_thermal_throttle_support(feature->ioaddr) ? 0444 : 0;
229 struct dfl_feature *feature = dev_get_drvdata(dev); local
234 v = readq(feature->ioaddr + FME_THERM_RDSENSOR_FMT1);
238 v = readq(feature->ioaddr + FME_THERM_THRESHOLD);
242 v = readq(feature->ioaddr + FME_THERM_THRESHOLD);
246 v = readq(feature->ioaddr + FME_THERM_THRESHOLD);
250 v = readq(feature->ioaddr + FME_THERM_THRESHOLD);
254 v = readq(feature
162 fme_hdr_ioctl(struct platform_device *pdev, struct dfl_feature *feature, unsigned int cmd, unsigned long arg) argument
284 struct dfl_feature *feature = dev_get_drvdata(dev); local
304 struct dfl_feature *feature = dev_get_drvdata(dev); local
315 fme_thermal_mgmt_init(struct platform_device *pdev, struct dfl_feature *feature) argument
380 struct dfl_feature *feature = dev_get_drvdata(dev); local
415 struct dfl_feature *feature = dev_get_drvdata(dev); local
484 struct dfl_feature *feature = dev_get_drvdata(dev); local
499 struct dfl_feature *feature = dev_get_drvdata(dev); local
514 struct dfl_feature *feature = dev_get_drvdata(dev); local
536 fme_power_mgmt_init(struct platform_device *pdev, struct dfl_feature *feature) argument
624 struct dfl_feature *feature; local
[all...]
H A Ddfl.h93 * CSR Rel Bit, 1'b0 = relative (offset from feature DFH start),
145 /* Offset to port device feature header */
233 * struct dfl_feature_id - dfl private feature id
235 * @id: unique dfl private feature id.
242 * struct dfl_feature_driver - dfl private feature driver
245 * @ops: ops of this dfl private feature driver.
253 * struct dfl_feature_irq_ctx - dfl private feature interrupt context
266 * struct dfl_feature - sub feature of the feature devices
268 * @dev: ptr to pdev of the feature devic
419 struct dfl_feature *feature; local
431 struct dfl_feature *feature = dfl_get_feature_by_id(dev, id); local
[all...]
H A Ddfl.c24 * when adding a new feature dev support in DFL framework, it's required to
30 * if the new feature dev needs chardev support, then it's required to add
49 * struct dfl_dev_info - dfl feature device information.
50 * @name: name string of the feature platform device.
52 * @id: idr id of the feature dev.
71 * struct dfl_chardev_info - chardev information of dfl feature device
146 * in such list, then other feature devices (e.g. FME), could use the port
355 struct dfl_feature *feature)
384 ddev->feature_id = feature->id;
385 ddev->revision = feature
354 dfl_dev_add(struct dfl_feature_platform_data *pdata, struct dfl_feature *feature) argument
440 struct dfl_feature *feature; local
452 struct dfl_feature *feature; local
508 struct dfl_feature *feature; local
522 dfl_feature_instance_init(struct platform_device *pdev, struct dfl_feature_platform_data *pdata, struct dfl_feature *feature, struct dfl_feature_driver *drv) argument
554 dfl_feature_drv_match(struct dfl_feature *feature, struct dfl_feature_driver *driver) argument
584 struct dfl_feature *feature; local
811 struct dfl_feature *feature = &pdata->features[index++]; local
1879 do_set_irq_trigger(struct dfl_feature *feature, unsigned int idx, int fd) argument
1939 dfl_fpga_set_irq_triggers(struct dfl_feature *feature, unsigned int start, unsigned int count, int32_t *fds) argument
1976 dfl_feature_ioctl_get_num_irqs(struct platform_device *pdev, struct dfl_feature *feature, unsigned long arg) argument
1992 dfl_feature_ioctl_set_irq(struct platform_device *pdev, struct dfl_feature *feature, unsigned long arg) argument
[all...]
/linux-master/tools/objtool/
H A Dspecial.c25 unsigned char feature; /* ALTERNATIVE macro CPU feature */ member in struct:special_entry
38 .feature = ALT_FEATURE_OFFSET,
57 void __weak arch_handle_alternative(unsigned short feature, struct special_alt *alt) argument
87 if (entry->feature) {
88 unsigned short feature; local
90 feature = bswap_if_needed(elf,
93 entry->feature));
94 arch_handle_alternative(feature, alt);
/linux-master/tools/tracing/latency/
H A DMakefile.config11 ifeq ($(feature-libtraceevent), 1)
20 ifeq ($(feature-libtracefs), 1)
/linux-master/drivers/md/bcache/
H A Dfeatures.c13 struct feature { struct
19 static struct feature feature_list[] = {
27 struct feature *f; \
/linux-master/tools/build/
H A DMakefile.feature2 feature_dir := $(srctree)/tools/build/feature
5 OUTPUT_FEATURES = $(OUTPUT)feature/
11 feature-$(1) := $(shell $(MAKE) OUTPUT=$(OUTPUT_FEATURES) CC="$(CC)" CXX="$(CXX)" CFLAGS="$(EXTRA_CFLAGS) $(FEATURE_CHECK_CFLAGS-$(1))" CXXFLAGS="$(EXTRA_CXXFLAGS) $(FEATURE_CHECK_CXXFLAGS-$(1))" LDFLAGS="$(LDFLAGS) $(FEATURE_CHECK_LDFLAGS-$(1))" -C $(feature_dir) $(OUTPUT_FEATURES)test-$1.bin >/dev/null 2>/dev/null && echo 1 || echo 0)
16 feature-$(1) := 1
20 # Build the feature check binaries in parallel, ignore errors, ignore return value and suppress output:
24 # Note that this is not a complete list of all feature tests, just
29 # feature check. ]
79 # of all feature tests
147 # Declare group members of a feature to display the logical OR of the detection
153 # If in the future we need per-feature check
[all...]
H A DMakefile34 # feature contains check for existing OUTPUT
35 TMP_O := $(if $(OUTPUT),$(OUTPUT)feature/,./)
41 $(call QUIET_CLEAN, feature-detect)
43 $(Q)$(MAKE) -C feature OUTPUT=$(TMP_O) clean >/dev/null
/linux-master/drivers/gpu/drm/rockchip/
H A Drockchip_vop2_reg.c137 .feature = VOP2_VP_FEATURE_OUTPUT_10BIT,
242 .feature = WIN_FEATURE_AFBDC | WIN_FEATURE_CLUSTER,
257 .feature = WIN_FEATURE_AFBDC | WIN_FEATURE_CLUSTER,
264 .feature = VOP2_VP_FEATURE_OUTPUT_10BIT,
273 .feature = VOP2_VP_FEATURE_OUTPUT_10BIT,
281 .feature = VOP2_VP_FEATURE_OUTPUT_10BIT,
340 .feature = WIN_FEATURE_AFBDC | WIN_FEATURE_CLUSTER,
355 .feature = WIN_FEATURE_AFBDC | WIN_FEATURE_CLUSTER,
370 .feature = WIN_FEATURE_AFBDC | WIN_FEATURE_CLUSTER,
385 .feature
[all...]

Completed in 343 milliseconds

1234567891011>>