Home
last modified time | relevance | path

Searched refs:old_active (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/net/mac80211/ !
Dlink.c167 u16 old_active = sdata->vif.active_links; in ieee80211_vif_update_links() local
244 old_links & old_active, in ieee80211_vif_update_links()
310 u16 old_active = sdata->vif.active_links; in _ieee80211_set_active_links() local
311 unsigned long rem = old_active & ~active_links; in _ieee80211_set_active_links()
312 unsigned long add = active_links & ~old_active; in _ieee80211_set_active_links()
328 if (old_active == active_links) in _ieee80211_set_active_links()
338 old_active, in _ieee80211_set_active_links()
342 sdata->vif.active_links = old_active; in _ieee80211_set_active_links()
361 old_active, in _ieee80211_set_active_links()
362 old_active | active_links); in _ieee80211_set_active_links()
[all …]
/linux-6.1.9/net/ethtool/ !
Dfeatures.c214 DECLARE_BITMAP(old_active, NETDEV_FEATURE_COUNT); in ethnl_set_features()
237 ethnl_features_to_bitmap(old_active, dev->features); in ethnl_set_features()
260 mod = !bitmap_equal(old_active, new_active, NETDEV_FEATURE_COUNT); in ethnl_set_features()
268 bitmap_xor(active_diff_mask, old_active, new_active, in ethnl_set_features()
/linux-6.1.9/drivers/staging/greybus/ !
Dlight.c373 bool old_active; in __gb_lights_led_brightness_set() local
381 old_active = channel->active; in __gb_lights_led_brightness_set()
398 if (!old_active && channel->active) in __gb_lights_led_brightness_set()
405 if (old_active && !channel->active) in __gb_lights_led_brightness_set()
456 bool old_active; in gb_blink_set() local
470 old_active = channel->active; in gb_blink_set()
488 if (!old_active && channel->active) in gb_blink_set()
495 if (old_active && !channel->active) in gb_blink_set()
/linux-6.1.9/drivers/net/bonding/ !
Dbond_main.c880 struct slave *old_active) in bond_hw_addr_swap() argument
882 if (old_active) { in bond_hw_addr_swap()
884 dev_set_promiscuity(old_active->dev, -1); in bond_hw_addr_swap()
887 dev_set_allmulti(old_active->dev, -1); in bond_hw_addr_swap()
890 bond_hw_addr_flush(bond->dev, old_active->dev); in bond_hw_addr_swap()
959 struct slave *old_active) in bond_do_fail_over_mac() argument
982 if (!old_active) in bond_do_fail_over_mac()
983 old_active = bond_get_old_active(bond, new_active); in bond_do_fail_over_mac()
985 if (old_active) { in bond_do_fail_over_mac()
989 old_active->dev->dev_addr, in bond_do_fail_over_mac()
[all …]
Dbond_options.c932 struct slave *old_active = rtnl_dereference(bond->curr_active_slave); in bond_option_active_slave_set() local
937 if (new_active == old_active) { in bond_option_active_slave_set()
941 if (old_active && (new_active->link == BOND_LINK_UP) && in bond_option_active_slave_set()
/linux-6.1.9/drivers/usb/gadget/udc/ !
Ddummy_hcd.c256 unsigned old_active:1; member
471 } else if (dum_hcd->active != dum_hcd->old_active && in set_link_state()
475 if (dum_hcd->old_active && dum->driver->suspend) in set_link_state()
477 else if (!dum_hcd->old_active && dum->driver->resume) in set_link_state()
484 dum_hcd->old_active = dum_hcd->active; in set_link_state()
/linux-6.1.9/net/core/ !
Dskbuff.c6461 unsigned int old_active) in skb_ext_maybe_cow() argument
6476 if (old_active & (1 << SKB_EXT_SEC_PATH)) { in skb_ext_maybe_cow()