Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/google/gve/
Dgve_main.c923 static void gve_reset_and_teardown(struct gve_priv *priv, bool was_up);
924 static int gve_reset_recovery(struct gve_priv *priv, bool was_up);
1449 static void gve_reset_and_teardown(struct gve_priv *priv, bool was_up) in gve_reset_and_teardown() argument
1453 if (was_up) in gve_reset_and_teardown()
1458 static int gve_reset_recovery(struct gve_priv *priv, bool was_up) in gve_reset_recovery() argument
1465 if (was_up) { in gve_reset_recovery()
1479 bool was_up = netif_carrier_ok(priv->dev); in gve_reset() local
1490 gve_reset_and_teardown(priv, was_up); in gve_reset()
1493 if (was_up) { in gve_reset()
1497 gve_reset_and_teardown(priv, was_up); in gve_reset()
[all …]
/linux-6.1.9/drivers/net/ethernet/sfc/falcon/
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()
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-6.1.9/drivers/net/ethernet/amazon/ena/
Dena_netdev.c555 bool was_up; in ena_destroy_and_free_all_xdp_queues() local
558 was_up = test_bit(ENA_FLAG_DEV_UP, &adapter->flags); in ena_destroy_and_free_all_xdp_queues()
560 if (was_up) in ena_destroy_and_free_all_xdp_queues()
566 if (was_up) { in ena_destroy_and_free_all_xdp_queues()
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dchip.c7099 int was_up; in handle_link_down() local
7109 was_up = !!(ppd->host_link_state & HLS_UP); in handle_link_down()
7113 if (was_up) { in handle_link_down()
7159 if (was_up && ppd->local_link_down_reason.sma == 0 && in handle_link_down()