Home
last modified time | relevance | path

Searched refs:carrier_ok (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_selftest.c171 int i, carrier_ok; in mlx4_en_ex_selftest() local
177 carrier_ok = netif_carrier_ok(dev); in mlx4_en_ex_selftest()
192 if (carrier_ok) in mlx4_en_ex_selftest()
/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dcmsg.c75 int nfp_flower_cmsg_portmod(struct nfp_repr *repr, bool carrier_ok, in nfp_flower_cmsg_portmod() argument
89 msg->info = carrier_ok; in nfp_flower_cmsg_portmod()
H A Dcmsg.h743 int nfp_flower_cmsg_portmod(struct nfp_repr *repr, bool carrier_ok,
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dreporter_tx.c199 int carrier_ok; in mlx5e_tx_reporter_ptpsq_unhealthy_recover() local
223 carrier_ok = netif_carrier_ok(netdev); in mlx5e_tx_reporter_ptpsq_unhealthy_recover()
234 if (carrier_ok) in mlx5e_tx_reporter_ptpsq_unhealthy_recover()
/linux/drivers/s390/net/
H A Dqeth_l3_main.c1973 static int qeth_l3_set_online(struct qeth_card *card, bool carrier_ok) in qeth_l3_set_online() argument
2005 if (carrier_ok) in qeth_l3_set_online()
2016 if (carrier_ok) in qeth_l3_set_online()
H A Dqeth_l2_main.c2337 static int qeth_l2_set_online(struct qeth_card *card, bool carrier_ok) in qeth_l2_set_online() argument
2372 if (carrier_ok) in qeth_l2_set_online()
2383 if (carrier_ok) in qeth_l2_set_online()
H A Dqeth_core.h770 int (*set_online)(struct qeth_card *card, bool carrier_ok);
H A Dqeth_core_main.c5194 static int qeth_hardsetup_card(struct qeth_card *card, bool *carrier_ok) in qeth_hardsetup_card() argument
5274 *carrier_ok = false; in qeth_hardsetup_card()
5279 *carrier_ok = true; in qeth_hardsetup_card()
5341 bool carrier_ok; in qeth_set_online() local
5347 rc = qeth_hardsetup_card(card, &carrier_ok); in qeth_set_online()
5360 rc = disc->set_online(card, carrier_ok); in qeth_set_online()
/linux/drivers/net/ethernet/cisco/enic/
H A Denic_main.c413 int carrier_ok = netif_carrier_ok(enic->netdev); in enic_link_check() local
415 if (link_status && !carrier_ok) { in enic_link_check()
419 } else if (!link_status && carrier_ok) { in enic_link_check()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_main.c3369 int carrier_ok; in mlx5e_switch_priv_channels() local
3372 carrier_ok = netif_carrier_ok(netdev); in mlx5e_switch_priv_channels()
3400 if (carrier_ok) in mlx5e_switch_priv_channels()