Home
last modified time | relevance | path

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

12345678910>>...44

/linux-6.6.21/rust/alloc/
Dlib.rs64 #![cfg(any(not(feature = "miri-test-libstd"), test, doctest))]
67 #![stable(feature = "alloc", since = "1.36.0")]
76 any(not(feature = "miri-test-libstd"), test, doctest),
98 #![cfg_attr(not(no_global_oom_handling), feature(const_alloc_error))]
99 #![cfg_attr(not(no_global_oom_handling), feature(const_btree_len))]
100 #![cfg_attr(test, feature(is_sorted))]
101 #![cfg_attr(test, feature(new_uninit))]
102 #![feature(alloc_layout_extra)]
103 #![feature(allocator_api)]
104 #![feature(array_chunks)]
[all …]
Dboxed.rs149 #![stable(feature = "rust1", since = "1.0.0")]
184 #[unstable(feature = "thin_box", issue = "92791")]
195 #[stable(feature = "rust1", since = "1.0.0")]
201 #[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global,
216 #[stable(feature = "rust1", since = "1.0.0")]
243 #[unstable(feature = "new_uninit", issue = "63291")]
270 #[unstable(feature = "new_uninit", issue = "63291")]
284 #[stable(feature = "pin", since = "1.33.0")]
304 #[unstable(feature = "allocator_api", issue = "32838")]
330 #[unstable(feature = "allocator_api", issue = "32838")]
[all …]
Dslice.rs12 #![stable(feature = "rust1", since = "1.0.0")]
38 #[unstable(feature = "slice_range", issue = "76393")]
40 #[unstable(feature = "array_chunks", issue = "74985")]
42 #[unstable(feature = "array_chunks", issue = "74985")]
44 #[unstable(feature = "array_windows", issue = "75027")]
46 #[stable(feature = "inherent_ascii_escape", since = "1.60.0")]
48 #[stable(feature = "slice_get_slice", since = "1.28.0")]
50 #[stable(feature = "from_ref", since = "1.28.0")]
52 #[unstable(feature = "slice_from_ptr_range", issue = "89792")]
54 #[stable(feature = "rust1", since = "1.0.0")]
[all …]
/linux-6.6.21/rust/alloc/collections/
Dmod.rs5 #![stable(feature = "rust1", since = "1.0.0")]
17 #[stable(feature = "rust1", since = "1.0.0")]
20 #[stable(feature = "rust1", since = "1.0.0")]
25 #[stable(feature = "rust1", since = "1.0.0")]
28 #[stable(feature = "rust1", since = "1.0.0")]
33 #[stable(feature = "rust1", since = "1.0.0")]
38 #[stable(feature = "rust1", since = "1.0.0")]
43 #[stable(feature = "rust1", since = "1.0.0")]
48 #[stable(feature = "rust1", since = "1.0.0")]
53 #[stable(feature = "rust1", since = "1.0.0")]
[all …]
/linux-6.6.21/arch/powerpc/include/asm/
Dcpu_has_feature.h10 static __always_inline bool early_cpu_has_feature(unsigned long feature) in early_cpu_has_feature() argument
12 return !!((CPU_FTRS_ALWAYS & feature) || in early_cpu_has_feature()
13 (CPU_FTRS_POSSIBLE & cur_cpu_spec->cpu_features & feature)); in early_cpu_has_feature()
23 static __always_inline bool cpu_has_feature(unsigned long feature) in cpu_has_feature() argument
28 BUILD_BUG_ON(!__builtin_constant_p(feature)); in cpu_has_feature()
35 return early_cpu_has_feature(feature); in cpu_has_feature()
39 if (CPU_FTRS_ALWAYS & feature) in cpu_has_feature()
42 if (!(CPU_FTRS_POSSIBLE & feature)) in cpu_has_feature()
45 i = __builtin_ctzl(feature); in cpu_has_feature()
49 static __always_inline bool cpu_has_feature(unsigned long feature) in cpu_has_feature() argument
[all …]
Dmmu.h227 static __always_inline bool early_mmu_has_feature(unsigned long feature) in early_mmu_has_feature() argument
229 if (MMU_FTRS_ALWAYS & feature) in early_mmu_has_feature()
232 return !!(MMU_FTRS_POSSIBLE & cur_cpu_spec->mmu_features & feature); in early_mmu_has_feature()
244 static __always_inline bool mmu_has_feature(unsigned long feature) in mmu_has_feature() argument
249 BUILD_BUG_ON(!__builtin_constant_p(feature)); in mmu_has_feature()
256 return early_mmu_has_feature(feature); in mmu_has_feature()
260 if (MMU_FTRS_ALWAYS & feature) in mmu_has_feature()
263 if (!(MMU_FTRS_POSSIBLE & feature)) in mmu_has_feature()
266 i = __builtin_ctzl(feature); in mmu_has_feature()
270 static inline void mmu_clear_feature(unsigned long feature) in mmu_clear_feature() argument
[all …]
Dsecurity_features.h27 static inline void security_ftr_set(u64 feature) in security_ftr_set() argument
29 powerpc_security_features |= feature; in security_ftr_set()
32 static inline void security_ftr_clear(u64 feature) in security_ftr_clear() argument
34 powerpc_security_features &= ~feature; in security_ftr_clear()
37 static inline bool security_ftr_enabled(u64 feature) in security_ftr_enabled() argument
39 return !!(powerpc_security_features & feature); in security_ftr_enabled()
/linux-6.6.21/arch/x86/kernel/cpu/
Dcpuid-deps.c8 unsigned int feature; member
88 static inline void clear_feature(struct cpuinfo_x86 *c, unsigned int feature) in clear_feature() argument
96 clear_cpu_cap(&boot_cpu_data, feature); in clear_feature()
97 set_bit(feature, (unsigned long *)cpu_caps_cleared); in clear_feature()
99 clear_bit(feature, (unsigned long *)c->x86_capability); in clear_feature()
106 static void do_clear_cpu_cap(struct cpuinfo_x86 *c, unsigned int feature) in do_clear_cpu_cap() argument
112 if (WARN_ON(feature >= MAX_FEATURE_BITS)) in do_clear_cpu_cap()
115 clear_feature(c, feature); in do_clear_cpu_cap()
119 __set_bit(feature, disable); in do_clear_cpu_cap()
124 for (d = cpuid_deps; d->feature; d++) { in do_clear_cpu_cap()
[all …]
/linux-6.6.21/rust/alloc/vec/
Dmod.rs56 #![stable(feature = "rust1", since = "1.0.0")]
77 #[unstable(feature = "extract_if", reason = "recently added", issue = "43244")]
83 #[stable(feature = "vec_splice", since = "1.21.0")]
89 #[stable(feature = "drain", since = "1.6.0")]
100 #[stable(feature = "rust1", since = "1.0.0")]
396 #[stable(feature = "rust1", since = "1.0.0")]
399 pub struct Vec<T, #[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global> {
420 #[rustc_const_stable(feature = "const_vec_new", since = "1.39.0")]
421 #[stable(feature = "rust1", since = "1.0.0")]
479 #[stable(feature = "rust1", since = "1.0.0")]
[all …]
Dpartial_eq.rs25 __impl_slice_eq1! { [A1: Allocator, A2: Allocator] Vec<T, A1>, Vec<U, A2>, #[stable(feature = "rust…
26 __impl_slice_eq1! { [A: Allocator] Vec<T, A>, &[U], #[stable(feature = "rust1", since = "1.0.0")] }
27 __impl_slice_eq1! { [A: Allocator] Vec<T, A>, &mut [U], #[stable(feature = "rust1", since = "1.0.0"…
28 __impl_slice_eq1! { [A: Allocator] &[T], Vec<U, A>, #[stable(feature = "partialeq_vec_for_ref_slice…
29 __impl_slice_eq1! { [A: Allocator] &mut [T], Vec<U, A>, #[stable(feature = "partialeq_vec_for_ref_s…
30 __impl_slice_eq1! { [A: Allocator] Vec<T, A>, [U], #[stable(feature = "partialeq_vec_for_slice", si…
31 __impl_slice_eq1! { [A: Allocator] [T], Vec<U, A>, #[stable(feature = "partialeq_vec_for_slice", si…
33 __impl_slice_eq1! { [A: Allocator] Cow<'_, [T]>, Vec<U, A> where T: Clone, #[stable(feature = "rust…
35 __impl_slice_eq1! { [] Cow<'_, [T]>, &[U] where T: Clone, #[stable(feature = "rust1", since = "1.0.…
37 __impl_slice_eq1! { [] Cow<'_, [T]>, &mut [U] where T: Clone, #[stable(feature = "rust1", since = "…
[all …]
Ddrain.rs23 #[stable(feature = "drain", since = "1.6.0")]
27 #[unstable(feature = "allocator_api", issue = "32838")] A: Allocator + 'a = Global,
38 #[stable(feature = "collection_debug", since = "1.17.0")]
58 #[stable(feature = "vec_drain_as_slice", since = "1.46.0")]
64 #[unstable(feature = "allocator_api", issue = "32838")]
90 #[unstable(feature = "drain_keep_rest", issue = "101122")]
141 #[stable(feature = "vec_drain_as_slice", since = "1.46.0")]
148 #[stable(feature = "drain", since = "1.6.0")]
150 #[stable(feature = "drain", since = "1.6.0")]
153 #[stable(feature = "drain", since = "1.6.0")]
[all …]
Dinto_iter.rs33 #[stable(feature = "rust1", since = "1.0.0")]
37 #[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global,
51 #[stable(feature = "vec_intoiter_debug", since = "1.13.0")]
70 #[stable(feature = "vec_into_iter_as_slice", since = "1.15.0")]
88 #[stable(feature = "vec_into_iter_as_slice", since = "1.15.0")]
94 #[unstable(feature = "allocator_api", issue = "32838")]
173 #[stable(feature = "vec_intoiter_as_ref", since = "1.46.0")]
180 #[stable(feature = "rust1", since = "1.0.0")]
182 #[stable(feature = "rust1", since = "1.0.0")]
185 #[stable(feature = "rust1", since = "1.0.0")]
[all …]
/linux-6.6.21/drivers/fpga/
Ddfl-fme-main.c163 struct dfl_feature *feature, in fme_hdr_ioctl() argument
217 const struct dfl_feature *feature = drvdata; in thermal_hwmon_attrs_visible() local
223 return fme_thermal_throttle_support(feature->ioaddr) ? 0444 : 0; in thermal_hwmon_attrs_visible()
229 struct dfl_feature *feature = dev_get_drvdata(dev); in thermal_hwmon_read() local
234 v = readq(feature->ioaddr + FME_THERM_RDSENSOR_FMT1); in thermal_hwmon_read()
238 v = readq(feature->ioaddr + FME_THERM_THRESHOLD); in thermal_hwmon_read()
242 v = readq(feature->ioaddr + FME_THERM_THRESHOLD); in thermal_hwmon_read()
246 v = readq(feature->ioaddr + FME_THERM_THRESHOLD); in thermal_hwmon_read()
250 v = readq(feature->ioaddr + FME_THERM_THRESHOLD); in thermal_hwmon_read()
254 v = readq(feature->ioaddr + FME_THERM_THRESHOLD); in thermal_hwmon_read()
[all …]
Ddfl.c355 struct dfl_feature *feature) in dfl_dev_add() argument
384 ddev->feature_id = feature->id; in dfl_dev_add()
385 ddev->revision = feature->revision; in dfl_dev_add()
386 ddev->dfh_version = feature->dfh_version; in dfl_dev_add()
388 if (feature->param_size) { in dfl_dev_add()
389 ddev->params = kmemdup(feature->params, feature->param_size, GFP_KERNEL); in dfl_dev_add()
394 ddev->param_size = feature->param_size; in dfl_dev_add()
398 parent_res = &pdev->resource[feature->resource_index]; in dfl_dev_add()
411 if (feature->nr_irqs) { in dfl_dev_add()
412 ddev->irqs = kcalloc(feature->nr_irqs, in dfl_dev_add()
[all …]
Ddfl.h382 int (*init)(struct platform_device *pdev, struct dfl_feature *feature);
384 struct dfl_feature *feature);
385 long (*ioctl)(struct platform_device *pdev, struct dfl_feature *feature,
411 #define dfl_fpga_dev_for_each_feature(pdata, feature) \ argument
412 for ((feature) = (pdata)->features; \
413 (feature) < (pdata)->features + (pdata)->num; (feature)++)
419 struct dfl_feature *feature; in dfl_get_feature_by_id() local
421 dfl_fpga_dev_for_each_feature(pdata, feature) in dfl_get_feature_by_id()
422 if (feature->id == id) in dfl_get_feature_by_id()
423 return feature; in dfl_get_feature_by_id()
[all …]
/linux-6.6.21/drivers/mtd/nand/raw/
Dnand_macronix.c52 u8 feature[ONFI_SUBFEATURE_PARAM_LEN]; in macronix_nand_setup_read_retry() local
59 feature[0] = mode; in macronix_nand_setup_read_retry()
60 return nand_set_features(chip, ONFI_FEATURE_ADDR_READ_RETRY, feature); in macronix_nand_setup_read_retry()
65 u8 feature[ONFI_SUBFEATURE_PARAM_LEN]; in macronix_nand_randomizer_check_enable() local
69 feature); in macronix_nand_randomizer_check_enable()
73 if (feature[0]) in macronix_nand_randomizer_check_enable()
74 return feature[0]; in macronix_nand_randomizer_check_enable()
76 feature[0] = MACRONIX_RANDOMIZER_MODE_ENTER; in macronix_nand_randomizer_check_enable()
78 feature); in macronix_nand_randomizer_check_enable()
83 feature[0] = 0x0; in macronix_nand_randomizer_check_enable()
[all …]
/linux-6.6.21/drivers/iommu/intel/
Dcap_audit.h67 #define DO_CHECK_FEATURE_MISMATCH(a, b, cap, feature, MASK) \ argument
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) \ argument
76 DO_CHECK_FEATURE_MISMATCH((a)->cap, (b)->cap, cap, feature, MASK)
78 #define CHECK_FEATURE_MISMATCH_HOTPLUG(b, cap, feature, MASK) \ argument
80 if (cap##_##feature(intel_iommu_##cap##_sanity)) \
82 (b)->cap, cap, feature, MASK); \
93 #define MINIMAL_FEATURE_HOTPLUG(iommu, cap, feature, MASK, mismatch) \ argument
96 (cap##_##feature((iommu)->cap))) \
/linux-6.6.21/arch/x86/include/asm/
Dcpu_device_id.h48 .feature = _feature, \
66 #define X86_MATCH_VENDOR_FAM_MODEL_FEATURE(vendor, family, model, feature, data) \ argument
68 X86_STEPPING_ANY, feature, data)
83 #define X86_MATCH_VENDOR_FAM_FEATURE(vendor, family, feature, data) \ argument
85 X86_MODEL_ANY, feature, data)
99 #define X86_MATCH_VENDOR_FEATURE(vendor, feature, data) \ argument
100 X86_MATCH_VENDOR_FAM_FEATURE(vendor, X86_FAMILY_ANY, feature, data)
112 #define X86_MATCH_FEATURE(feature, data) \ argument
113 X86_MATCH_VENDOR_FEATURE(ANY, feature, data)
/linux-6.6.21/Documentation/arch/x86/
Dcpuinfo.rst11 in arch/x86/include/asm/cpufeatures.h. If the kernel cares about a feature
12 or KVM want to expose the feature to a KVM guest, it can and should have
16 If users want to know if a feature is available on a given system, they
19 If such flag represents a hardware feature, it also means that the
25 can explain missing flags: the expected feature failed to enable, the feature
26 is missing in hardware, platform firmware did not enable it, the feature is
28 not support the feature and thus has not enabled it. In general, /proc/cpuinfo
32 How are feature flags created?
37 These feature definitions are organized mirroring the layout of CPUID
40 If a feature is defined with a X86_FEATURE_<name> definition in
[all …]
/linux-6.6.21/arch/loongarch/include/asm/
Dalternative.h15 u16 feature; /* feature bit set for replacement */ member
60 #define ALTINSTR_ENTRY(feature, num) \ argument
63 " .short " __stringify(feature) "\n" /* feature bit */ \
67 #define ALTINSTR_REPLACEMENT(newinstr, feature, num) /* replacement */ \ argument
71 #define ALTERNATIVE(oldinstr, newinstr, feature) \ argument
74 ALTINSTR_ENTRY(feature, 1) \
77 ALTINSTR_REPLACEMENT(newinstr, feature, 1) \
103 #define alternative(oldinstr, newinstr, feature) \ argument
104 (asm volatile (ALTERNATIVE(oldinstr, newinstr, feature) : : : "memory"))
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-block-device34 - If the device does not support the unload heads feature,
41 ATA standard, but support the unload feature nonetheless.
44 does support the unload feature, then you can tell the kernel
59 command queueing) priority support. By default this feature is
61 priority feature, writing "1" to this file results in an error
72 (HBA) implementing support for the SATA NCQ priority feature.
74 support for the SATA NCQ priority feature, regardless of the
75 device support for this feature (see sas_ncq_prio_supported).
84 command queueing) priority feature.
94 (HBA) implementing support for the SATA NCQ priority feature.
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/powerpc/
Dibm,powerpc-cpu-features.txt24 Description: Container of CPU feature nodes.
51 compatibility, less the individual feature nodes. For example, an ISA v3.0
66 /cpus/ibm,powerpc-cpu-features/example-feature node bindings
69 Each child node of cpu-features represents a CPU feature / capability.
71 Node: A string describing an architected CPU feature, e.g., "floating-point".
73 Description: A feature or capability supported by the CPUs.
79 Presence of the node indicates the feature is available.
88 First level of the Power ISA that the feature appears in.
105 that can use the feature.
119 feature to lesser privilege levels. If the property does not exist then no
[all …]
/linux-6.6.21/Documentation/hid/
Dhid-sensor.rst70 functions, which get and set each input/feature/output report.
126 This interface is used to set a value for a field in feature report. For example
177 │   │   ├── feature-0-200316
178 │   │   │   ├── feature-0-200316-maximum
179 │   │   │   ├── feature-0-200316-minimum
180 │   │   │   ├── feature-0-200316-name
181 │   │   │   ├── feature-0-200316-size
182 │   │   │   ├── feature-0-200316-unit-expo
183 │   │   │   ├── feature-0-200316-units
184 │   │   │   ├── feature-0-200316-value
[all …]
/linux-6.6.21/rust/kernel/
Dlib.rs15 #![feature(allocator_api)]
16 #![feature(coerce_unsized)]
17 #![feature(dispatch_from_dyn)]
18 #![feature(new_uninit)]
19 #![feature(receiver_trait)]
20 #![feature(unsize)]
/linux-6.6.21/arch/s390/kernel/
Dcpufeature.c31 struct s390_cpu_feature *feature; in cpu_have_feature() local
35 feature = &s390_cpu_features[num]; in cpu_have_feature()
36 switch (feature->type) { in cpu_have_feature()
38 return !!(elf_hwcap & BIT(feature->num)); in cpu_have_feature()
40 return test_facility(feature->num); in cpu_have_feature()

12345678910>>...44