• Home
  • Raw
  • Download

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()
139 bitmap_zero(dest, NETDEV_FEATURE_COUNT); in ethnl_features_to_bitmap()
147 const unsigned int words = BITS_TO_LONGS(NETDEV_FEATURE_COUNT); in ethnl_bitmap_to_features()
153 ret &= ~(netdev_features_t)0 >> (nft_bits - NETDEV_FEATURE_COUNT); in ethnl_bitmap_to_features()
169 ret = ethnl_bitset_size(wanted, wanted_mask, NETDEV_FEATURE_COUNT, in features_send_reply()
174 ret = ethnl_bitset_size(active, active_mask, NETDEV_FEATURE_COUNT, in features_send_reply()
188 wanted_mask, NETDEV_FEATURE_COUNT, in features_send_reply()
193 active_mask, NETDEV_FEATURE_COUNT, in features_send_reply()
213 DECLARE_BITMAP(wanted_diff_mask, NETDEV_FEATURE_COUNT); in ethnl_set_features()
214 DECLARE_BITMAP(active_diff_mask, NETDEV_FEATURE_COUNT); in ethnl_set_features()
215 DECLARE_BITMAP(old_active, NETDEV_FEATURE_COUNT); in ethnl_set_features()
216 DECLARE_BITMAP(old_wanted, NETDEV_FEATURE_COUNT); in ethnl_set_features()
217 DECLARE_BITMAP(new_active, NETDEV_FEATURE_COUNT); in ethnl_set_features()
218 DECLARE_BITMAP(new_wanted, NETDEV_FEATURE_COUNT); in ethnl_set_features()
219 DECLARE_BITMAP(req_wanted, NETDEV_FEATURE_COUNT); in ethnl_set_features()
220 DECLARE_BITMAP(req_mask, NETDEV_FEATURE_COUNT); in ethnl_set_features()
240 ret = ethnl_parse_bitset(req_wanted, req_mask, NETDEV_FEATURE_COUNT, in ethnl_set_features()
252 bitmap_and(req_wanted, req_wanted, req_mask, NETDEV_FEATURE_COUNT); in ethnl_set_features()
253 bitmap_andnot(new_wanted, old_wanted, req_mask, NETDEV_FEATURE_COUNT); in ethnl_set_features()
254 bitmap_or(req_wanted, new_wanted, req_wanted, NETDEV_FEATURE_COUNT); in ethnl_set_features()
255 if (!bitmap_equal(req_wanted, old_wanted, NETDEV_FEATURE_COUNT)) { in ethnl_set_features()
261 mod = !bitmap_equal(old_active, new_active, NETDEV_FEATURE_COUNT); in ethnl_set_features()
268 NETDEV_FEATURE_COUNT); in ethnl_set_features()
270 NETDEV_FEATURE_COUNT); in ethnl_set_features()
272 NETDEV_FEATURE_COUNT); in ethnl_set_features()
274 NETDEV_FEATURE_COUNT); in ethnl_set_features()
276 NETDEV_FEATURE_COUNT); in ethnl_set_features()