Searched refs:feature_bit (Results 1 – 7 of 7) sorted by relevance
/linux/arch/x86/include/asm/ |
H A D | cpufeature.h | 74 #define REQUIRED_MASK_BIT_SET(feature_bit) \ argument 75 ( CHECK_BIT_IN_MASK_WORD(REQUIRED_MASK, 0, feature_bit) || \ 76 CHECK_BIT_IN_MASK_WORD(REQUIRED_MASK, 1, feature_bit) || \ 77 CHECK_BIT_IN_MASK_WORD(REQUIRED_MASK, 2, feature_bit) || \ 78 CHECK_BIT_IN_MASK_WORD(REQUIRED_MASK, 3, feature_bit) || \ 79 CHECK_BIT_IN_MASK_WORD(REQUIRED_MASK, 4, feature_bit) || \ 80 CHECK_BIT_IN_MASK_WORD(REQUIRED_MASK, 5, feature_bit) || \ 81 CHECK_BIT_IN_MASK_WORD(REQUIRED_MASK, 6, feature_bit) || \ 82 CHECK_BIT_IN_MASK_WORD(REQUIRED_MASK, 7, feature_bit) || \ 83 CHECK_BIT_IN_MASK_WORD(REQUIRED_MASK, 8, feature_bit) || \ [all …]
|
/linux/fs/btrfs/ |
H A D | sysfs.c | 52 u64 feature_bit; member 89 .feature_bit = _feature_prefix ##_## _feature_bit, \ 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() 227 if ((val && (features & fa->feature_bit)) || in btrfs_feature_attr_store() 228 (!val && !(features & fa->feature_bit))) in btrfs_feature_attr_store() 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() [all …]
|
/linux/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/drivers/scsi/smartpqi/ |
H A D | smartpqi_init.c | 7866 unsigned int feature_bit; member 7895 switch (firmware_feature->feature_bit) { in pqi_ctrl_update_feature_flags() 7946 .feature_bit = PQI_FIRMWARE_FEATURE_OFA, 7951 .feature_bit = PQI_FIRMWARE_FEATURE_SMP, 7956 .feature_bit = PQI_FIRMWARE_FEATURE_MAX_KNOWN_FEATURE, 7961 .feature_bit = PQI_FIRMWARE_FEATURE_RAID_0_READ_BYPASS, 7966 .feature_bit = PQI_FIRMWARE_FEATURE_RAID_1_READ_BYPASS, 7971 .feature_bit = PQI_FIRMWARE_FEATURE_RAID_5_READ_BYPASS, 7976 .feature_bit = PQI_FIRMWARE_FEATURE_RAID_6_READ_BYPASS, 7981 .feature_bit = PQI_FIRMWARE_FEATURE_RAID_0_WRITE_BYPASS, [all …]
|
/linux/arch/x86/kvm/ |
H A D | cpuid.c | 61 int feature_bit = 0; in xstate_required_size() local 67 struct cpuid_xstate_sizes *xs = &xstate_sizes[feature_bit]; in xstate_required_size() 79 feature_bit++; in xstate_required_size() 85 #define F feature_bit
|
/linux/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_main.c | 4821 #define IAVF_NETDEV_VLAN_FEATURE_ALLOWED(requested, allowed, feature_bit) \ argument 4822 (!(((requested) & (feature_bit)) && \ 4823 !((allowed) & (feature_bit))))
|
/linux/net/core/ |
H A D | dev.c | 10020 int feature_bit; in netdev_sync_upper_features() local 10022 for_each_netdev_feature(upper_disables, feature_bit) { in netdev_sync_upper_features() 10023 feature = __NETIF_F_BIT(feature_bit); in netdev_sync_upper_features() 10040 int feature_bit; in netdev_sync_lower_features() local 10042 for_each_netdev_feature(upper_disables, feature_bit) { in netdev_sync_lower_features() 10043 feature = __NETIF_F_BIT(feature_bit); in netdev_sync_lower_features()
|