Home
last modified time | relevance | path

Searched refs:loopback_mode (Results 1 – 25 of 33) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/
Dmdio_10g.c162 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()
Dtenxpress.c143 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()
Dtxc43128_phy.c159 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()
Dselftest.c641 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()
Dqt202x_phy.c230 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()
Denum.h109 (1 << (_efx)->loopback_mode)
Dfalcon.c1092 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()
Dnet_driver.h498 STRING_TABLE_LOOKUP((efx)->loopback_mode, ef4_loopback_mode)
875 enum ef4_loopback_mode loopback_mode; member
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Dselftest.c639 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()
Denum.h110 (1 << (_efx)->loopback_mode)
Dmcdi_port_common.h35 u32 flags, u32 loopback_mode, u32 loopback_speed);
Dmcdi_port_common.c71 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()
Dnet_driver.h613 STRING_TABLE_LOOKUP((efx)->loopback_mode, efx_loopback_mode)
1072 enum efx_loopback_mode loopback_mode; member
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_main.c1751 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 …]
Dqed_mcp.h62 u32 loopback_mode; member
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/
Dionic_if.h1230 u8 loopback_mode; member
1377 u8 loopback_mode; member
1429 u8 loopback_mode; member
2478 u8 loopback_mode[2]; member
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c2486 static int bnx2x_run_loopback(struct bnx2x *bp, int loopback_mode) in bnx2x_run_loopback() argument
2510 switch (loopback_mode) { in bnx2x_run_loopback()
2512 if (bp->link_params.loopback_mode != LOOPBACK_XGXS) { in bnx2x_run_loopback()
2524 bp->link_params.loopback_mode = LOOPBACK_XMAC; in bnx2x_run_loopback()
2526 bp->link_params.loopback_mode = LOOPBACK_UMAC; in bnx2x_run_loopback()
2528 bp->link_params.loopback_mode = LOOPBACK_BMAC; in bnx2x_run_loopback()
2533 if (bp->link_params.loopback_mode != LOOPBACK_EXT) { in bnx2x_run_loopback()
2685 bp->link_params.loopback_mode = LOOPBACK_NONE; in bnx2x_run_loopback()
Dbnx2x_link.h242 u8 loopback_mode; member
Dbnx2x_link.c282 if (params->loopback_mode) in bnx2x_check_lfa()
2224 u8 bmac_loopback = (params->loopback_mode == LOOPBACK_BMAC); in bnx2x_update_pfc()
4520 if (params->loopback_mode != LOOPBACK_EXT) in bnx2x_warpcore_config_init()
4554 if ((params->loopback_mode == LOOPBACK_NONE) || in bnx2x_warpcore_config_init()
4555 (params->loopback_mode == LOOPBACK_EXT)) { in bnx2x_warpcore_config_init()
4578 if (!params->loopback_mode) { in bnx2x_warpcore_config_init()
4660 params->loopback_mode, phy->req_line_speed); in bnx2x_set_warpcore_loopback()
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()
[all …]
Dbnx2x_cmn.c4951 if (bp->link_params.loopback_mode != LOOPBACK_BMAC) { in bnx2x_set_features()
4952 bp->link_params.loopback_mode = LOOPBACK_BMAC; in bnx2x_set_features()
4956 if (bp->link_params.loopback_mode != LOOPBACK_NONE) { in bnx2x_set_features()
4957 bp->link_params.loopback_mode = LOOPBACK_NONE; in bnx2x_set_features()
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/
Dniu.c401 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()
1438 if (np->link_config.loopback_mode == LOOPBACK_MAC) in xcvr_init_10g_mrvl88x2011()
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()
2081 if (np->link_config.loopback_mode == LOOPBACK_DISABLED) { in link_status_10g()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
Dlpfc_bsg.c1795 struct diag_mode_set *loopback_mode; in lpfc_sli3_bsg_diag_loopback_mode() local
1823 loopback_mode = (struct diag_mode_set *) in lpfc_sli3_bsg_diag_loopback_mode()
1825 link_flags = loopback_mode->type; in lpfc_sli3_bsg_diag_loopback_mode()
1826 timeout = loopback_mode->timeout * 100; in lpfc_sli3_bsg_diag_loopback_mode()
2064 struct diag_mode_set *loopback_mode; in lpfc_sli4_bsg_diag_loopback_mode() local
2083 loopback_mode = (struct diag_mode_set *) in lpfc_sli4_bsg_diag_loopback_mode()
2085 link_flags = loopback_mode->type; in lpfc_sli4_bsg_diag_loopback_mode()
2086 timeout = loopback_mode->timeout * 100; in lpfc_sli4_bsg_diag_loopback_mode()
2088 if (loopback_mode->physical_link == -1) in lpfc_sli4_bsg_diag_loopback_mode()
2091 link_no = loopback_mode->physical_link; in lpfc_sli4_bsg_diag_loopback_mode()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/
Dqede_ethtool.c1598 static int qede_selftest_run_loopback(struct qede_dev *edev, u32 loopback_mode) in qede_selftest_run_loopback() argument
1617 link_params.loopback_mode = loopback_mode; in qede_selftest_run_loopback()
1659 link_params.loopback_mode = QED_LINK_LOOPBACK_NONE; in qede_selftest_run_loopback()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/
De100.c2344 static int e100_loopback_test(struct nic *nic, enum loopback loopback_mode) in e100_loopback_test() argument
2360 if (nic->flags & ich && loopback_mode == lb_phy) in e100_loopback_test()
2361 loopback_mode = lb_mac; in e100_loopback_test()
2363 nic->loopback = loopback_mode; in e100_loopback_test()
2367 if (loopback_mode == lb_phy) in e100_loopback_test()
/kernel/linux/linux-5.10/include/linux/qed/
Dqed_if.h696 u32 loopback_mode; member

12