Home
last modified time | relevance | path

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

/openbmc/linux/net/mac80211/
H A Dlink.c261 old_links & old_active, in ieee80211_vif_update_links()
345 if (old_active == active_links) in _ieee80211_set_active_links()
355 old_active, in _ieee80211_set_active_links()
380 old_active | active_links); in _ieee80211_set_active_links()
383 old_active, in _ieee80211_set_active_links()
384 old_active | active_links); in _ieee80211_set_active_links()
398 old_active | active_links, in _ieee80211_set_active_links()
438 old_active = sdata->vif.active_links; in _ieee80211_set_active_links()
454 u16 old_active; in __ieee80211_set_active_links() local
462 if (old_active & active_links) { in __ieee80211_set_active_links()
[all …]
/openbmc/linux/net/ethtool/
H A Dfeatures.c214 DECLARE_BITMAP(old_active, NETDEV_FEATURE_COUNT); in ethnl_set_features()
240 ethnl_features_to_bitmap(old_active, dev->features); in ethnl_set_features()
263 mod = !bitmap_equal(old_active, new_active, NETDEV_FEATURE_COUNT); in ethnl_set_features()
271 bitmap_xor(active_diff_mask, old_active, new_active, in ethnl_set_features()
/openbmc/linux/drivers/staging/greybus/
H A Dlight.c376 bool old_active; in __gb_lights_led_brightness_set() local
384 old_active = channel->active; in __gb_lights_led_brightness_set()
401 if (!old_active && channel->active) in __gb_lights_led_brightness_set()
408 if (old_active && !channel->active) in __gb_lights_led_brightness_set()
459 bool old_active; in gb_blink_set() local
473 old_active = channel->active; in gb_blink_set()
491 if (!old_active && channel->active) in gb_blink_set()
498 if (old_active && !channel->active) in gb_blink_set()
/openbmc/linux/drivers/net/bonding/
H A Dbond_main.c886 if (old_active) { in bond_hw_addr_swap()
963 struct slave *old_active) in bond_do_fail_over_mac() argument
986 if (!old_active) in bond_do_fail_over_mac()
989 if (old_active) { in bond_do_fail_over_mac()
993 old_active->dev->dev_addr, in bond_do_fail_over_mac()
1010 if (!old_active) in bond_do_fail_over_mac()
1162 struct slave *old_active; in bond_change_active_slave() local
1168 if (old_active == new_active) in bond_change_active_slave()
1204 if (old_active) in bond_change_active_slave()
1215 if (old_active) in bond_change_active_slave()
[all …]
H A Dbond_options.c926 struct slave *old_active = rtnl_dereference(bond->curr_active_slave); in bond_option_active_slave_set() local
931 if (new_active == old_active) { in bond_option_active_slave_set()
935 if (old_active && (new_active->link == BOND_LINK_UP) && in bond_option_active_slave_set()
/openbmc/linux/drivers/usb/gadget/udc/
H A 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()
/openbmc/linux/net/core/
H A Dskbuff.c6651 unsigned int old_active) in skb_ext_maybe_cow() argument
6666 if (old_active & (1 << SKB_EXT_SEC_PATH)) { in skb_ext_maybe_cow()
6675 if (old_active & (1 << SKB_EXT_MCTP)) { in skb_ext_maybe_cow()