/kernel/linux/linux-5.10/drivers/fpga/ |
D | dfl.c | 3 * 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 …]
|
D | dfl.h | 3 * 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 …]
|
D | dfl-fme-main.c | 162 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 …]
|
D | Kconfig | 142 tristate "FPGA Device Feature List (DFL) support" 147 Device Feature List (DFL) defines a feature list structure that 148 creates a linked list of feature headers within the MMIO space 150 Driver can walk through the feature headers to enumerate feature 155 Gate Array (FPGA) solutions which implement Device Feature List. 156 It provides enumeration APIs and feature device infrastructure. 162 The FPGA Management Engine (FME) is a feature device implemented 163 under Device Feature List (DFL) framework. Select this option to 201 the Device Feature List (DFL). This driver provides interfaces 205 management and virtualization with DFL framework and DFL feature
|
/kernel/linux/linux-5.10/Documentation/x86/ |
D | cpuinfo.rst | 4 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/ |
D | nand_macronix.c | 41 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-5.10/Documentation/devicetree/bindings/powerpc/ |
D | ibm,powerpc-cpu-features.txt | 24 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/hid/ |
D | hid-sensor.rst | 70 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/ |
D | cpu_has_feature.h | 10 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 …]
|
D | mmu.h | 32 * Support for KUEP feature. 128 /* MMU feature bit sets for various CPUs */ 204 static inline bool early_mmu_has_feature(unsigned long feature) in early_mmu_has_feature() argument 206 return !!(MMU_FTRS_POSSIBLE & cur_cpu_spec->mmu_features & feature); in early_mmu_has_feature() 218 static __always_inline bool mmu_has_feature(unsigned long feature) in mmu_has_feature() argument 223 BUILD_BUG_ON(!__builtin_constant_p(feature)); in mmu_has_feature() 230 return early_mmu_has_feature(feature); in mmu_has_feature() 234 if (!(MMU_FTRS_POSSIBLE & feature)) in mmu_has_feature() 237 i = __builtin_ctzl(feature); in mmu_has_feature() 241 static inline void mmu_clear_feature(unsigned long feature) in mmu_clear_feature() argument [all …]
|
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/ |
D | cpuid-deps.c | 8 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/ |
D | Makefile.feature | 2 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_… 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-5.10/fs/overlayfs/ |
D | Kconfig | 15 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 …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/inc/ |
D | smu_v11_0_7_pptable.h | 64 …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 …]
|
D | smu_v11_0_pptable.h | 61 …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 …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | cpufeature.h | 17 * - 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) }, { } }; \
|
/kernel/linux/linux-5.10/tools/perf/ |
D | Makefile.config | 124 # Set per-feature check compilation flags 244 # '-lpythonX.Y' flag unless '--embed' is also passed. The feature check for 293 include $(srctree)/tools/build/Makefile.feature 298 ifeq ($(feature-stackprotector-all), 1) 303 ifeq ($(feature-fortify-source), 1) 335 ifeq ($(feature-sync-compare-and-swap), 1) 339 ifeq ($(feature-pthread-attr-setaffinity-np), 1) 343 ifeq ($(feature-pthread-barrier), 1) 349 ifeq ($(feature-bionic), 1) 358 ifeq ($(feature-eventfd), 1) [all …]
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | alternative.h | 149 #define ALTINSTR_ENTRY(feature, num) \ argument 152 " .word " __stringify(feature) "\n" /* feature bit */ \ 156 #define ALTINSTR_REPLACEMENT(newinstr, feature, num) /* replacement */ \ argument 161 #define ALTERNATIVE(oldinstr, newinstr, feature) \ argument 164 ALTINSTR_ENTRY(feature, 1) \ 167 ALTINSTR_REPLACEMENT(newinstr, feature, 1) \ 181 /* If @feature is set, patch in @newinstr_yes, otherwise @newinstr_no. */ 182 #define ALTERNATIVE_TERNARY(oldinstr, feature, newinstr_yes, newinstr_no) \ argument 184 newinstr_yes, feature) 211 #define alternative(oldinstr, newinstr, feature) \ argument [all …]
|
D | cpu_device_id.h | 48 .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 …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/swsmu/ |
D | smu_cmn.c | 249 struct smu_feature *feature = &smu->smu_feature; in smu_cmn_feature_is_supported() local 259 WARN_ON(feature_id > feature->feature_num); in smu_cmn_feature_is_supported() 261 mutex_lock(&feature->mutex); in smu_cmn_feature_is_supported() 262 ret = test_bit(feature_id, feature->supported); in smu_cmn_feature_is_supported() 263 mutex_unlock(&feature->mutex); in smu_cmn_feature_is_supported() 271 struct smu_feature *feature = &smu->smu_feature; in smu_cmn_feature_is_enabled() local 283 WARN_ON(feature_id > feature->feature_num); in smu_cmn_feature_is_enabled() 285 mutex_lock(&feature->mutex); in smu_cmn_feature_is_enabled() 286 ret = test_bit(feature_id, feature->enabled); in smu_cmn_feature_is_enabled() 287 mutex_unlock(&feature->mutex); in smu_cmn_feature_is_enabled() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_kms.c | 228 fw_info->feature = adev->vce.fb_version; in amdgpu_firmware_info() 232 fw_info->feature = 0; in amdgpu_firmware_info() 236 fw_info->feature = 0; in amdgpu_firmware_info() 240 fw_info->feature = 0; in amdgpu_firmware_info() 244 fw_info->feature = adev->gfx.me_feature_version; in amdgpu_firmware_info() 248 fw_info->feature = adev->gfx.pfp_feature_version; in amdgpu_firmware_info() 252 fw_info->feature = adev->gfx.ce_feature_version; in amdgpu_firmware_info() 256 fw_info->feature = adev->gfx.rlc_feature_version; in amdgpu_firmware_info() 260 fw_info->feature = adev->gfx.rlc_srlc_feature_version; in amdgpu_firmware_info() 264 fw_info->feature = adev->gfx.rlc_srlg_feature_version; in amdgpu_firmware_info() [all …]
|
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
D | alternative-macros.h | 16 #define ALTINSTR_ENTRY(feature) \ argument 19 " .hword " __stringify(feature) "\n" /* feature bit */ \ 23 #define ALTINSTR_ENTRY_CB(feature, cb) \ argument 26 " .hword " __stringify(feature) "\n" /* feature bit */ \ 46 #define __ALTERNATIVE_CFG(oldinstr, newinstr, feature, cfg_enabled) \ argument 52 ALTINSTR_ENTRY(feature) \ 63 #define __ALTERNATIVE_CFG_CB(oldinstr, feature, cfg_enabled, cb) \ argument 69 ALTINSTR_ENTRY_CB(feature, cb) \ 75 #define _ALTERNATIVE_CFG(oldinstr, newinstr, feature, cfg, ...) \ argument 76 __ALTERNATIVE_CFG(oldinstr, newinstr, feature, IS_ENABLED(cfg)) [all …]
|
/kernel/linux/linux-5.10/tools/virtio/linux/ |
D | virtio_config.h | 7 * __virtio_test_bit - helper to test feature bits. For use by transports. 11 * @fbit: the feature bit 20 * __virtio_set_bit - helper to set feature bits. For use by transports. 22 * @fbit: the feature bit 31 * __virtio_clear_bit - helper to clear feature bits. For use by transports. 33 * @fbit: the feature bit 41 #define virtio_has_feature(dev, feature) \ argument 42 (__virtio_test_bit((dev), feature)) 51 * Note the reverse polarity of the quirk feature (compared to most in virtio_has_dma_quirk()
|
/kernel/linux/linux-5.10/Documentation/driver-api/mei/ |
D | mei.rst | 9 The actual feature set depends on the Intel chipset SKU. 17 Each Intel ME feature, or Intel ME Client is addressed by a unique GUID and 27 An application maintains communication with an Intel ME feature while 28 /dev/meiX is open. The binding to a specific feature is performed by calling 30 The number of instances of an Intel ME feature that can be opened 31 at the same time depends on the Intel ME feature, but most of the 34 The driver is transparent to data that are passed between firmware feature 47 virtual channels with an Intel ME feature. Not all features support 84 Connect to firmware Feature/Client. 99 in_client_uuid - GUID of the FW Feature that needs [all …]
|
/kernel/linux/linux-5.10/tools/bpf/bpftool/ |
D | Makefile | 79 include $(srctree)/tools/build/Makefile.feature 85 ifeq ($(feature-disassembler-four-args), 1) 89 ifeq ($(feature-reallocarray), 0) 94 ifeq ($(feature-libcap), 1) 107 ifeq ($(feature-libbfd),1) 109 else ifeq ($(feature-libbfd-liberty),1) 111 else ifeq ($(feature-libbfd-liberty-z),1) 133 ifeq ($(feature-clang-bpf-co-re),1) 167 $(OUTPUT)feature.o: | zdep 178 feature-detect-clean: [all …]
|