Lines Matching +full:enable +full:- +full:lpa
2 SPDX-License-Identifier: BSD-2-Clause
181 CH_WARN(phy->adapter, "PHY%d: temperature is now %dC\n", in aq100x_vendor_intr()
182 phy->addr, aq100x_temperature(phy)); in aq100x_vendor_intr()
184 t3_set_reg_field(phy->adapter, A_T3DBG_GPIO_EN, in aq100x_vendor_intr()
185 phy->addr ? F_GPIO10_OUT_VAL : F_GPIO6_OUT_VAL, 0); in aq100x_vendor_intr()
194 CH_WARN(phy->adapter, "PHY%d: unhandled vendor interrupt" in aq100x_vendor_intr()
195 " (0x%x)\n", phy->addr, cause); in aq100x_vendor_intr()
219 CH_WARN(phy->adapter, "PHY%d: unhandled interrupt (0x%x)\n", in aq100x_intr_handler()
220 phy->addr, cause); in aq100x_intr_handler()
244 } while (v && --wait); in aq100x_power_down()
246 CH_WARN(phy->adapter, "PHY%d: power-up timed out (0x%x).\n", in aq100x_power_down()
247 phy->addr, v); in aq100x_power_down()
315 aq100x_set_loopback(struct cphy *phy, int mmd, int dir, int enable) in aq100x_set_loopback() argument
318 BMCR_LOOPBACK, enable ? BMCR_LOOPBACK : 0); in aq100x_set_loopback()
398 unsigned int lpa, adv; in aq100x_get_link_status() local
399 err = mdio_read(phy, MDIO_DEV_ANEG, 0x13, &lpa); in aq100x_get_link_status()
406 if (lpa & adv & ADVERTISE_PAUSE_CAP) in aq100x_get_link_status()
408 else if (lpa & ADVERTISE_PAUSE_CAP && in aq100x_get_link_status()
409 lpa & ADVERTISE_PAUSE_ASYM && in aq100x_get_link_status()
412 else if (lpa & ADVERTISE_PAUSE_ASYM && in aq100x_get_link_status()
466 struct cphy *phy = &pinfo->phy; in t3_aq100x_phy_prep()
469 adapter_t *adapter = pinfo->adapter; in t3_aq100x_phy_prep()
471 cphy_init(&pinfo->phy, adapter, pinfo, phy_addr, &aq100x_ops, mdio_ops, in t3_aq100x_phy_prep()
474 SUPPORTED_MISC_IRQ, "1000/10GBASE-T"); in t3_aq100x_phy_prep()
503 } while (v && --wait); in t3_aq100x_phy_prep()
517 /* The PHY should start in really-low-power mode. */ in t3_aq100x_phy_prep()
524 * Verify XAUI and 1000-X settings, but let prep succeed no matter what. in t3_aq100x_phy_prep()
535 CH_WARN(adapter, "PHY%d: incorrect 1000-X settings " in t3_aq100x_phy_prep()