Home
last modified time | relevance | path

Searched full:feature (Results 1 – 25 of 5645) sorted by relevance

12345678910>>...226

/kernel/linux/linux-6.6/rust/alloc/
Dlib.rs63 // rustc itself never sets the feature, so this line has no effect there.
64 #![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)]
[all …]
/kernel/linux/linux-5.10/drivers/fpga/
Ddfl.c3 * Driver for FPGA Device Feature List (DFL) Support
22 * when adding a new feature dev support in DFL framework, it's required to
28 * if the new feature dev needs chardev support, then it's required to add
47 * dfl_dev_info - dfl feature device information.
48 * @name: name string of the feature platform device.
49 * @dfh_id: id value in Device Feature Header (DFH) register by DFL spec.
50 * @id: idr id of the feature dev.
69 * dfl_chardev_info - chardev information of dfl feature device
144 * in such list, then other feature devices (e.g. FME), could use the port
354 struct dfl_feature *feature) in dfl_dev_add() argument
[all …]
Ddfl.h3 * Driver Header File for FPGA Device Feature List (DFL) Support
56 * Device Feature Header Register Set
69 /* Device Feature Header Register Bitfield */
70 #define DFH_ID GENMASK_ULL(11, 0) /* Feature ID */
73 #define DFH_REVISION GENMASK_ULL(15, 12) /* Feature revision */
76 #define DFH_TYPE GENMASK_ULL(63, 60) /* Feature type */
107 /* Offset to port device feature header */
195 * struct dfl_feature_id - dfl private feature id
197 * @id: unique dfl private feature id.
204 * struct dfl_feature_driver - dfl private feature driver
[all …]
Ddfl-fme-main.c162 struct dfl_feature *feature, in fme_hdr_ioctl() argument
216 const struct dfl_feature *feature = drvdata; in thermal_hwmon_attrs_visible() local
222 return fme_thermal_throttle_support(feature->ioaddr) ? 0444 : 0; in thermal_hwmon_attrs_visible()
228 struct dfl_feature *feature = dev_get_drvdata(dev); in thermal_hwmon_read() local
233 v = readq(feature->ioaddr + FME_THERM_RDSENSOR_FMT1); in thermal_hwmon_read()
237 v = readq(feature->ioaddr + FME_THERM_THRESHOLD); in thermal_hwmon_read()
241 v = readq(feature->ioaddr + FME_THERM_THRESHOLD); in thermal_hwmon_read()
245 v = readq(feature->ioaddr + FME_THERM_THRESHOLD); in thermal_hwmon_read()
249 v = readq(feature->ioaddr + FME_THERM_THRESHOLD); in thermal_hwmon_read()
253 v = readq(feature->ioaddr + FME_THERM_THRESHOLD); in thermal_hwmon_read()
[all …]
/kernel/linux/linux-6.6/drivers/fpga/
Ddfl.c3 * Driver for FPGA Device Feature List (DFL) Support
24 * 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.
51 * @dfh_id: id value in Device Feature Header (DFH) register by DFL spec.
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) in dfl_dev_add() argument
[all …]
Ddfl.h3 * Driver Header File for FPGA Device Feature List (DFL) Support
57 * Device Feature Header Register Set
70 /* Device Feature Header Register Bitfield */
71 #define DFH_ID GENMASK_ULL(11, 0) /* Feature ID */
74 #define DFH_REVISION GENMASK_ULL(15, 12) /* Feature revision */
78 #define DFH_TYPE GENMASK_ULL(63, 60) /* Feature type */
93 * 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.
[all …]
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 …]
/kernel/linux/linux-6.6/Documentation/arch/x86/
Dcpuinfo.rst4 x86 Feature Flags
11 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?
35 a: Feature flags can be derived from the contents of CPUID leaves.
[all …]
/kernel/linux/linux-5.10/Documentation/x86/
Dcpuinfo.rst4 x86 Feature Flags
11 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?
35 a: Feature flags can be derived from the contents of CPUID leaves.
[all …]
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Dnand_macronix.c41 u8 feature[ONFI_SUBFEATURE_PARAM_LEN]; in macronix_nand_setup_read_retry() local
48 feature[0] = mode; in macronix_nand_setup_read_retry()
49 return nand_set_features(chip, ONFI_FEATURE_ADDR_READ_RETRY, feature); in macronix_nand_setup_read_retry()
54 u8 feature[ONFI_SUBFEATURE_PARAM_LEN]; in macronix_nand_randomizer_check_enable() local
58 feature); in macronix_nand_randomizer_check_enable()
62 if (feature[0]) in macronix_nand_randomizer_check_enable()
63 return feature[0]; in macronix_nand_randomizer_check_enable()
65 feature[0] = MACRONIX_RANDOMIZER_MODE_ENTER; in macronix_nand_randomizer_check_enable()
67 feature); in macronix_nand_randomizer_check_enable()
72 feature[0] = 0x0; in macronix_nand_randomizer_check_enable()
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/Documentation/hid/
Dhid-sensor.rst70 functions, which get and set each input/feature/output report.
121 Set Feature 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
[all …]
/kernel/linux/linux-6.6/Documentation/hid/
Dhid-sensor.rst70 functions, which get and set each input/feature/output report.
121 Set Feature 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
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/
Dcpuid-deps.c8 unsigned int feature; member
77 static inline void clear_feature(struct cpuinfo_x86 *c, unsigned int feature) in clear_feature() argument
85 clear_cpu_cap(&boot_cpu_data, feature); in clear_feature()
86 set_bit(feature, (unsigned long *)cpu_caps_cleared); in clear_feature()
88 clear_bit(feature, (unsigned long *)c->x86_capability); in clear_feature()
95 static void do_clear_cpu_cap(struct cpuinfo_x86 *c, unsigned int feature) in do_clear_cpu_cap() argument
101 if (WARN_ON(feature >= MAX_FEATURE_BITS)) in do_clear_cpu_cap()
104 clear_feature(c, feature); in do_clear_cpu_cap()
108 __set_bit(feature, disable); in do_clear_cpu_cap()
113 for (d = cpuid_deps; d->feature; d++) { in do_clear_cpu_cap()
[all …]
/kernel/linux/linux-5.10/tools/build/
DMakefile.feature2 feature_dir := $(srctree)/tools/build/feature
5 OUTPUT_FEATURES = $(OUTPUT)feature/
11feature-$(1) := $(shell $(MAKE) OUTPUT=$(OUTPUT_FEATURES) CC="$(CC)" CXX="$(CXX)" CFLAGS="$(EXTRA_…
16 feature-$(1) := 1
20 # Build the feature check binaries in parallel, ignore errors, ignore return value and suppress out…
24 # Note that this is not a complete list of all feature tests, just
27 # [ Feature tests not mentioned here have to be built explicitly in
29 # feature check. ]
75 # of all feature tests
133 # If in the future we need per-feature checks/flags for features not
[all …]
/kernel/linux/linux-6.6/tools/build/
DMakefile.feature2 feature_dir := $(srctree)/tools/build/feature
5 OUTPUT_FEATURES = $(OUTPUT)feature/
11feature-$(1) := $(shell $(MAKE) OUTPUT=$(OUTPUT_FEATURES) CC="$(CC)" CXX="$(CXX)" CFLAGS="$(EXTRA_…
16 feature-$(1) := 1
20 # Build the feature check binaries in parallel, ignore errors, ignore return value and suppress out…
24 # Note that this is not a complete list of all feature tests, just
27 # [ Feature tests not mentioned here have to be built explicitly in
29 # feature check. ]
78 # of all feature tests
144 # Declare group members of a feature to display the logical OR of the detection
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/inc/
Dsmu_v13_0_0_pptable.h65 …URE_GFXCLK_LIMITS = 1 << SMU_13_0_0_ODCAP_GFXCLK_LIMITS, //GFXCLK Limit feature
66 …ATURE_UCLK_LIMITS = 1 << SMU_13_0_0_ODCAP_UCLK_LIMITS, //UCLK Limit feature
67 …TURE_POWER_LIMIT = 1 << SMU_13_0_0_ODCAP_POWER_LIMIT, //Power Limit feature
68 …FAN_ACOUSTIC_LIMIT = 1 << SMU_13_0_0_ODCAP_FAN_ACOUSTIC_LIMIT, //Fan Acoustic RPM feature
69 …AN_SPEED_MIN = 1 << SMU_13_0_0_ODCAP_FAN_SPEED_MIN, //Minimum Fan Speed feature
70 …FAN = 1 << SMU_13_0_0_ODCAP_TEMPERATURE_FAN, //Fan Target Temperature Limit feature
71 …_SYSTEM = 1 << SMU_13_0_0_ODCAP_TEMPERATURE_SYSTEM, //Operating Temperature Limit feature
72 …MEMORY_TIMING_TUNE = 1 << SMU_13_0_0_ODCAP_MEMORY_TIMING_TUNE, //AC Timing Tuning feature
73 …FEATURE_FAN_ZERO_RPM_CONTROL = 1 << SMU_13_0_0_ODCAP_FAN_ZERO_RPM_CONTROL, //Zero RPM feature
74 …V_ENGINE = 1 << SMU_13_0_0_ODCAP_AUTO_UV_ENGINE, //Auto Under Volt GFXCLK feature
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/swsmu/inc/
Dsmu_v13_0_7_pptable.h65 …URE_GFXCLK_LIMITS = 1 << SMU_13_0_7_ODCAP_GFXCLK_LIMITS, //GFXCLK Limit feature
66 …ATURE_UCLK_LIMITS = 1 << SMU_13_0_7_ODCAP_UCLK_LIMITS, //UCLK Limit feature
67 …TURE_POWER_LIMIT = 1 << SMU_13_0_7_ODCAP_POWER_LIMIT, //Power Limit feature
68 …FAN_ACOUSTIC_LIMIT = 1 << SMU_13_0_7_ODCAP_FAN_ACOUSTIC_LIMIT, //Fan Acoustic RPM feature
69 …AN_SPEED_MIN = 1 << SMU_13_0_7_ODCAP_FAN_SPEED_MIN, //Minimum Fan Speed feature
70 …FAN = 1 << SMU_13_0_7_ODCAP_TEMPERATURE_FAN, //Fan Target Temperature Limit feature
71 …_SYSTEM = 1 << SMU_13_0_7_ODCAP_TEMPERATURE_SYSTEM, //Operating Temperature Limit feature
72 …MEMORY_TIMING_TUNE = 1 << SMU_13_0_7_ODCAP_MEMORY_TIMING_TUNE, //AC Timing Tuning feature
73 …FEATURE_FAN_ZERO_RPM_CONTROL = 1 << SMU_13_0_7_ODCAP_FAN_ZERO_RPM_CONTROL, //Zero RPM feature
74 …V_ENGINE = 1 << SMU_13_0_7_ODCAP_AUTO_UV_ENGINE, //Auto Under Volt GFXCLK feature
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/fs/overlayfs/
DKconfig15 bool "Overlayfs: turn on redirect directory feature by default"
26 feature will have unexpected results.
46 bool "Overlayfs: turn on inodes index feature by default"
55 The inodes index feature prevents breaking of lower hardlinks on copy
58 Note, that the inodes index feature is not backward compatible.
60 that doesn't support this feature will have unexpected results.
65 bool "Overlayfs: turn on NFS export feature by default"
76 The NFS export feature creates an index on copy up of every file and
83 Note, that the NFS export feature is not backward compatible.
85 that doesn't support this feature will have unexpected results.
[all …]

12345678910>>...226