Home
last modified time | relevance | path

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

/openbmc/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()
/openbmc/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,
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dreporter_tx.c173 int carrier_ok; in mlx5e_tx_reporter_ptpsq_unhealthy_recover() local
185 carrier_ok = netif_carrier_ok(netdev); in mlx5e_tx_reporter_ptpsq_unhealthy_recover()
196 if (carrier_ok) in mlx5e_tx_reporter_ptpsq_unhealthy_recover()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A 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()
H A Dspectrum.h379 bool carrier_ok, u32 ptys_eth_proto,
/openbmc/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.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()
H A Dqeth_core.h770 int (*set_online)(struct qeth_card *card, bool carrier_ok);
H A 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()
/openbmc/linux/drivers/net/ethernet/cisco/enic/
H A 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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A 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()