Searched refs:carrier_ok (Results 1 – 12 of 12) sorted by relevance
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/ |
| D | en_selftest.c | 171 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/ |
| D | cmsg.c | 75 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()
|
| D | cmsg.h | 629 int nfp_flower_cmsg_portmod(struct nfp_repr *repr, bool carrier_ok,
|
| /Linux-v5.4/drivers/s390/net/ |
| D | qeth_l2_main.c | 702 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()
|
| D | qeth_l3_main.c | 2170 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()
|
| D | qeth_core.h | 1026 int qeth_core_hardsetup_card(struct qeth_card *card, bool *carrier_ok);
|
| D | qeth_core_main.c | 4867 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/ |
| D | switchx2.c | 694 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()
|
| D | spectrum.h | 296 bool carrier_ok, u32 ptys_eth_proto,
|
| D | spectrum.c | 2698 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/ |
| D | enic_main.c | 462 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/ |
| D | en_main.c | 2953 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()
|