Searched refs:ETHTOOL_DEV_FEATURE_WORDS (Results 1 – 3 of 3) sorted by relevance
13 u32 hw[ETHTOOL_DEV_FEATURE_WORDS];14 u32 wanted[ETHTOOL_DEV_FEATURE_WORDS];15 u32 active[ETHTOOL_DEV_FEATURE_WORDS];16 u32 nochange[ETHTOOL_DEV_FEATURE_WORDS];17 u32 all[ETHTOOL_DEV_FEATURE_WORDS];32 for (i = 0; i < ETHTOOL_DEV_FEATURE_WORDS; i++) in ethnl_features_to_bitmap32()
9 #define ETHTOOL_DEV_FEATURE_WORDS DIV_ROUND_UP(NETDEV_FEATURE_COUNT, 32) macro
63 .size = ETHTOOL_DEV_FEATURE_WORDS, in ethtool_get_features()65 struct ethtool_get_features_block features[ETHTOOL_DEV_FEATURE_WORDS]; in ethtool_get_features()71 BUILD_BUG_ON(ETHTOOL_DEV_FEATURE_WORDS * sizeof(u32) > sizeof(netdev_features_t)); in ethtool_get_features()73 for (i = 0; i < ETHTOOL_DEV_FEATURE_WORDS; ++i) { in ethtool_get_features()85 if (copy_size > ETHTOOL_DEV_FEATURE_WORDS) in ethtool_get_features()86 copy_size = ETHTOOL_DEV_FEATURE_WORDS; in ethtool_get_features()100 struct ethtool_set_features_block features[ETHTOOL_DEV_FEATURE_WORDS]; in ethtool_set_features()108 if (cmd.size != ETHTOOL_DEV_FEATURE_WORDS) in ethtool_set_features()114 for (i = 0; i < ETHTOOL_DEV_FEATURE_WORDS; ++i) { in ethtool_set_features()