/netbsd-src/sys/dev/mii/ |
H A D | ukphy_subr.c | 61 uint16_t bmsr, bmcr, anar, anlpar, gtcr, gtsr, result; in ukphy_status() local 102 PHY_READ(phy, MII_100T2SR, >sr); in ukphy_status() 104 gtcr = gtsr = 0; in ukphy_status() 106 if ((gtcr & GTCR_ADV_1000TFDX) && (gtsr & GTSR_LP_1000TFDX)) in ukphy_status() 109 (gtsr & GTSR_LP_1000THDX)) in ukphy_status() 125 (gtsr & GTSR_MS_RES)) in ukphy_status()
|
H A D | igphy.c | 425 uint16_t bmcr, pssr, gtsr, bmsr; in igphy_status() local 458 PHY_READ(sc, MII_100T2SR, >sr); in igphy_status() 459 if (gtsr & GTSR_MS_RES) in igphy_status() 490 uint16_t reg, gtsr, gtcr; in igphy_smartspeed_workaround() local 515 PHY_READ(sc, MII_100T2SR, >sr); in igphy_smartspeed_workaround() 516 if (!(gtsr & GTSR_MAN_MS_FLT)) in igphy_smartspeed_workaround() 518 PHY_READ(sc, MII_100T2SR, >sr); in igphy_smartspeed_workaround() 519 if (gtsr & GTSR_MAN_MS_FLT) { in igphy_smartspeed_workaround()
|
H A D | glxtphy.c | 203 uint16_t bmcr, qsr, gtsr; in glxtphy_status() local 239 PHY_READ(sc, MII_100T2SR, >sr); in glxtphy_status() 240 if (gtsr & GTSR_MS_RES) in glxtphy_status()
|
H A D | ihphy.c | 229 uint16_t esr, bmcr, gtsr; in ihphy_status() local 261 PHY_READ(sc, MII_100T2SR, >sr); in ihphy_status() 262 if (gtsr & GTSR_MS_RES) in ihphy_status()
|
H A D | gphyter.c | 234 uint16_t bmsr, bmcr, physup, gtsr; in gphyter_status() local 273 PHY_READ(sc, MII_100T2SR, >sr); in gphyter_status() 274 if (gtsr & GTSR_MS_RES) in gphyter_status()
|
H A D | ikphy.c | 285 uint16_t pssr, bmcr, gtsr, kmrn; in ikphy_status() local 321 PHY_READ(sc, MII_100T2SR, >sr); in ikphy_status() 322 if (gtsr & GTSR_MS_RES) in ikphy_status()
|
H A D | jmphy.c | 197 uint16_t bmcr, ssr, gtsr; in jmphy_status() local 253 PHY_READ(sc, MII_GTSR, >sr); in jmphy_status() 254 if ((gtsr & GTSR_MS_RES) != 0) in jmphy_status()
|
H A D | ipgphy.c | 261 uint16_t bmsr, bmcr, stat, gtsr; in ipgphy_status() local 315 PHY_READ(sc, MII_100T2SR, >sr); in ipgphy_status() 316 if (gtsr & GTSR_MS_RES) in ipgphy_status()
|
H A D | ciphy.c | 300 uint16_t bmsr, bmcr, gtsr; in ciphy_status() local 349 PHY_READ(sc, MII_GTSR, >sr); in ciphy_status() 350 if ((gtsr & GTSR_MS_RES) != 0) in ciphy_status()
|
H A D | brgphy.c | 482 uint16_t bmcr, bmsr, auxsts, gtsr; in brgphy_copper_status() local 520 PHY_READ(sc, MII_100T2SR, >sr); in brgphy_copper_status() 521 if (gtsr & GTSR_MS_RES) in brgphy_copper_status() 527 PHY_READ(sc, MII_100T2SR, >sr); in brgphy_copper_status() 528 if (gtsr & GTSR_MS_RES) in brgphy_copper_status()
|
H A D | rgephy.c | 350 uint16_t gstat, bmsr, bmcr, gtsr, physr, ssr; in rgephy_status() local 440 PHY_READ(sc, MII_GTSR, >sr); in rgephy_status() 441 if ((gtsr & GTSR_MS_RES) != 0) in rgephy_status()
|