Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx4/
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()
/drivers/net/ethernet/netronome/nfp/flower/
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()
Dcmsg.h743 int nfp_flower_cmsg_portmod(struct nfp_repr *repr, bool carrier_ok,
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dreporter_tx.c175 int carrier_ok; in mlx5e_tx_reporter_ptpsq_unhealthy_recover() local
187 carrier_ok = netif_carrier_ok(netdev); in mlx5e_tx_reporter_ptpsq_unhealthy_recover()
198 if (carrier_ok) in mlx5e_tx_reporter_ptpsq_unhealthy_recover()
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ethtool.c1428 mlxsw_sp1_from_ptys_link_mode(struct mlxsw_sp *mlxsw_sp, bool carrier_ok, in mlxsw_sp1_from_ptys_link_mode() argument
1439 if (!carrier_ok) in mlxsw_sp1_from_ptys_link_mode()
1894 mlxsw_sp2_from_ptys_link_mode(struct mlxsw_sp *mlxsw_sp, bool carrier_ok, in mlxsw_sp2_from_ptys_link_mode() argument
1905 if (!carrier_ok) in mlxsw_sp2_from_ptys_link_mode()
Dspectrum.h379 bool carrier_ok, u32 ptys_eth_proto,
/drivers/s390/net/
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()
Dqeth_l2_main.c2336 static int qeth_l2_set_online(struct qeth_card *card, bool carrier_ok) in qeth_l2_set_online() argument
2371 if (carrier_ok) in qeth_l2_set_online()
2382 if (carrier_ok) in qeth_l2_set_online()
Dqeth_core.h770 int (*set_online)(struct qeth_card *card, bool carrier_ok);
Dqeth_core_main.c5195 static int qeth_hardsetup_card(struct qeth_card *card, bool *carrier_ok) in qeth_hardsetup_card() argument
5275 *carrier_ok = false; in qeth_hardsetup_card()
5280 *carrier_ok = true; in qeth_hardsetup_card()
5342 bool carrier_ok; in qeth_set_online() local
5348 rc = qeth_hardsetup_card(card, &carrier_ok); in qeth_set_online()
5361 rc = disc->set_online(card, carrier_ok); in qeth_set_online()
/drivers/net/ethernet/cisco/enic/
Denic_main.c427 int carrier_ok = netif_carrier_ok(enic->netdev); in enic_link_check() local
429 if (link_status && !carrier_ok) { in enic_link_check()
432 } else if (!link_status && carrier_ok) { in enic_link_check()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c3016 int carrier_ok; in mlx5e_switch_priv_channels() local
3019 carrier_ok = netif_carrier_ok(netdev); in mlx5e_switch_priv_channels()
3046 if (carrier_ok) in mlx5e_switch_priv_channels()