/linux-6.12.1/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 27 BUILD_BUG_ON(!__builtin_constant_p(feature)); in cpu_has_feature() 28 BUILD_BUG_ON(__builtin_popcountl(feature) > 1); in cpu_has_feature() 34 return early_cpu_has_feature(feature); in cpu_has_feature() 38 if (CPU_FTRS_ALWAYS & feature) in cpu_has_feature() 41 if (!(CPU_FTRS_POSSIBLE & feature)) in cpu_has_feature() 44 i = __builtin_ctzl(feature); in cpu_has_feature() [all …]
|
D | mmu.h | 221 static __always_inline bool early_mmu_has_feature(unsigned long feature) in early_mmu_has_feature() argument 223 if (MMU_FTRS_ALWAYS & feature) in early_mmu_has_feature() 226 return !!(MMU_FTRS_POSSIBLE & cur_cpu_spec->mmu_features & feature); in early_mmu_has_feature() 238 static __always_inline bool mmu_has_feature(unsigned long feature) in mmu_has_feature() argument 242 BUILD_BUG_ON(!__builtin_constant_p(feature)); in mmu_has_feature() 243 BUILD_BUG_ON(__builtin_popcountl(feature) > 1); in mmu_has_feature() 249 return early_mmu_has_feature(feature); in mmu_has_feature() 253 if (MMU_FTRS_ALWAYS & feature) in mmu_has_feature() 256 if (!(MMU_FTRS_POSSIBLE & feature)) in mmu_has_feature() 259 i = __builtin_ctzl(feature); in mmu_has_feature() [all …]
|
D | security_features.h | 27 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.12.1/arch/x86/kernel/cpu/ |
D | cpuid-deps.c | 8 unsigned int feature; member 89 static inline void clear_feature(struct cpuinfo_x86 *c, unsigned int feature) in clear_feature() argument 97 clear_cpu_cap(&boot_cpu_data, feature); in clear_feature() 98 set_bit(feature, (unsigned long *)cpu_caps_cleared); in clear_feature() 100 clear_bit(feature, (unsigned long *)c->x86_capability); in clear_feature() 107 static void do_clear_cpu_cap(struct cpuinfo_x86 *c, unsigned int feature) in do_clear_cpu_cap() argument 113 if (WARN_ON(feature >= MAX_FEATURE_BITS)) in do_clear_cpu_cap() 116 if (boot_cpu_has(feature)) in do_clear_cpu_cap() 119 clear_feature(c, feature); in do_clear_cpu_cap() 123 __set_bit(feature, disable); in do_clear_cpu_cap() [all …]
|
/linux-6.12.1/tools/perf/Documentation/ |
D | perf-check.txt | 12 'perf check' {feature <feature_list>} [<options>] 19 If the subcommand 'feature' is used, then status of feature is printed 22 Also, 'perf check feature' returns with exit status 0 if the feature 28 feature:: 30 Print whether feature(s) is compiled-in or not, and also returns with an 31 exit status of 0, if passed feature(s) are compiled-in, else 1. 33 It expects a feature list as an argument. There can be a single feature 38 The feature names/macros are case-insensitive. 41 perf check feature libtraceevent 42 perf check feature HAVE_LIBTRACEEVENT [all …]
|
/linux-6.12.1/drivers/fpga/ |
D | dfl-fme-main.c | 163 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 …]
|
D | dfl.c | 355 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 …]
|
D | dfl.h | 382 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.12.1/arch/s390/include/asm/ |
D | alternative.h | 63 u32 feature; /* feature required for replacement */ member 117 #define ALTINSTR_ENTRY(feature, num) \ argument 120 "\t.long " __stringify(feature) "\n" /* feature */ \ 130 #define ALTERNATIVE(oldinstr, altinstr, feature) \ argument 136 ALTINSTR_ENTRY(feature, 1) \ 162 #define alternative(oldinstr, altinstr, feature) \ argument 163 asm_inline volatile(ALTERNATIVE(oldinstr, altinstr, feature) : : : "memory") 170 #define alternative_input(oldinstr, newinstr, feature, input...) \ argument 171 asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, feature) \ 175 #define alternative_io(oldinstr, altinstr, feature, output, input...) \ argument [all …]
|
/linux-6.12.1/drivers/mtd/nand/raw/ |
D | nand_macronix.c | 52 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.12.1/arch/x86/include/asm/ |
D | cpu_device_id.h | 84 .feature = _feature, \ 95 .feature = _feature, \ 114 #define X86_MATCH_VENDOR_FAM_MODEL_FEATURE(vendor, family, model, feature, data) \ argument 116 X86_STEPPING_ANY, feature, data) 131 #define X86_MATCH_VENDOR_FAM_FEATURE(vendor, family, feature, data) \ argument 133 X86_MODEL_ANY, feature, data) 147 #define X86_MATCH_VENDOR_FEATURE(vendor, feature, data) \ argument 148 X86_MATCH_VENDOR_FAM_FEATURE(vendor, X86_FAMILY_ANY, feature, data) 160 #define X86_MATCH_FEATURE(feature, data) \ argument 161 X86_MATCH_VENDOR_FEATURE(ANY, feature, data) [all …]
|
/linux-6.12.1/drivers/iommu/intel/ |
D | cap_audit.h | 67 #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.12.1/tools/testing/selftests/net/ |
D | netdevice.sh | 135 feature="${FEATURE%:*}" 137 ethtool --offload "$netdev" "$feature" off 139 echo "PASS: $netdev: Turned off feature: $feature" 142 "$feature" 145 ethtool --offload "$netdev" "$feature" on 147 echo "PASS: $netdev: Turned on feature: $feature" 150 "$feature" 154 ethtool --offload "$netdev" "$feature" "$VALUE" 156 echo "PASS: $netdev: Restore feature $feature" \ 160 "$feature to initial state $VALUE"
|
/linux-6.12.1/arch/loongarch/include/asm/ |
D | alternative.h | 15 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.12.1/tools/perf/ |
D | builtin-check.c | 79 #define STATUS(feature) \ argument 81 if (feature.is_builtin) \ 82 status_print(feature.name, feature.macro, "on"); \ 84 status_print(feature.name, feature.macro, "OFF"); \ 94 static int has_support(const char *feature) in has_support() argument 97 if ((strcasecmp(feature, supported_features[i].name) == 0) || in has_support() 98 (strcasecmp(feature, supported_features[i].macro) == 0)) { in has_support() 106 …ture '%s', please use 'perf version --build-options' to see which ones are available.\n", feature); in has_support()
|
D | builtin-version.c | 49 #define STATUS(feature) \ argument 51 if (feature.is_builtin) \ 52 status_print(feature.name, feature.macro, "on"); \ 54 status_print(feature.name, feature.macro, "OFF"); \
|
/linux-6.12.1/Documentation/arch/x86/ |
D | cpuinfo.rst | 10 The list of feature flags in /proc/cpuinfo is not complete and 11 represents an ill-fated attempt from long time ago to put feature flags 14 However, the amount of feature flags is growing by the CPU generation, 17 What is more, those feature flags do not even need to be in that file 21 And even if it doesn't show a particular feature flag - although the CPU 24 feature and figure out if it is supported or not, regardless of whether 32 kernel has *enabled* and *supports*. As in: the CPUID feature flag is 38 So, if users want to know if a feature is available on a given system, 42 * the kernel knows about the feature enough to have an X86_FEATURE bit 47 * if the flag represents a hardware feature the hardware supports it. [all …]
|
/linux-6.12.1/Documentation/ABI/testing/ |
D | sysfs-block-device | 34 - 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.12.1/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 …]
|
/linux-6.12.1/Documentation/hid/ |
D | hid-sensor.rst | 70 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.12.1/tools/testing/selftests/bpf/ |
D | xdp_features.c | 34 } feature; member 90 env.feature.action = XDP_PASS; in get_xdp_feature() 91 env.feature.drv_feature = NETDEV_XDP_ACT_BASIC; in get_xdp_feature() 93 env.feature.drv_feature = NETDEV_XDP_ACT_BASIC; in get_xdp_feature() 94 env.feature.action = XDP_DROP; in get_xdp_feature() 96 env.feature.drv_feature = NETDEV_XDP_ACT_BASIC; in get_xdp_feature() 97 env.feature.action = XDP_ABORTED; in get_xdp_feature() 99 env.feature.drv_feature = NETDEV_XDP_ACT_BASIC; in get_xdp_feature() 100 env.feature.action = XDP_TX; in get_xdp_feature() 102 env.feature.drv_feature = NETDEV_XDP_ACT_REDIRECT; in get_xdp_feature() [all …]
|
/linux-6.12.1/arch/s390/kernel/ |
D | cpufeature.c | 31 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()
|
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_kms.c | 218 fw_info->feature = adev->vce.fb_version; in amdgpu_firmware_info() 222 fw_info->feature = 0; in amdgpu_firmware_info() 226 fw_info->feature = 0; in amdgpu_firmware_info() 230 fw_info->feature = 0; in amdgpu_firmware_info() 234 fw_info->feature = adev->gfx.me_feature_version; in amdgpu_firmware_info() 238 fw_info->feature = adev->gfx.pfp_feature_version; in amdgpu_firmware_info() 242 fw_info->feature = adev->gfx.ce_feature_version; in amdgpu_firmware_info() 246 fw_info->feature = adev->gfx.rlc_feature_version; in amdgpu_firmware_info() 250 fw_info->feature = adev->gfx.rlc_srlc_feature_version; in amdgpu_firmware_info() 254 fw_info->feature = adev->gfx.rlc_srlg_feature_version; in amdgpu_firmware_info() [all …]
|
/linux-6.12.1/drivers/gpu/drm/rockchip/ |
D | rockchip_vop2_reg.c | 137 .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 = WIN_FEATURE_AFBDC | WIN_FEATURE_CLUSTER, [all …]
|
/linux-6.12.1/Documentation/features/ |
D | arch-support.txt | 3 arch-support.txt file in each feature directory shows the arch 8 | ok | # feature supported by the architecture 9 |TODO| # feature not yet supported by the architecture 10 | .. | # feature cannot be supported by the hardware 11 | N/A| # feature doesn't apply to the architecture
|