Lines Matching +full:current +full:- +full:speed

2 SPDX-License-Identifier: BSD-2-Clause
57 VSC_INTR_DESCRAMBL = 1 << 7, /* descrambler lock-lost */
63 VSC_INTR_SPD_CHG = 1 << 14, /* speed change */
132 int *speed, int *duplex, int *fc) in vsc8211_get_link_status() 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()
146 * once more to get the current link state. in vsc8211_get_link_status()
195 if (speed) in vsc8211_get_link_status()
196 *speed = sp; in vsc8211_get_link_status()
205 int *speed, int *duplex, int *fc) in vsc8211_get_link_status_fiber() argument
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()
219 * once more to get the current link state. in vsc8211_get_link_status_fiber()
262 if (speed) in vsc8211_get_link_status_fiber()
263 *speed = sp; in vsc8211_get_link_status_fiber()
272 * Enable/disable auto MDI/MDI-X in forced link speed mode.
287 static int vsc8211_set_speed_duplex(struct cphy *phy, int speed, int duplex) in vsc8211_set_speed_duplex() argument
291 err = t3_set_phy_speed_duplex(phy, speed, duplex); in vsc8211_set_speed_duplex()
404 struct cphy *phy = &portinfo->phy; in t3_vsc8211_fifo_depth()
406 /* Read the current value of the PHY control Register */ 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()