Home
last modified time | relevance | path

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

/linux/net/mac80211/
H A Dlink.c275 u16 old_active = sdata->vif.active_links; in ieee80211_vif_update_links() local
358 old_links & old_active, in ieee80211_vif_update_links()
420 u16 old_active = sdata->vif.active_links; in _ieee80211_set_active_links() local
421 unsigned long rem = old_active & ~active_links; in _ieee80211_set_active_links()
422 unsigned long add = active_links & ~old_active; in _ieee80211_set_active_links()
437 if (old_active == active_links) in _ieee80211_set_active_links()
447 old_active, in _ieee80211_set_active_links()
451 sdata->vif.active_links = old_active; in _ieee80211_set_active_links()
515 old_active | active_links); in _ieee80211_set_active_links()
518 old_active, in _ieee80211_set_active_links()
[all …]
/linux/net/ethtool/
H A Dfeatures.c216 DECLARE_BITMAP(old_active, NETDEV_FEATURE_COUNT); in ethnl_set_features()
243 ethnl_features_to_bitmap(old_active, dev->features); in ethnl_set_features()
266 mod = !bitmap_equal(old_active, new_active, NETDEV_FEATURE_COUNT); in ethnl_set_features()
274 bitmap_xor(active_diff_mask, old_active, new_active, in ethnl_set_features()
/linux/drivers/staging/greybus/
H A Dlight.c354 bool old_active; in __gb_lights_led_brightness_set() local
362 old_active = channel->active; in __gb_lights_led_brightness_set()
379 if (!old_active && channel->active) in __gb_lights_led_brightness_set()
386 if (old_active && !channel->active) in __gb_lights_led_brightness_set()
437 bool old_active; in gb_blink_set() local
451 old_active = channel->active; in gb_blink_set()
469 if (!old_active && channel->active) in gb_blink_set()
476 if (old_active && !channel->active) in gb_blink_set()
/linux/drivers/usb/gadget/udc/
H A Ddummy_hcd.c260 unsigned old_active:1; member
480 } else if (dum_hcd->active != dum_hcd->old_active && in set_link_state()
484 if (dum_hcd->old_active && dum->driver->suspend) in set_link_state()
486 else if (!dum_hcd->old_active && dum->driver->resume) in set_link_state()
493 dum_hcd->old_active = dum_hcd->active; in set_link_state()
/linux/drivers/net/bonding/
H A Dbond_options.c979 struct slave *old_active = rtnl_dereference(bond->curr_active_slave); in bond_option_active_slave_set() local
984 if (new_active == old_active) { in bond_option_active_slave_set()
988 if (old_active && (new_active->link == BOND_LINK_UP) && in bond_option_active_slave_set()
/linux/net/core/
H A Dskbuff.c7085 unsigned int old_active) in skb_ext_maybe_cow() argument
7100 if (old_active & (1 << SKB_EXT_SEC_PATH)) { in skb_ext_maybe_cow()
7109 if (old_active & (1 << SKB_EXT_MCTP)) { in skb_ext_maybe_cow()