Home
last modified time | relevance | path

Searched refs:gtsr (Results 1 – 11 of 11) sorted by relevance

/netbsd-src/sys/dev/mii/
H A Dukphy_subr.c61 uint16_t bmsr, bmcr, anar, anlpar, gtcr, gtsr, result; in ukphy_status() local
102 PHY_READ(phy, MII_100T2SR, &gtsr); 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 Digphy.c425 uint16_t bmcr, pssr, gtsr, bmsr; in igphy_status() local
458 PHY_READ(sc, MII_100T2SR, &gtsr); 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, &gtsr); in igphy_smartspeed_workaround()
516 if (!(gtsr & GTSR_MAN_MS_FLT)) in igphy_smartspeed_workaround()
518 PHY_READ(sc, MII_100T2SR, &gtsr); in igphy_smartspeed_workaround()
519 if (gtsr & GTSR_MAN_MS_FLT) { in igphy_smartspeed_workaround()
H A Dglxtphy.c203 uint16_t bmcr, qsr, gtsr; in glxtphy_status() local
239 PHY_READ(sc, MII_100T2SR, &gtsr); in glxtphy_status()
240 if (gtsr & GTSR_MS_RES) in glxtphy_status()
H A Dihphy.c229 uint16_t esr, bmcr, gtsr; in ihphy_status() local
261 PHY_READ(sc, MII_100T2SR, &gtsr); in ihphy_status()
262 if (gtsr & GTSR_MS_RES) in ihphy_status()
H A Dgphyter.c234 uint16_t bmsr, bmcr, physup, gtsr; in gphyter_status() local
273 PHY_READ(sc, MII_100T2SR, &gtsr); in gphyter_status()
274 if (gtsr & GTSR_MS_RES) in gphyter_status()
H A Dikphy.c285 uint16_t pssr, bmcr, gtsr, kmrn; in ikphy_status() local
321 PHY_READ(sc, MII_100T2SR, &gtsr); in ikphy_status()
322 if (gtsr & GTSR_MS_RES) in ikphy_status()
H A Djmphy.c197 uint16_t bmcr, ssr, gtsr; in jmphy_status() local
253 PHY_READ(sc, MII_GTSR, &gtsr); in jmphy_status()
254 if ((gtsr & GTSR_MS_RES) != 0) in jmphy_status()
H A Dipgphy.c261 uint16_t bmsr, bmcr, stat, gtsr; in ipgphy_status() local
315 PHY_READ(sc, MII_100T2SR, &gtsr); in ipgphy_status()
316 if (gtsr & GTSR_MS_RES) in ipgphy_status()
H A Dciphy.c300 uint16_t bmsr, bmcr, gtsr; in ciphy_status() local
349 PHY_READ(sc, MII_GTSR, &gtsr); in ciphy_status()
350 if ((gtsr & GTSR_MS_RES) != 0) in ciphy_status()
H A Dbrgphy.c482 uint16_t bmcr, bmsr, auxsts, gtsr; in brgphy_copper_status() local
520 PHY_READ(sc, MII_100T2SR, &gtsr); in brgphy_copper_status()
521 if (gtsr & GTSR_MS_RES) in brgphy_copper_status()
527 PHY_READ(sc, MII_100T2SR, &gtsr); in brgphy_copper_status()
528 if (gtsr & GTSR_MS_RES) in brgphy_copper_status()
H A Drgephy.c350 uint16_t gstat, bmsr, bmcr, gtsr, physr, ssr; in rgephy_status() local
440 PHY_READ(sc, MII_GTSR, &gtsr); in rgephy_status()
441 if ((gtsr & GTSR_MS_RES) != 0) in rgephy_status()