/linux/drivers/mtd/nand/raw/ |
A D | nand_macronix.c | 48 feature[0] = mode; in macronix_nand_setup_read_retry() 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() 67 feature); in macronix_nand_randomizer_check_enable() 72 feature[0] = 0x0; in macronix_nand_randomizer_check_enable() 78 feature); in macronix_nand_randomizer_check_enable() 84 feature); in macronix_nand_randomizer_check_enable() 196 feature); in mxic_nand_lock() 212 feature); in mxic_nand_unlock() [all …]
|
/linux/arch/x86/kernel/cpu/ |
A D | cpuid-deps.c | 8 unsigned int feature; member 92 clear_cpu_cap(&boot_cpu_data, feature); in clear_feature() 108 if (WARN_ON(feature >= MAX_FEATURE_BITS)) in do_clear_cpu_cap() 111 clear_feature(c, feature); in do_clear_cpu_cap() 115 __set_bit(feature, disable); in do_clear_cpu_cap() 120 for (d = cpuid_deps; d->feature; d++) { in do_clear_cpu_cap() 123 if (__test_and_set_bit(d->feature, disable)) in do_clear_cpu_cap() 127 clear_feature(c, d->feature); in do_clear_cpu_cap() 134 do_clear_cpu_cap(c, feature); in clear_cpu_cap() 137 void setup_clear_cpu_cap(unsigned int feature) in setup_clear_cpu_cap() argument [all …]
|
/linux/arch/powerpc/include/asm/ |
A 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 …]
|
A D | mmu.h | 233 if (MMU_FTRS_ALWAYS & feature) in early_mmu_has_feature() 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() 267 if (!(MMU_FTRS_POSSIBLE & feature)) in mmu_has_feature() 270 i = __builtin_ctzl(feature); in mmu_has_feature() 274 static inline void mmu_clear_feature(unsigned long feature) in mmu_clear_feature() argument 278 i = __builtin_ctzl(feature); in mmu_clear_feature() 279 cur_cpu_spec->mmu_features &= ~feature; in mmu_clear_feature() 291 return early_mmu_has_feature(feature); in mmu_has_feature() [all …]
|
A 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/drivers/fpga/ |
A 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 315 struct dfl_feature *feature) in fme_thermal_mgmt_init() argument 338 "dfl_fme_thermal", feature, in fme_thermal_mgmt_init() 384 v = readq(feature->ioaddr + FME_PWR_STATUS); in power_hwmon_read() 516 v = readq(feature->ioaddr + FME_PWR_STATUS); in power1_ltr_show() 536 struct dfl_feature *feature) in fme_power_mgmt_init() argument 541 "dfl_fme_power", feature, in fme_power_mgmt_init() 623 struct dfl_feature *feature; in fme_release() local 632 dfl_fpga_set_irq_triggers(feature, 0, in fme_release() [all …]
|
A D | dfl.c | 431 if (feature->ddev) { in dfl_devs_remove() 445 if (feature->ioaddr) in dfl_devs_add() 448 if (feature->ddev) { in dfl_devs_add() 459 feature->ddev = ddev; in dfl_devs_add() 487 #define is_header_feature(feature) ((feature)->id == FEATURE_ID_FIU_HEADER) argument 501 if (feature->ops) { in dfl_fpga_dev_feature_uinit() 503 feature->ops->uinit(pdev, feature); in dfl_fpga_dev_feature_uinit() 524 feature->id); in dfl_feature_instance_init() 579 feature, drv); in dfl_fpga_dev_feature_init() 797 feature->dev = fdev; in build_info_commit_dev() [all …]
|
A D | dfl.h | 340 struct dfl_feature *feature); 368 for ((feature) = (pdata)->features; \ 369 (feature) < (pdata)->features + (pdata)->num; (feature)++) 375 struct dfl_feature *feature; in dfl_get_feature_by_id() local 377 dfl_fpga_dev_for_each_feature(pdata, feature) in dfl_get_feature_by_id() 378 if (feature->id == id) in dfl_get_feature_by_id() 379 return feature; in dfl_get_feature_by_id() 389 if (feature && feature->ioaddr) in dfl_get_feature_ioaddr_by_id() 390 return feature->ioaddr; in dfl_get_feature_ioaddr_by_id() 515 struct dfl_feature *feature, [all …]
|
/linux/arch/x86/include/asm/ |
A D | alternative.h | 148 #define ALTINSTR_ENTRY(feature, num) \ argument 151 " .word " __stringify(feature) "\n" /* feature bit */ \ 160 #define ALTERNATIVE(oldinstr, newinstr, feature) \ argument 163 ALTINSTR_ENTRY(feature, 1) \ 183 newinstr_yes, feature) 210 #define alternative(oldinstr, newinstr, feature) \ argument 313 .macro altinstruction_entry orig alt feature orig_len alt_len 316 .word \feature 327 .macro ALTERNATIVE oldinstr, newinstr, feature 335 altinstruction_entry 140b,143f,\feature,142b-140b,144f-143f [all …]
|
A 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) 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/drivers/gpu/drm/amd/pm/swsmu/ |
A D | smu_cmn.c | 472 mutex_lock(&feature->mutex); in smu_cmn_feature_is_supported() 498 mutex_lock(&feature->mutex); in smu_cmn_feature_is_enabled() 543 if (bitmap_empty(feature->enabled, feature->feature_num)) { in smu_cmn_get_enabled_mask() 556 feature->feature_num); in smu_cmn_get_enabled_mask() 574 if (bitmap_empty(feature->enabled, feature->feature_num)) { in smu_cmn_get_enabled_32_bits_mask() 592 feature->feature_num); in smu_cmn_get_enabled_32_bits_mask() 647 mutex_lock(&feature->mutex); in smu_cmn_feature_update_enable_state() 649 bitmap_or(feature->enabled, feature->enabled, in smu_cmn_feature_update_enable_state() 652 bitmap_andnot(feature->enabled, feature->enabled, in smu_cmn_feature_update_enable_state() 688 if (feature < 0 || feature >= SMU_FEATURE_COUNT) in smu_get_feature_name() [all …]
|
/linux/arch/arm64/include/asm/ |
A D | alternative-macros.h | 14 #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/Documentation/x86/ |
A D | cpuinfo.rst | 12 or KVM want to expose the feature to a KVM guest, it can and should have 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 32 How are feature flags created? 40 If a feature is defined with a X86_FEATURE_<name> definition in 66 the feature X86_FEATURE_SPLIT_LOCK_DETECT will be enabled and 74 Isolation is purely software feature and its feature flag X86_FEATURE_PTI is 132 d: The feature is disabled at boot-time. 136 to disable features using the feature number as defined in 147 e: The feature was known to be non-functional. [all …]
|
/linux/drivers/iommu/intel/ |
A 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/tools/perf/ |
A D | Makefile.config | 369 ifeq ($(feature-eventfd), 1) 377 ifeq ($(feature-gettid), 1) 451 ifeq ($(feature-glibc), 1) 455 ifeq ($(feature-libaio), 1) 469 ifeq ($(feature-setns), 1) 535 ifeq ($(feature-bpf), 1) 566 ifneq ($(feature-sdt), 1) 630 ifneq ($(feature-bpf), 1) 890 ifeq ($(feature-zlib), 1) 900 ifeq ($(feature-lzma), 1) [all …]
|
/linux/Documentation/devicetree/bindings/powerpc/ |
A D | ibm,powerpc-cpu-features.txt | 24 Description: Container of CPU feature nodes. 66 /cpus/ibm,powerpc-cpu-features/example-feature node bindings 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. 123 this feature. 142 for this feature. 155 hypervisor must set in order to enable this feature. 158 This makes CPU feature parsing slightly simpler. [all …]
|
/linux/Documentation/hid/ |
A D | hid-sensor.rst | 177 │ │ ├── feature-0-200316 180 │ │ │ ├── feature-0-200316-name 181 │ │ │ ├── feature-0-200316-size 185 │ │ ├── feature-1-200201 188 │ │ │ ├── feature-1-200201-name 217 feature-0-200316-maximum:6 218 feature-0-200316-minimum:0 220 feature-0-200316-size:1 221 feature-0-200316-unit-expo:0 222 feature-0-200316-units:25 [all …]
|
/linux/Documentation/ABI/testing/ |
A D | sysfs-block-device | 34 - If the device does not support the unload heads feature, 41 ATA standard, but support the unload feature nonetheless. 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. 96 support for the SATA NCQ priority feature, regardless of the [all …]
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_kms.c | 294 fw_info->feature = 0; in amdgpu_firmware_info() 298 fw_info->feature = 0; in amdgpu_firmware_info() 302 fw_info->feature = 0; in amdgpu_firmware_info() 344 fw_info->feature = 0; in amdgpu_firmware_info() 375 fw_info->feature = in amdgpu_firmware_info() 399 fw_info->feature = 0; in amdgpu_firmware_info() 403 fw_info->feature = 0; in amdgpu_firmware_info() 1453 fw_info.feature, fw_info.ver); in amdgpu_debugfs_firmware_info_show() 1461 fw_info.feature, fw_info.ver); in amdgpu_debugfs_firmware_info_show() 1469 fw_info.feature, fw_info.ver); in amdgpu_debugfs_firmware_info_show() [all …]
|
/linux/tools/objtool/ |
A D | special.c | 25 unsigned char feature; /* ALTERNATIVE macro CPU feature */ member 38 .feature = ALT_FEATURE_OFFSET, 57 void __weak arch_handle_alternative(unsigned short feature, struct special_alt *alt) in arch_handle_alternative() argument 87 if (entry->feature) { in get_alt_entry() 88 unsigned short feature; in get_alt_entry() local 90 feature = bswap_if_needed(*(unsigned short *)(sec->data->d_buf + in get_alt_entry() 92 entry->feature)); in get_alt_entry() 93 arch_handle_alternative(feature, alt); in get_alt_entry()
|
/linux/fs/overlayfs/ |
A 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" 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" 83 Note, that the NFS export feature is not backward compatible. 85 that doesn't support this feature will have unexpected results. 111 bool "Overlayfs: turn on metadata only copy up feature by default" 122 Note, that this feature is not backward compatible. That is, [all …]
|
/linux/tools/bpf/bpftool/ |
A D | Makefile | 124 ifeq ($(feature-reallocarray), 0) 130 ifeq ($(feature-libcap), 1) 143 ifeq ($(feature-libbfd),1) 145 else ifeq ($(feature-libbfd-liberty),1) 147 else ifeq ($(feature-libbfd-liberty-z),1) 174 ifeq ($(feature-clang-bpf-co-re),1) 210 $(OUTPUT)feature.o: 211 ifneq ($(feature-zlib), 1) 230 feature-detect-clean: 231 $(call QUIET_CLEAN, feature-detect) [all …]
|
/linux/tools/build/ |
A 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 155 ifeq ($(feature-all), 1) 178 ifeq ($(feature-$(1)), 1) 194 feature_assign = feature-$(1)=$(feature-$(1)) 230 ifneq ($(feature-$(1)), 1)
|
/linux/Documentation/features/ |
A 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
|
/linux/arch/arm64/kvm/ |
A D | hypercalls.c | 16 u32 feature; in kvm_ptp_get_time() local 37 feature = smccc_get_arg1(vcpu); in kvm_ptp_get_time() 38 switch (feature) { in kvm_ptp_get_time() 65 u32 feature; in kvm_hvc_call_handler() local 73 feature = smccc_get_arg1(vcpu); in kvm_hvc_call_handler() 74 switch (feature) { in kvm_hvc_call_handler()
|