Searched refs:feature_bit (Results 1 – 8 of 8) sorted by relevance
| /linux-6.15/arch/x86/kvm/ |
| H A D | cpuid.c | 727 kvm_cpu_cap_features |= feature_bit(name); \ 753 kvm_cpu_cap_emulated |= feature_bit(name); \ 764 kvm_cpu_cap_synthesized |= feature_bit(name); \ 788 kvm_cpu_cap_features |= feature_bit(name); \ 1308 entry->ecx = feature_bit(MOVBE); in cpuid_func_emulated() 1318 entry->ecx |= feature_bit(MWAIT); in cpuid_func_emulated() 1324 entry->ecx = feature_bit(RDPID); in cpuid_func_emulated() 1478 if (entry->eax & (feature_bit(XSAVES) | feature_bit(XSAVEC))) in __do_cpuid_func() 2002 if ((*ebx & (feature_bit(RTM) | feature_bit(HLE))) && in kvm_cpuid() 2005 *ebx &= ~(feature_bit(RTM) | feature_bit(HLE)); in kvm_cpuid() [all …]
|
| H A D | reverse_cpuid.h | 151 #define feature_bit(name) __feature_bit(X86_FEATURE_##name) macro
|
| /linux-6.15/fs/btrfs/ |
| H A D | sysfs.c | 52 u64 feature_bit; member 168 if (set & fa->feature_bit) in can_modify_feature() 170 if (clear & fa->feature_bit) in can_modify_feature() 184 if (features & fa->feature_bit) in btrfs_feature_attr_show() 231 if ((val && !(set & fa->feature_bit)) || in btrfs_feature_attr_store() 232 (!val && !(clear & fa->feature_bit))) { in btrfs_feature_attr_store() 245 features |= fa->feature_bit; in btrfs_feature_attr_store() 247 features &= ~fa->feature_bit; in btrfs_feature_attr_store() 275 else if (!(features & fa->feature_bit)) in btrfs_feature_visible() 1820 bit = ilog2(sfa->feature_bit); in init_feature_attrs() [all …]
|
| /linux-6.15/arch/s390/include/asm/ |
| H A D | uv.h | 558 static inline bool uv_has_feature(u8 feature_bit) in uv_has_feature() argument 560 if (feature_bit >= sizeof(uv_info.uv_feature_indications) * 8) in uv_has_feature() 562 return test_bit_inv(feature_bit, &uv_info.uv_feature_indications); in uv_has_feature()
|
| /linux-6.15/arch/x86/kvm/vmx/ |
| H A D | vmx.c | 2792 if (!(cpuid_ecx(1) & feature_bit(VMX))) { in __kvm_is_vmx_supported() 7781 cr4_fixed1_update(X86_CR4_VME, edx, feature_bit(VME)); in nested_vmx_cr_fixed1_bits_update() 7782 cr4_fixed1_update(X86_CR4_PVI, edx, feature_bit(VME)); in nested_vmx_cr_fixed1_bits_update() 7783 cr4_fixed1_update(X86_CR4_TSD, edx, feature_bit(TSC)); in nested_vmx_cr_fixed1_bits_update() 7784 cr4_fixed1_update(X86_CR4_DE, edx, feature_bit(DE)); in nested_vmx_cr_fixed1_bits_update() 7785 cr4_fixed1_update(X86_CR4_PSE, edx, feature_bit(PSE)); in nested_vmx_cr_fixed1_bits_update() 7786 cr4_fixed1_update(X86_CR4_PAE, edx, feature_bit(PAE)); in nested_vmx_cr_fixed1_bits_update() 7787 cr4_fixed1_update(X86_CR4_MCE, edx, feature_bit(MCE)); in nested_vmx_cr_fixed1_bits_update() 7788 cr4_fixed1_update(X86_CR4_PGE, edx, feature_bit(PGE)); in nested_vmx_cr_fixed1_bits_update() 7790 cr4_fixed1_update(X86_CR4_OSXMMEXCPT, edx, feature_bit(XMM)); in nested_vmx_cr_fixed1_bits_update() [all …]
|
| /linux-6.15/drivers/scsi/smartpqi/ |
| H A D | smartpqi_init.c | 7867 unsigned int feature_bit; member 7896 switch (firmware_feature->feature_bit) { in pqi_ctrl_update_feature_flags() 7947 .feature_bit = PQI_FIRMWARE_FEATURE_OFA, 7952 .feature_bit = PQI_FIRMWARE_FEATURE_SMP, 8007 .feature_bit = PQI_FIRMWARE_FEATURE_RAID_IU_TIMEOUT, 8012 .feature_bit = PQI_FIRMWARE_FEATURE_TMF_IU_TIMEOUT, 8022 .feature_bit = PQI_FIRMWARE_FEATURE_FW_TRIAGE, 8037 .feature_bit = PQI_FIRMWARE_FEATURE_CTRL_LOGGING, 8059 pqi_firmware_features[i].feature_bit)) { in pqi_process_firmware_features() 8075 pqi_firmware_features[i].feature_bit); in pqi_process_firmware_features() [all …]
|
| /linux-6.15/drivers/net/ethernet/intel/iavf/ |
| H A D | iavf_main.c | 5053 #define IAVF_NETDEV_VLAN_FEATURE_ALLOWED(requested, allowed, feature_bit) \ argument 5054 (!(((requested) & (feature_bit)) && \ 5055 !((allowed) & (feature_bit))))
|
| /linux-6.15/net/core/ |
| H A D | dev.c | 10417 int feature_bit; in netdev_sync_upper_features() local 10419 for_each_netdev_feature(upper_disables, feature_bit) { in netdev_sync_upper_features() 10420 feature = __NETIF_F_BIT(feature_bit); in netdev_sync_upper_features() 10437 int feature_bit; in netdev_sync_lower_features() local 10439 for_each_netdev_feature(upper_disables, feature_bit) { in netdev_sync_lower_features() 10440 feature = __NETIF_F_BIT(feature_bit); in netdev_sync_lower_features()
|