Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/staging/greybus/
Dlight.c374 bool old_active; in __gb_lights_led_brightness_set() local
382 old_active = channel->active; in __gb_lights_led_brightness_set()
399 if (!old_active && channel->active) in __gb_lights_led_brightness_set()
406 if (old_active && !channel->active) in __gb_lights_led_brightness_set()
457 bool old_active; in gb_blink_set() local
471 old_active = channel->active; in gb_blink_set()
489 if (!old_active && channel->active) in gb_blink_set()
496 if (old_active && !channel->active) in gb_blink_set()
/Linux-v5.4/drivers/net/bonding/
Dbond_main.c577 struct slave *old_active) in bond_hw_addr_swap() argument
579 if (old_active) { in bond_hw_addr_swap()
581 dev_set_promiscuity(old_active->dev, -1); in bond_hw_addr_swap()
584 dev_set_allmulti(old_active->dev, -1); in bond_hw_addr_swap()
586 bond_hw_addr_flush(bond->dev, old_active->dev); in bond_hw_addr_swap()
653 struct slave *old_active) in bond_do_fail_over_mac() argument
676 if (!old_active) in bond_do_fail_over_mac()
677 old_active = bond_get_old_active(bond, new_active); in bond_do_fail_over_mac()
679 if (old_active) { in bond_do_fail_over_mac()
683 old_active->dev->dev_addr, in bond_do_fail_over_mac()
[all …]
Dbond_options.c812 struct slave *old_active = rtnl_dereference(bond->curr_active_slave); in bond_option_active_slave_set() local
817 if (new_active == old_active) { in bond_option_active_slave_set()
821 if (old_active && (new_active->link == BOND_LINK_UP) && in bond_option_active_slave_set()
/Linux-v5.4/drivers/usb/gadget/udc/
Ddummy_hcd.c256 unsigned old_active:1; member
470 } else if (dum_hcd->active != dum_hcd->old_active && in set_link_state()
474 if (dum_hcd->old_active && dum->driver->suspend) in set_link_state()
476 else if (!dum_hcd->old_active && dum->driver->resume) in set_link_state()
483 dum_hcd->old_active = dum_hcd->active; in set_link_state()
/Linux-v5.4/net/core/
Dskbuff.c5990 unsigned int old_active) in skb_ext_maybe_cow() argument
6005 if (old_active & (1 << SKB_EXT_SEC_PATH)) { in skb_ext_maybe_cow()