Lines Matching +full:mdi +full:- +full:x
2 SPDX-License-Identifier: BSD-2-Clause
57 VSC_INTR_DESCRAMBL = 1 << 7, /* descrambler lock-lost */
81 #define V_ACSR_ACTIPHY_TMR(x) ((x) << S_ACSR_ACTIPHY_TMR) argument
85 #define G_ACSR_SPEED(x) (((x) >> S_ACSR_SPEED) & M_ACSR_SPEED) argument
135 int err, sp = -1, dplx = -1, pause = 0; in vsc8211_get_link_status()
145 * BMSR_LSTATUS is latch-low, so if it is 0 we need to read it in vsc8211_get_link_status()
208 int err, sp = -1, dplx = -1, pause = 0; in vsc8211_get_link_status_fiber()
218 * BMSR_LSTATUS is latch-low, so if it is 0 we need to read it in vsc8211_get_link_status_fiber()
272 * Enable/disable auto MDI/MDI-X in forced link speed mode.
384 #define V_VSC8211_TXFIFODEPTH(x) ((x) << S_VSC8211_TXFIFODEPTH) argument
385 #define G_VSC8211_TXFIFODEPTH(x) (((x) >> S_VSC8211_TXFIFODEPTH) & M_VSC8211_TXFIFODEPTH) argument
389 #define V_VSC8211_RXFIFODEPTH(x) ((x) << S_VSC8211_RXFIFODEPTH) argument
390 #define G_VSC8211_RXFIFODEPTH(x) (((x) >> S_VSC8211_RXFIFODEPTH) & M_VSC8211_RXFIFODEPTH) argument
404 struct cphy *phy = &portinfo->phy; in t3_vsc8211_fifo_depth()
431 struct cphy *phy = &pinfo->phy; in t3_vsc8211_phy_prep()
435 cphy_init(&pinfo->phy, pinfo->adapter, pinfo, phy_addr, &vsc8211_ops, mdio_ops, in t3_vsc8211_phy_prep()
438 SUPPORTED_TP | SUPPORTED_IRQ, "10/100/1000BASE-T"); in t3_vsc8211_phy_prep()
449 phy->caps = SUPPORTED_1000baseT_Full | SUPPORTED_Autoneg | in t3_vsc8211_phy_prep()
451 phy->desc = "1000BASE-X"; in t3_vsc8211_phy_prep()
452 phy->ops = &vsc8211_fiber_ops; in t3_vsc8211_phy_prep()