Home
last modified time | relevance | path

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

12

/linux-6.1.9/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
/linux-6.1.9/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.h109 (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
79 MCDI_SET_DWORD(inbuf, SET_LINK_IN_LOOPBACK_MODE, loopback_mode); in efx_mcdi_set_link()
600 efx->loopback_mode, 0); in efx_mcdi_phy_set_link_ksettings()
700 efx->loopback_mode, 0); in efx_mcdi_phy_set_fecparam()
740 efx->loopback_mode, 0); in efx_mcdi_port_reconfigure()
Dnet_driver.h617 STRING_TABLE_LOOKUP((efx)->loopback_mode, efx_loopback_mode)
1127 enum efx_loopback_mode loopback_mode; member
/linux-6.1.9/drivers/net/ethernet/sfc/siena/
Dselftest.c639 efx->loopback_mode = mode; in efx_test_loopbacks()
690 enum efx_loopback_mode loopback_mode = efx->loopback_mode; in efx_siena_selftest() local
746 efx->loopback_mode = LOOPBACK_NONE; in efx_siena_selftest()
761 efx->loopback_mode = loopback_mode; in efx_siena_selftest()
Denum.h109 (1 << (_efx)->loopback_mode)
Dmcdi_port_common.c72 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()
604 efx->loopback_mode, 0); in efx_siena_mcdi_phy_set_link_ksettings()
706 efx->loopback_mode, 0); in efx_siena_mcdi_phy_set_fecparam()
746 efx->loopback_mode, 0); in efx_siena_mcdi_port_reconfigure()
Dnet_driver.h612 STRING_TABLE_LOOKUP((efx)->loopback_mode, efx_siena_loopback_mode)
1074 enum efx_loopback_mode loopback_mode; member
/linux-6.1.9/drivers/staging/vt6655/
Dmac.c162 static void vt6655_mac_set_loopback_mode(struct vnt_private *priv, u8 loopback_mode) in vt6655_mac_set_loopback_mode() argument
166 loopback_mode <<= 6; in vt6655_mac_set_loopback_mode()
168 iowrite8((ioread8(io_base + MAC_REG_TEST) & 0x3f) | loopback_mode, io_base + MAC_REG_TEST); in vt6655_mac_set_loopback_mode()
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/
Dqed_main.c1732 switch (params->loopback_mode) { in qed_set_link()
1734 link_params->loopback_mode = ETH_LOOPBACK_INT_PHY; in qed_set_link()
1737 link_params->loopback_mode = ETH_LOOPBACK_EXT_PHY; in qed_set_link()
1740 link_params->loopback_mode = ETH_LOOPBACK_EXT; in qed_set_link()
1743 link_params->loopback_mode = ETH_LOOPBACK_MAC; in qed_set_link()
1746 link_params->loopback_mode = in qed_set_link()
1750 link_params->loopback_mode = in qed_set_link()
1754 link_params->loopback_mode = ETH_LOOPBACK_PCS_AH_ONLY; in qed_set_link()
1757 link_params->loopback_mode = in qed_set_link()
1761 link_params->loopback_mode = in qed_set_link()
[all …]
/linux-6.1.9/drivers/net/ethernet/pensando/ionic/
Dionic_if.h1361 u8 loopback_mode; member
1522 u8 loopback_mode; member
1574 u8 loopback_mode; member
2655 u8 loopback_mode[2]; member
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c2494 static int bnx2x_run_loopback(struct bnx2x *bp, int loopback_mode) in bnx2x_run_loopback() argument
2518 switch (loopback_mode) { in bnx2x_run_loopback()
2520 if (bp->link_params.loopback_mode != LOOPBACK_XGXS) { in bnx2x_run_loopback()
2532 bp->link_params.loopback_mode = LOOPBACK_XMAC; in bnx2x_run_loopback()
2534 bp->link_params.loopback_mode = LOOPBACK_UMAC; in bnx2x_run_loopback()
2536 bp->link_params.loopback_mode = LOOPBACK_BMAC; in bnx2x_run_loopback()
2541 if (bp->link_params.loopback_mode != LOOPBACK_EXT) { in bnx2x_run_loopback()
2693 bp->link_params.loopback_mode = LOOPBACK_NONE; in bnx2x_run_loopback()
Dbnx2x_link.h242 u8 loopback_mode; member
/linux-6.1.9/drivers/scsi/lpfc/
Dlpfc_bsg.c1739 struct diag_mode_set *loopback_mode; in lpfc_sli3_bsg_diag_loopback_mode() local
1767 loopback_mode = (struct diag_mode_set *) in lpfc_sli3_bsg_diag_loopback_mode()
1769 link_flags = loopback_mode->type; in lpfc_sli3_bsg_diag_loopback_mode()
1770 timeout = loopback_mode->timeout * 100; in lpfc_sli3_bsg_diag_loopback_mode()
2005 struct diag_mode_set *loopback_mode; in lpfc_sli4_bsg_diag_loopback_mode() local
2024 loopback_mode = (struct diag_mode_set *) in lpfc_sli4_bsg_diag_loopback_mode()
2026 link_flags = loopback_mode->type; in lpfc_sli4_bsg_diag_loopback_mode()
2027 timeout = loopback_mode->timeout * 100; in lpfc_sli4_bsg_diag_loopback_mode()
2029 if (loopback_mode->physical_link == -1) in lpfc_sli4_bsg_diag_loopback_mode()
2032 link_no = loopback_mode->physical_link; in lpfc_sli4_bsg_diag_loopback_mode()
/linux-6.1.9/drivers/net/ethernet/sun/
Dniu.c420 if (lp->loopback_mode == LOOPBACK_PHY) { in serdes_init_niu_10g_fiber()
465 if (lp->loopback_mode == LOOPBACK_PHY) { in serdes_init_niu_1g_serdes()
557 if (lp->loopback_mode == LOOPBACK_PHY) { in serdes_init_niu_10g_serdes()
807 if (lp->loopback_mode == LOOPBACK_PHY) { in serdes_init_10g()
968 if (lp->loopback_mode == LOOPBACK_PHY) { in serdes_init_1g_serdes()
1457 if (np->link_config.loopback_mode == LOOPBACK_MAC) in xcvr_init_10g_mrvl88x2011()
1543 if (lp->loopback_mode == LOOPBACK_MAC) in xcvr_10g_set_lb_bcm870x()
1760 if (lp->loopback_mode == LOOPBACK_MAC) { in mii_init_common()
1768 if (lp->loopback_mode == LOOPBACK_PHY) { in mii_init_common()
2100 if (np->link_config.loopback_mode == LOOPBACK_DISABLED) { in link_status_10g()
[all …]
/linux-6.1.9/drivers/net/ethernet/qlogic/qede/
Dqede_ethtool.c1622 static int qede_selftest_run_loopback(struct qede_dev *edev, u32 loopback_mode) in qede_selftest_run_loopback() argument
1641 link_params.loopback_mode = loopback_mode; in qede_selftest_run_loopback()
1683 link_params.loopback_mode = QED_LINK_LOOPBACK_NONE; in qede_selftest_run_loopback()

12