Home
last modified time | relevance | path

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

/Linux-v5.4/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()
/Linux-v5.4/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.h629 int nfp_flower_cmsg_portmod(struct nfp_repr *repr, bool carrier_ok,
/Linux-v5.4/drivers/s390/net/
Dqeth_l2_main.c702 static int qeth_l2_setup_netdev(struct qeth_card *card, bool carrier_ok) in qeth_l2_setup_netdev() argument
759 if (!rc && carrier_ok) in qeth_l2_setup_netdev()
792 bool carrier_ok; in qeth_l2_set_online() local
798 rc = qeth_core_hardsetup_card(card, &carrier_ok); in qeth_l2_set_online()
852 rc = qeth_l2_setup_netdev(card, carrier_ok); in qeth_l2_set_online()
857 if (carrier_ok) in qeth_l2_set_online()
Dqeth_l3_main.c2170 static int qeth_l3_setup_netdev(struct qeth_card *card, bool carrier_ok) in qeth_l3_setup_netdev() argument
2236 if (!rc && carrier_ok) in qeth_l3_setup_netdev()
2303 bool carrier_ok; in qeth_l3_set_online() local
2309 rc = qeth_core_hardsetup_card(card, &carrier_ok); in qeth_l3_set_online()
2358 rc = qeth_l3_setup_netdev(card, carrier_ok); in qeth_l3_set_online()
2363 if (carrier_ok) in qeth_l3_set_online()
Dqeth_core.h1026 int qeth_core_hardsetup_card(struct qeth_card *card, bool *carrier_ok);
Dqeth_core_main.c4867 int qeth_core_hardsetup_card(struct qeth_card *card, bool *carrier_ok) in qeth_core_hardsetup_card() argument
4945 *carrier_ok = false; in qeth_core_hardsetup_card()
4950 *carrier_ok = true; in qeth_core_hardsetup_card()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dswitchx2.c694 static void mlxsw_sx_from_ptys_speed_duplex(bool carrier_ok, u32 ptys_eth_proto, in mlxsw_sx_from_ptys_speed_duplex() argument
701 if (!carrier_ok) in mlxsw_sx_from_ptys_speed_duplex()
Dspectrum.h296 bool carrier_ok, u32 ptys_eth_proto,
Dspectrum.c2698 mlxsw_sp1_from_ptys_speed_duplex(struct mlxsw_sp *mlxsw_sp, bool carrier_ok, in mlxsw_sp1_from_ptys_speed_duplex() argument
2705 if (!carrier_ok) in mlxsw_sp1_from_ptys_speed_duplex()
3094 mlxsw_sp2_from_ptys_speed_duplex(struct mlxsw_sp *mlxsw_sp, bool carrier_ok, in mlxsw_sp2_from_ptys_speed_duplex() argument
3101 if (!carrier_ok) in mlxsw_sp2_from_ptys_speed_duplex()
/Linux-v5.4/drivers/net/ethernet/cisco/enic/
Denic_main.c462 int carrier_ok = netif_carrier_ok(enic->netdev); in enic_link_check() local
464 if (link_status && !carrier_ok) { in enic_link_check()
467 } else if (!link_status && carrier_ok) { in enic_link_check()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c2953 int carrier_ok; in mlx5e_switch_priv_channels() local
2957 carrier_ok = netif_carrier_ok(netdev); in mlx5e_switch_priv_channels()
2976 if (carrier_ok) in mlx5e_switch_priv_channels()