/linux/drivers/net/ethernet/sfc/falcon/ |
A D | mdio_10g.c | 162 else if (efx->loopback_mode == LOOPBACK_PHYXS) in ef4_mdio_links_ok() 167 else if (efx->loopback_mode == LOOPBACK_PCS) in ef4_mdio_links_ok() 171 else if (efx->loopback_mode == LOOPBACK_PMAPMD) in ef4_mdio_links_ok() 189 efx->loopback_mode == LOOPBACK_PMAPMD); in ef4_mdio_phy_reconfigure() 192 efx->loopback_mode == LOOPBACK_PCS); in ef4_mdio_phy_reconfigure() 195 efx->loopback_mode == LOOPBACK_PHYXS_WS); in ef4_mdio_phy_reconfigure()
|
A D | tenxpress.c | 143 enum ef4_loopback_mode loopback_mode; member 309 efx->loopback_mode == LOOPBACK_PHYXS); in tenxpress_ext_loopback() 345 phy_data->loopback_mode = efx->loopback_mode; in tenxpress_phy_reconfigure()
|
A D | txc43128_phy.c | 159 enum ef4_loopback_mode loopback_mode; member 470 phy_data->loopback_mode = efx->loopback_mode; in txc43128_phy_reconfigure() 499 if (efx->link_state.up || (efx->loopback_mode != LOOPBACK_NONE)) { in txc43128_phy_poll()
|
A D | selftest.c | 641 efx->loopback_mode = mode; in ef4_test_loopbacks() 692 enum ef4_loopback_mode loopback_mode = efx->loopback_mode; in ef4_selftest() local 748 efx->loopback_mode = LOOPBACK_NONE; in ef4_selftest() 763 efx->loopback_mode = loopback_mode; in ef4_selftest()
|
A D | qt202x_phy.c | 230 phy_op_mode = (efx->loopback_mode == LOOPBACK_NONE) ? 0x0038 : 0x0020; in qt2025c_select_phy_mode() 419 efx->loopback_mode == LOOPBACK_PCS || in qt202x_phy_reconfigure() 420 efx->loopback_mode == LOOPBACK_PMAPMD); in qt202x_phy_reconfigure()
|
A D | enum.h | 109 (1 << (_efx)->loopback_mode)
|
A D | falcon.c | 1092 return (efx->loopback_mode == LOOPBACK_XGMII || in falcon_xmac_link_ok() 1156 bool xgxs_loopback = (efx->loopback_mode == LOOPBACK_XGXS); in falcon_reconfigure_xgxs_core() 1157 bool xaui_loopback = (efx->loopback_mode == LOOPBACK_XAUI); in falcon_reconfigure_xgxs_core() 1158 bool xgmii_loopback = (efx->loopback_mode == LOOPBACK_XGMII); in falcon_reconfigure_xgxs_core() 1339 (efx->loopback_mode != LOOPBACK_NONE)) in falcon_drain_tx_fifo() 1907 efx->loopback_mode = LOOPBACK_XGMII; in falcon_b0_test_chip() 1909 efx->loopback_mode = __ffs(efx->loopback_modes); in falcon_b0_test_chip()
|
A D | net_driver.h | 498 STRING_TABLE_LOOKUP((efx)->loopback_mode, ef4_loopback_mode) 875 enum ef4_loopback_mode loopback_mode; member
|
/linux/drivers/net/ethernet/sfc/ |
A D | selftest.c | 639 efx->loopback_mode = mode; in efx_test_loopbacks() 690 enum efx_loopback_mode loopback_mode = efx->loopback_mode; in efx_selftest() local 746 efx->loopback_mode = LOOPBACK_NONE; in efx_selftest() 761 efx->loopback_mode = loopback_mode; in efx_selftest()
|
A D | enum.h | 109 (1 << (_efx)->loopback_mode)
|
A D | mcdi_port_common.c | 71 u32 flags, u32 loopback_mode, u32 loopback_speed) in efx_mcdi_set_link() argument 80 MCDI_SET_DWORD(inbuf, SET_LINK_IN_LOOPBACK_MODE, loopback_mode); in efx_mcdi_set_link() 602 efx->loopback_mode, 0); in efx_mcdi_phy_set_link_ksettings() 702 efx->loopback_mode, 0); in efx_mcdi_phy_set_fecparam() 742 efx->loopback_mode, 0); in efx_mcdi_port_reconfigure()
|
A D | mcdi_port_common.h | 35 u32 flags, u32 loopback_mode, u32 loopback_speed);
|
A D | net_driver.h | 613 STRING_TABLE_LOOKUP((efx)->loopback_mode, efx_loopback_mode) 1080 enum efx_loopback_mode loopback_mode; member
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A D | qed_main.c | 1751 switch (params->loopback_mode) { in qed_set_link() 1753 link_params->loopback_mode = ETH_LOOPBACK_INT_PHY; in qed_set_link() 1756 link_params->loopback_mode = ETH_LOOPBACK_EXT_PHY; in qed_set_link() 1759 link_params->loopback_mode = ETH_LOOPBACK_EXT; in qed_set_link() 1762 link_params->loopback_mode = ETH_LOOPBACK_MAC; in qed_set_link() 1765 link_params->loopback_mode = in qed_set_link() 1769 link_params->loopback_mode = in qed_set_link() 1773 link_params->loopback_mode = ETH_LOOPBACK_PCS_AH_ONLY; in qed_set_link() 1776 link_params->loopback_mode = in qed_set_link() 1780 link_params->loopback_mode = in qed_set_link() [all …]
|
A D | qed_mcp.h | 62 u32 loopback_mode; member
|
/linux/drivers/net/ethernet/pensando/ionic/ |
A D | ionic_if.h | 1361 u8 loopback_mode; member 1522 u8 loopback_mode; member 1574 u8 loopback_mode; member 2655 u8 loopback_mode[2]; member
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
A D | bnx2x_ethtool.c | 2490 static int bnx2x_run_loopback(struct bnx2x *bp, int loopback_mode) in bnx2x_run_loopback() argument 2514 switch (loopback_mode) { in bnx2x_run_loopback() 2516 if (bp->link_params.loopback_mode != LOOPBACK_XGXS) { in bnx2x_run_loopback() 2528 bp->link_params.loopback_mode = LOOPBACK_XMAC; in bnx2x_run_loopback() 2530 bp->link_params.loopback_mode = LOOPBACK_UMAC; in bnx2x_run_loopback() 2532 bp->link_params.loopback_mode = LOOPBACK_BMAC; in bnx2x_run_loopback() 2537 if (bp->link_params.loopback_mode != LOOPBACK_EXT) { in bnx2x_run_loopback() 2689 bp->link_params.loopback_mode = LOOPBACK_NONE; in bnx2x_run_loopback()
|
A D | bnx2x_link.h | 242 u8 loopback_mode; member
|
A D | bnx2x_link.c | 282 if (params->loopback_mode) in bnx2x_check_lfa() 4520 if (params->loopback_mode != LOOPBACK_EXT) in bnx2x_warpcore_config_init() 4578 if (!params->loopback_mode) { in bnx2x_warpcore_config_init() 4818 if (params->loopback_mode != LOOPBACK_NONE && in bnx2x_link_status_update() 4819 params->loopback_mode != LOOPBACK_EXT) in bnx2x_link_status_update() 5702 if ((params->loopback_mode) && in bnx2x_warpcore_read_status() 5933 (params->loopback_mode == LOOPBACK_XGXS)); in bnx2x_xgxs_config_init() 6486 if (params->loopback_mode == LOOPBACK_XGXS) in bnx2x_test_link() 7432 if (params->loopback_mode == LOOPBACK_EXT) { in bnx2x_8073_config_init() 12774 if (params->loopback_mode == LOOPBACK_XGXS) { in bnx2x_init_xgxs_loopback() [all …]
|
A D | bnx2x_cmn.c | 4946 if (bp->link_params.loopback_mode != LOOPBACK_BMAC) { in bnx2x_set_features() 4947 bp->link_params.loopback_mode = LOOPBACK_BMAC; in bnx2x_set_features() 4951 if (bp->link_params.loopback_mode != LOOPBACK_NONE) { in bnx2x_set_features() 4952 bp->link_params.loopback_mode = LOOPBACK_NONE; in bnx2x_set_features()
|
/linux/drivers/net/ethernet/sun/ |
A D | niu.c | 401 if (lp->loopback_mode == LOOPBACK_PHY) { in serdes_init_niu_10g_fiber() 446 if (lp->loopback_mode == LOOPBACK_PHY) { in serdes_init_niu_1g_serdes() 538 if (lp->loopback_mode == LOOPBACK_PHY) { in serdes_init_niu_10g_serdes() 788 if (lp->loopback_mode == LOOPBACK_PHY) { in serdes_init_10g() 949 if (lp->loopback_mode == LOOPBACK_PHY) { in serdes_init_1g_serdes() 1524 if (lp->loopback_mode == LOOPBACK_MAC) in xcvr_10g_set_lb_bcm870x() 1741 if (lp->loopback_mode == LOOPBACK_MAC) { in mii_init_common() 1749 if (lp->loopback_mode == LOOPBACK_PHY) { in mii_init_common() 5333 if (lp->loopback_mode == LOOPBACK_MAC) in niu_init_xif_bmac() 8974 lp->loopback_mode = LOOPBACK_MAC; in niu_link_config_init() [all …]
|
/linux/drivers/scsi/lpfc/ |
A D | lpfc_bsg.c | 1779 struct diag_mode_set *loopback_mode; in lpfc_sli3_bsg_diag_loopback_mode() local 1807 loopback_mode = (struct diag_mode_set *) in lpfc_sli3_bsg_diag_loopback_mode() 1809 link_flags = loopback_mode->type; in lpfc_sli3_bsg_diag_loopback_mode() 1810 timeout = loopback_mode->timeout * 100; in lpfc_sli3_bsg_diag_loopback_mode() 2048 struct diag_mode_set *loopback_mode; in lpfc_sli4_bsg_diag_loopback_mode() local 2067 loopback_mode = (struct diag_mode_set *) in lpfc_sli4_bsg_diag_loopback_mode() 2069 link_flags = loopback_mode->type; in lpfc_sli4_bsg_diag_loopback_mode() 2070 timeout = loopback_mode->timeout * 100; in lpfc_sli4_bsg_diag_loopback_mode() 2072 if (loopback_mode->physical_link == -1) in lpfc_sli4_bsg_diag_loopback_mode() 2075 link_no = loopback_mode->physical_link; in lpfc_sli4_bsg_diag_loopback_mode()
|
/linux/drivers/net/ethernet/qlogic/qede/ |
A D | qede_ethtool.c | 1605 static int qede_selftest_run_loopback(struct qede_dev *edev, u32 loopback_mode) in qede_selftest_run_loopback() argument 1624 link_params.loopback_mode = loopback_mode; in qede_selftest_run_loopback() 1666 link_params.loopback_mode = QED_LINK_LOOPBACK_NONE; in qede_selftest_run_loopback()
|
/linux/drivers/net/ethernet/intel/ |
A D | e100.c | 2347 static int e100_loopback_test(struct nic *nic, enum loopback loopback_mode) in e100_loopback_test() argument 2363 if (nic->flags & ich && loopback_mode == lb_phy) in e100_loopback_test() 2364 loopback_mode = lb_mac; in e100_loopback_test() 2366 nic->loopback = loopback_mode; in e100_loopback_test() 2370 if (loopback_mode == lb_phy) in e100_loopback_test()
|
/linux/include/linux/qed/ |
A D | qed_if.h | 717 u32 loopback_mode; member
|