Home
last modified time | relevance | path

Searched refs:was_up (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/ethernet/google/gve/
H A Dgve_main.c1184 static void gve_reset_and_teardown(struct gve_priv *priv, bool was_up);
1185 static int gve_reset_recovery(struct gve_priv *priv, bool was_up);
2124 static void gve_reset_and_teardown(struct gve_priv *priv, bool was_up) in gve_reset_and_teardown() argument
2128 if (was_up) in gve_reset_and_teardown()
2133 static int gve_reset_recovery(struct gve_priv *priv, bool was_up) in gve_reset_recovery() argument
2140 if (was_up) { in gve_reset_recovery()
2154 bool was_up = netif_carrier_ok(priv->dev); in gve_reset() local
2165 gve_reset_and_teardown(priv, was_up); in gve_reset()
2168 if (was_up) { in gve_reset()
2172 gve_reset_and_teardown(priv, was_up); in gve_reset()
2358 bool was_up = netif_carrier_ok(priv->dev); gve_shutdown() local
2376 bool was_up = netif_carrier_ok(priv->dev); gve_suspend() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/google/gve/
H A Dgve_main.c756 static void gve_reset_and_teardown(struct gve_priv *priv, bool was_up);
757 static int gve_reset_recovery(struct gve_priv *priv, bool was_up);
1219 static void gve_reset_and_teardown(struct gve_priv *priv, bool was_up) in gve_reset_and_teardown() argument
1223 if (was_up) in gve_reset_and_teardown()
1228 static int gve_reset_recovery(struct gve_priv *priv, bool was_up) in gve_reset_recovery() argument
1235 if (was_up) { in gve_reset_recovery()
1249 bool was_up = netif_carrier_ok(priv->dev); in gve_reset() local
1260 gve_reset_and_teardown(priv, was_up); in gve_reset()
1263 if (was_up) { in gve_reset()
1267 gve_reset_and_teardown(priv, was_up); in gve_reset()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/
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()
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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/amazon/ena/
H A Dena_netdev.c485 bool was_up; in ena_destroy_and_free_all_xdp_queues() local
488 was_up = test_bit(ENA_FLAG_DEV_UP, &adapter->flags); in ena_destroy_and_free_all_xdp_queues()
490 if (was_up) in ena_destroy_and_free_all_xdp_queues()
496 if (was_up) { in ena_destroy_and_free_all_xdp_queues()
/kernel/linux/linux-6.6/drivers/net/ethernet/amazon/ena/
H A Dena_netdev.c556 bool was_up; in ena_destroy_and_free_all_xdp_queues() local
559 was_up = test_bit(ENA_FLAG_DEV_UP, &adapter->flags); in ena_destroy_and_free_all_xdp_queues()
561 if (was_up) in ena_destroy_and_free_all_xdp_queues()
567 if (was_up) { in ena_destroy_and_free_all_xdp_queues()
/kernel/linux/linux-5.10/drivers/net/bonding/
H A Dbond_main.c1437 bool was_up = !!(bond_dev->flags & IFF_UP); in bond_setup_by_slave() local
1455 if (was_up) in bond_setup_by_slave()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A Dchip.c7140 int was_up; in handle_link_down() local
7150 was_up = !!(ppd->host_link_state & HLS_UP); in handle_link_down()
7154 if (was_up) { in handle_link_down()
7200 if (was_up && ppd->local_link_down_reason.sma == 0 && in handle_link_down()
/kernel/linux/linux-6.6/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()

Completed in 68 milliseconds