Lines Matching refs:NETDEV_FEATURE_COUNT

48 	all_features = GENMASK_ULL(NETDEV_FEATURE_COUNT - 1, 0);  in features_prepare_data()
62 ret = ethnl_bitset32_size(data->hw, data->all, NETDEV_FEATURE_COUNT, in features_reply_size()
67 ret = ethnl_bitset32_size(data->wanted, NULL, NETDEV_FEATURE_COUNT, in features_reply_size()
72 ret = ethnl_bitset32_size(data->active, NULL, NETDEV_FEATURE_COUNT, in features_reply_size()
77 ret = ethnl_bitset32_size(data->nochange, NULL, NETDEV_FEATURE_COUNT, in features_reply_size()
95 data->all, NETDEV_FEATURE_COUNT, in features_fill_reply()
100 NULL, NETDEV_FEATURE_COUNT, in features_fill_reply()
105 NULL, NETDEV_FEATURE_COUNT, in features_fill_reply()
110 data->nochange, NULL, NETDEV_FEATURE_COUNT, in features_fill_reply()
136 const unsigned int words = BITS_TO_LONGS(NETDEV_FEATURE_COUNT); in ethnl_features_to_bitmap()
146 const unsigned int words = BITS_TO_LONGS(NETDEV_FEATURE_COUNT); in ethnl_bitmap_to_features()
152 ret &= ~(netdev_features_t)0 >> (nft_bits - NETDEV_FEATURE_COUNT); in ethnl_bitmap_to_features()
168 ret = ethnl_bitset_size(wanted, wanted_mask, NETDEV_FEATURE_COUNT, in features_send_reply()
173 ret = ethnl_bitset_size(active, active_mask, NETDEV_FEATURE_COUNT, in features_send_reply()
187 wanted_mask, NETDEV_FEATURE_COUNT, in features_send_reply()
192 active_mask, NETDEV_FEATURE_COUNT, in features_send_reply()
212 DECLARE_BITMAP(wanted_diff_mask, NETDEV_FEATURE_COUNT); in ethnl_set_features()
213 DECLARE_BITMAP(active_diff_mask, NETDEV_FEATURE_COUNT); in ethnl_set_features()
214 DECLARE_BITMAP(old_active, NETDEV_FEATURE_COUNT); in ethnl_set_features()
215 DECLARE_BITMAP(old_wanted, NETDEV_FEATURE_COUNT); in ethnl_set_features()
216 DECLARE_BITMAP(new_active, NETDEV_FEATURE_COUNT); in ethnl_set_features()
217 DECLARE_BITMAP(new_wanted, NETDEV_FEATURE_COUNT); in ethnl_set_features()
218 DECLARE_BITMAP(req_wanted, NETDEV_FEATURE_COUNT); in ethnl_set_features()
219 DECLARE_BITMAP(req_mask, NETDEV_FEATURE_COUNT); in ethnl_set_features()
239 ret = ethnl_parse_bitset(req_wanted, req_mask, NETDEV_FEATURE_COUNT, in ethnl_set_features()
251 bitmap_and(req_wanted, req_wanted, req_mask, NETDEV_FEATURE_COUNT); in ethnl_set_features()
252 bitmap_andnot(new_wanted, old_wanted, req_mask, NETDEV_FEATURE_COUNT); in ethnl_set_features()
253 bitmap_or(req_wanted, new_wanted, req_wanted, NETDEV_FEATURE_COUNT); in ethnl_set_features()
254 if (!bitmap_equal(req_wanted, old_wanted, NETDEV_FEATURE_COUNT)) { in ethnl_set_features()
260 mod = !bitmap_equal(old_active, new_active, NETDEV_FEATURE_COUNT); in ethnl_set_features()
267 NETDEV_FEATURE_COUNT); in ethnl_set_features()
269 NETDEV_FEATURE_COUNT); in ethnl_set_features()
271 NETDEV_FEATURE_COUNT); in ethnl_set_features()
273 NETDEV_FEATURE_COUNT); in ethnl_set_features()
275 NETDEV_FEATURE_COUNT); in ethnl_set_features()