Searched refs:old_active (Results 1 – 4 of 4) sorted by relevance
376 bool old_active; in __gb_lights_led_brightness_set() local384 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() local473 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()
578 struct slave *old_active) in bond_hw_addr_swap() argument580 if (old_active) { in bond_hw_addr_swap()582 dev_set_promiscuity(old_active->dev, -1); in bond_hw_addr_swap()585 dev_set_allmulti(old_active->dev, -1); in bond_hw_addr_swap()587 bond_hw_addr_flush(bond->dev, old_active->dev); in bond_hw_addr_swap()647 struct slave *old_active) in bond_do_fail_over_mac() argument666 if (!old_active) in bond_do_fail_over_mac()667 old_active = bond_get_old_active(bond, new_active); in bond_do_fail_over_mac()669 if (old_active) { in bond_do_fail_over_mac()673 old_active->dev->dev_addr, in bond_do_fail_over_mac()[all …]
809 struct slave *old_active = rtnl_dereference(bond->curr_active_slave); in bond_option_active_slave_set() local814 if (new_active == old_active) { in bond_option_active_slave_set()819 if (old_active && (new_active->link == BOND_LINK_UP) && in bond_option_active_slave_set()
255 unsigned old_active:1; member469 } else if (dum_hcd->active != dum_hcd->old_active && in set_link_state()473 if (dum_hcd->old_active && dum->driver->suspend) in set_link_state()475 else if (!dum_hcd->old_active && dum->driver->resume) in set_link_state()482 dum_hcd->old_active = dum_hcd->active; in set_link_state()