Home
last modified time | relevance | path

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

12345678910>>...109

/Linux-v5.15/drivers/fpga/
Ddfl.c3 * Driver for FPGA Device Feature List (DFL) Support
23 * when adding a new feature dev support in DFL framework, it's required to
29 * if the new feature dev needs chardev support, then it's required to add
48 * dfl_dev_info - dfl feature device information.
49 * @name: name string of the feature platform device.
50 * @dfh_id: id value in Device Feature Header (DFH) register by DFL spec.
51 * @id: idr id of the feature dev.
70 * dfl_chardev_info - chardev information of dfl feature device
145 * in such list, then other feature devices (e.g. FME), could use the port
352 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 */
77 #define DFH_TYPE GENMASK_ULL(63, 60) /* Feature type */
108 /* Offset to port device feature header */
196 * struct dfl_feature_id - dfl private feature id
198 * @id: unique dfl private feature id.
205 * 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 …]
/Linux-v5.15/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 …]
/Linux-v5.15/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 …]
/Linux-v5.15/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-v5.15/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 …]
/Linux-v5.15/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.h32 * Supports KUAP feature
39 * Supports KUEP feature
132 /* MMU feature bit sets for various CPUs */
231 static __always_inline bool early_mmu_has_feature(unsigned long feature) in early_mmu_has_feature() argument
233 if (MMU_FTRS_ALWAYS & feature) in early_mmu_has_feature()
236 return !!(MMU_FTRS_POSSIBLE & cur_cpu_spec->mmu_features & feature); in early_mmu_has_feature()
248 static __always_inline bool mmu_has_feature(unsigned long feature) in mmu_has_feature() argument
253 BUILD_BUG_ON(!__builtin_constant_p(feature)); in mmu_has_feature()
260 return early_mmu_has_feature(feature); in mmu_has_feature()
264 if (MMU_FTRS_ALWAYS & feature) in mmu_has_feature()
[all …]
/Linux-v5.15/arch/x86/kernel/cpu/
Dcpuid-deps.c8 unsigned int feature; member
81 static inline void clear_feature(struct cpuinfo_x86 *c, unsigned int feature) in clear_feature() argument
89 clear_cpu_cap(&boot_cpu_data, feature); in clear_feature()
90 set_bit(feature, (unsigned long *)cpu_caps_cleared); in clear_feature()
92 clear_bit(feature, (unsigned long *)c->x86_capability); in clear_feature()
99 static void do_clear_cpu_cap(struct cpuinfo_x86 *c, unsigned int feature) in do_clear_cpu_cap() argument
105 if (WARN_ON(feature >= MAX_FEATURE_BITS)) in do_clear_cpu_cap()
108 clear_feature(c, feature); in do_clear_cpu_cap()
112 __set_bit(feature, disable); in do_clear_cpu_cap()
117 for (d = cpuid_deps; d->feature; d++) { in do_clear_cpu_cap()
[all …]
/Linux-v5.15/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. ]
76 # of all feature tests
136 # If in the future we need per-feature checks/flags for features not
[all …]
/Linux-v5.15/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 …]
/Linux-v5.15/drivers/gpu/drm/amd/pm/inc/
Dsmu_v11_0_7_pptable.h64 …TURE_GFXCLK_LIMITS = 1 << SMU_11_0_7_ODCAP_GFXCLK_LIMITS, //GFXCLK Limit feature
65 …TURE_GFXCLK_CURVE = 1 << SMU_11_0_7_ODCAP_GFXCLK_CURVE, //GFXCLK Curve feature
66 …EATURE_UCLK_LIMITS = 1 << SMU_11_0_7_ODCAP_UCLK_LIMITS, //UCLK Limit feature
67 …ATURE_POWER_LIMIT = 1 << SMU_11_0_7_ODCAP_POWER_LIMIT, //Power Limit feature
68 …_FAN_ACOUSTIC_LIMIT = 1 << SMU_11_0_7_ODCAP_FAN_ACOUSTIC_LIMIT, //Fan Acoustic RPM feature
69 …FAN_SPEED_MIN = 1 << SMU_11_0_7_ODCAP_FAN_SPEED_MIN, //Minimum Fan Speed feature
70 …_FAN = 1 << SMU_11_0_7_ODCAP_TEMPERATURE_FAN, //Fan Target Temperature Limit feature
71 …E_SYSTEM = 1 << SMU_11_0_7_ODCAP_TEMPERATURE_SYSTEM, //Operating Temperature Limit feature
72 …_MEMORY_TIMING_TUNE = 1 << SMU_11_0_7_ODCAP_MEMORY_TIMING_TUNE, //AC Timing Tuning feature
73 …DFEATURE_FAN_ZERO_RPM_CONTROL = 1 << SMU_11_0_7_ODCAP_FAN_ZERO_RPM_CONTROL, //Zero RPM feature
[all …]
Dsmu_v11_0_pptable.h61 …FEATURE_GFXCLK_LIMITS = 1 << SMU_11_0_ODCAP_GFXCLK_LIMITS, //GFXCLK Limit feature
62 …FEATURE_GFXCLK_CURVE = 1 << SMU_11_0_ODCAP_GFXCLK_CURVE, //GFXCLK Curve feature
63 …ODFEATURE_UCLK_MAX = 1 << SMU_11_0_ODCAP_UCLK_MAX, //UCLK Limit feature
64 …DFEATURE_POWER_LIMIT = 1 << SMU_11_0_ODCAP_POWER_LIMIT, //Power Limit feature
65 …URE_FAN_ACOUSTIC_LIMIT = 1 << SMU_11_0_ODCAP_FAN_ACOUSTIC_LIMIT, //Fan Acoustic RPM feature
66 …RE_FAN_SPEED_MIN = 1 << SMU_11_0_ODCAP_FAN_SPEED_MIN, //Minimum Fan Speed feature
67 …URE_FAN = 1 << SMU_11_0_ODCAP_TEMPERATURE_FAN, //Fan Target Temperature Limit feature
68 …TURE_SYSTEM = 1 << SMU_11_0_ODCAP_TEMPERATURE_SYSTEM, //Operating Temperature Limit feature
69 …URE_MEMORY_TIMING_TUNE = 1 << SMU_11_0_ODCAP_MEMORY_TIMING_TUNE, //AC Timing Tuning feature
70 …0_ODFEATURE_FAN_ZERO_RPM_CONTROL = 1 << SMU_11_0_ODCAP_FAN_ZERO_RPM_CONTROL, //Zero RPM feature
[all …]
Dsmu_v13_0_pptable.h60 …FEATURE_GFXCLK_LIMITS = 1 << SMU_13_0_ODCAP_GFXCLK_LIMITS, //GFXCLK Limit feature
61 …FEATURE_GFXCLK_CURVE = 1 << SMU_13_0_ODCAP_GFXCLK_CURVE, //GFXCLK Curve feature
62 …ODFEATURE_UCLK_MAX = 1 << SMU_13_0_ODCAP_UCLK_MAX, //UCLK Limit feature
63 …DFEATURE_POWER_LIMIT = 1 << SMU_13_0_ODCAP_POWER_LIMIT, //Power Limit feature
64 …URE_FAN_ACOUSTIC_LIMIT = 1 << SMU_13_0_ODCAP_FAN_ACOUSTIC_LIMIT, //Fan Acoustic RPM feature
65 …RE_FAN_SPEED_MIN = 1 << SMU_13_0_ODCAP_FAN_SPEED_MIN, //Minimum Fan Speed feature
66 …URE_FAN = 1 << SMU_13_0_ODCAP_TEMPERATURE_FAN, //Fan Target Temperature Limit feature
67 …TURE_SYSTEM = 1 << SMU_13_0_ODCAP_TEMPERATURE_SYSTEM, //Operating Temperature Limit feature
68 …URE_MEMORY_TIMING_TUNE = 1 << SMU_13_0_ODCAP_MEMORY_TIMING_TUNE, //AC Timing Tuning feature
69 …0_ODFEATURE_FAN_ZERO_RPM_CONTROL = 1 << SMU_13_0_ODCAP_FAN_ZERO_RPM_CONTROL, //Zero RPM feature
[all …]
/Linux-v5.15/drivers/hwtracing/coresight/
Dcoresight-config.h27 * flags defining what device class a feature will match to when processing a
45 * Parameter descriptor for a device feature.
58 * Used as a descriptor in the feature descriptors.
59 * Used as a value in when in a feature loading into a csdev.
89 * Device feature descriptor - combination of registers and parameters to
92 * @name: feature name.
93 * @description: brief description of the feature.
147 * config register instance - part of a loaded feature.
150 * @reg_desc: value to use when setting feature on device / store for
161 * config parameter instance - part of a loaded feature.
[all …]
/Linux-v5.15/include/linux/
Dcpufeature.h17 * - cpu_feature(x) ordinal value of feature called 'x'
18 * - cpu_have_feature(u32 n) whether feature #n is available
19 * - MAX_CPU_FEATURES upper bound for feature ordinal values
34 * Use module_cpu_feature_match(feature, module_init_function) to
36 * a) the module shall be probed upon discovery of CPU feature 'feature'
38 * b) the module must not be loaded if CPU feature 'feature' is not present
41 * For a list of legal values for 'feature', please consult the file
46 { { .feature = cpu_feature(x) }, { } }; \
/Linux-v5.15/tools/perf/
DMakefile.config130 # Set per-feature check compilation flags
256 # '-lpythonX.Y' flag unless '--embed' is also passed. The feature check for
308 # As we may retry some feature detection here, see the disassembler-four-args case, for instance
310 include $(srctree)/tools/build/Makefile.feature
315 ifeq ($(feature-stackprotector-all), 1)
320 ifeq ($(feature-fortify-source), 1)
352 ifeq ($(feature-pthread-attr-setaffinity-np), 1)
356 ifeq ($(feature-pthread-barrier), 1)
362 ifeq ($(feature-bionic), 1)
371 ifeq ($(feature-eventfd), 1)
[all …]
/Linux-v5.15/arch/arm64/include/asm/
Dalternative-macros.h14 #define ALTINSTR_ENTRY(feature) \ argument
17 " .hword " __stringify(feature) "\n" /* feature bit */ \
21 #define ALTINSTR_ENTRY_CB(feature, cb) \ argument
24 " .hword " __stringify(feature) "\n" /* feature bit */ \
44 #define __ALTERNATIVE_CFG(oldinstr, newinstr, feature, cfg_enabled) \ argument
50 ALTINSTR_ENTRY(feature) \
61 #define __ALTERNATIVE_CFG_CB(oldinstr, feature, cfg_enabled, cb) \ argument
67 ALTINSTR_ENTRY_CB(feature, cb) \
73 #define _ALTERNATIVE_CFG(oldinstr, newinstr, feature, cfg, ...) \ argument
74 __ALTERNATIVE_CFG(oldinstr, newinstr, feature, IS_ENABLED(cfg))
[all …]
/Linux-v5.15/arch/x86/include/asm/
Dalternative.h147 #define ALTINSTR_ENTRY(feature, num) \ argument
150 " .word " __stringify(feature) "\n" /* feature bit */ \
159 #define ALTERNATIVE(oldinstr, newinstr, feature) \ argument
162 ALTINSTR_ENTRY(feature, 1) \
179 /* If @feature is set, patch in @newinstr_yes, otherwise @newinstr_no. */
180 #define ALTERNATIVE_TERNARY(oldinstr, feature, newinstr_yes, newinstr_no) \ argument
182 newinstr_yes, feature)
209 #define alternative(oldinstr, newinstr, feature) \ argument
210 asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, feature) : : : "memory")
215 #define alternative_ternary(oldinstr, feature, newinstr_yes, newinstr_no) \ argument
[all …]
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)
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) \ argument
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, data) \ argument
[all …]
/Linux-v5.15/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-v5.15/Documentation/trace/coresight/
Dcoresight-config.rst32 A feature is a named set of programming for a CoreSight device. The programming
36 The feature is defined using a descriptor. This descriptor is used to load onto
37 a matching device, either when the feature is loaded into the system, or when the
43 and efficient for the feature to be programmed onto the device when required.
45 The feature will not be active on the device until the feature is enabled, and
49 A feature is enabled as part of a configuration being enabled on the system.
56 feature being enabled that can adjust the behaviour of the operation programmed
57 by the feature.
60 at a given rate. When the feature is enabled then the current value of the
63 The feature descriptor defines a default value for a parameter, which is used
[all …]
/Linux-v5.15/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-v5.15/drivers/gpu/drm/amd/pm/swsmu/
Dsmu_cmn.c456 struct smu_feature *feature = &smu->smu_feature; in smu_cmn_feature_is_supported() local
466 WARN_ON(feature_id > feature->feature_num); in smu_cmn_feature_is_supported()
468 mutex_lock(&feature->mutex); in smu_cmn_feature_is_supported()
469 ret = test_bit(feature_id, feature->supported); in smu_cmn_feature_is_supported()
470 mutex_unlock(&feature->mutex); in smu_cmn_feature_is_supported()
478 struct smu_feature *feature = &smu->smu_feature; in smu_cmn_feature_is_enabled() local
492 WARN_ON(feature_id > feature->feature_num); in smu_cmn_feature_is_enabled()
494 mutex_lock(&feature->mutex); in smu_cmn_feature_is_enabled()
495 ret = test_bit(feature_id, feature->enabled); in smu_cmn_feature_is_enabled()
496 mutex_unlock(&feature->mutex); in smu_cmn_feature_is_enabled()
[all …]

12345678910>>...109