Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/amazon/ena/
H A Dena_xdp.c269 bool was_up; in ena_destroy_and_free_all_xdp_queues() local
272 was_up = test_bit(ENA_FLAG_DEV_UP, &adapter->flags); in ena_destroy_and_free_all_xdp_queues()
274 if (was_up) in ena_destroy_and_free_all_xdp_queues()
280 if (was_up) { in ena_destroy_and_free_all_xdp_queues()
/linux/drivers/net/ethernet/google/gve/
H A Dgve_main.c2267 if (was_up) in gve_reset_and_teardown()
2279 if (was_up) { in gve_reset_recovery()
2304 gve_reset_and_teardown(priv, was_up); in gve_reset()
2307 if (was_up) { in gve_reset()
2311 gve_reset_and_teardown(priv, was_up); in gve_reset()
2318 err = gve_reset_recovery(priv, was_up); in gve_reset()
2637 if (was_up && gve_close(priv->dev)) { in gve_shutdown()
2639 gve_reset_and_teardown(priv, was_up); in gve_shutdown()
2656 if (was_up && gve_close(priv->dev)) { in gve_suspend()
2658 gve_reset_and_teardown(priv, was_up); in gve_suspend()
[all …]
/linux/drivers/net/ethernet/sfc/falcon/
H A Dqt202x_phy.c387 bool was_up = efx->link_state.up; in qt202x_phy_poll() local
397 return efx->link_state.up != was_up; in qt202x_phy_poll()
H A Dtxc43128_phy.c492 bool was_up = efx->link_state.up; in txc43128_phy_poll() local
509 return efx->link_state.up != was_up; in txc43128_phy_poll()
/linux/drivers/net/bonding/
H A Dbond_main.c1503 bool was_up = !!(bond_dev->flags & IFF_UP); in bond_setup_by_slave() local
1521 if (was_up) in bond_setup_by_slave()
/linux/drivers/infiniband/hw/hfi1/
H A Dchip.c7101 int was_up; in handle_link_down() local
7111 was_up = !!(ppd->host_link_state & HLS_UP); in handle_link_down()
7115 if (was_up) { in handle_link_down()
7161 if (was_up && ppd->local_link_down_reason.sma == 0 && in handle_link_down()