| /NextBSD/sys/dev/mii/ |
| HD | ukphy_subr.c | 63 int bmsr, bmcr, anlpar, gtcr, gtsr; in ukphy_status() local 94 anlpar = PHY_READ(phy, MII_ANAR) & PHY_READ(phy, MII_ANLPAR); in ukphy_status() 108 else if (anlpar & ANLPAR_TX_FD) in ukphy_status() 110 else if (anlpar & ANLPAR_T4) in ukphy_status() 112 else if (anlpar & ANLPAR_TX) in ukphy_status() 114 else if (anlpar & ANLPAR_10_FD) in ukphy_status() 116 else if (anlpar & ANLPAR_10) in ukphy_status()
|
| HD | tdkphy.c | 151 int bmsr, bmcr, anlpar, diag; in tdkphy_status() local 182 anlpar = PHY_READ(phy, MII_ANAR) & PHY_READ(phy, MII_ANLPAR); in tdkphy_status() 187 if (anlpar & ANLPAR_TX_FD) in tdkphy_status() 189 else if (anlpar & ANLPAR_T4) in tdkphy_status() 191 else if (anlpar & ANLPAR_TX) in tdkphy_status() 193 else if (anlpar & ANLPAR_10_FD) in tdkphy_status() 195 else if (anlpar & ANLPAR_10) in tdkphy_status()
|
| HD | amphy.c | 144 int bmsr, bmcr, par, anlpar; in amphy_status() local 176 anlpar = PHY_READ(sc, MII_ANAR) & in amphy_status() 178 if (anlpar & ANLPAR_TX_FD) in amphy_status() 180 else if (anlpar & ANLPAR_T4) in amphy_status() 182 else if (anlpar & ANLPAR_TX) in amphy_status() 184 else if (anlpar & ANLPAR_10_FD) in amphy_status() 186 else if (anlpar & ANLPAR_10) in amphy_status()
|
| HD | rlphy.c | 167 int bmsr, bmcr, anlpar; in rlphy_status() local 198 if ((anlpar = PHY_READ(phy, MII_ANAR) & in rlphy_status() 200 if (anlpar & ANLPAR_TX_FD) in rlphy_status() 202 else if (anlpar & ANLPAR_T4) in rlphy_status() 204 else if (anlpar & ANLPAR_TX) in rlphy_status() 206 else if (anlpar & ANLPAR_10_FD) in rlphy_status() 208 else if (anlpar & ANLPAR_10) in rlphy_status()
|
| HD | nsphy.c | 212 int bmsr, bmcr, par, anlpar; in nsphy_status() local 249 anlpar = PHY_READ(sc, MII_ANAR) & in nsphy_status() 251 if (anlpar & ANLPAR_TX_FD) in nsphy_status() 253 else if (anlpar & ANLPAR_T4) in nsphy_status() 255 else if (anlpar & ANLPAR_TX) in nsphy_status() 257 else if (anlpar & ANLPAR_10_FD) in nsphy_status() 259 else if (anlpar & ANLPAR_10) in nsphy_status()
|
| HD | gentbi.c | 216 int bmsr, bmcr, anlpar; in gentbi_status() local 252 anlpar = PHY_READ(sc, MII_ANLPAR); in gentbi_status() 254 (anlpar & ANLPAR_X_FD) != 0) in gentbi_status()
|
| HD | mii_physubr.c | 632 int anar, anlpar; in mii_phy_flowstatus() local 638 anlpar = PHY_READ(sc, MII_ANLPAR); in mii_phy_flowstatus() 646 anlpar <<= 3; in mii_phy_flowstatus() 649 if ((anar & ANAR_PAUSE_SYM) != 0 && (anlpar & ANLPAR_PAUSE_SYM) != 0) in mii_phy_flowstatus() 654 (anlpar & ANLPAR_PAUSE_TOWARDS) != 0) in mii_phy_flowstatus() 661 if ((anlpar & ANLPAR_PAUSE_SYM) != 0) in mii_phy_flowstatus() 667 switch ((anlpar & ANLPAR_PAUSE_TOWARDS)) { in mii_phy_flowstatus()
|
| HD | xmphy.c | 215 int bmsr, bmcr, anlpar; in xmphy_status() local 245 anlpar = PHY_READ(sc, XMPHY_MII_ANAR) & in xmphy_status() 247 if (anlpar & XMPHY_ANLPAR_FDX) in xmphy_status()
|
| HD | tlphy.c | 354 int aner, anlpar; in tlphy_acomp() local 366 anlpar = PHY_READ(&sc->sc_mii, MII_ANLPAR) & in tlphy_acomp() 368 if (anlpar & ANAR_10_FD) { in tlphy_acomp()
|
| /NextBSD/sys/dev/dc/ |
| HD | dcphy.c | 298 int anlpar, tstat; in dcphy_status() local 324 anlpar = tstat >> 16; in dcphy_status() 325 if (anlpar & ANLPAR_TX_FD && in dcphy_status() 328 else if (anlpar & ANLPAR_T4 && in dcphy_status() 331 else if (anlpar & ANLPAR_TX && in dcphy_status() 334 else if (anlpar & ANLPAR_10_FD) in dcphy_status() 336 else if (anlpar & ANLPAR_10) in dcphy_status()
|
| /NextBSD/sys/dev/txp/ |
| HD | if_txp.c | 2599 uint16_t bmsr, bmcr, anar, anlpar; in txp_ifmedia_sts() local 2620 &anlpar, NULL, NULL, TXP_CMD_WAIT)) in txp_ifmedia_sts() 2646 anlpar &= anar; in txp_ifmedia_sts() 2647 if (anlpar & ANLPAR_TX_FD) in txp_ifmedia_sts() 2649 else if (anlpar & ANLPAR_T4) in txp_ifmedia_sts() 2651 else if (anlpar & ANLPAR_TX) in txp_ifmedia_sts() 2653 else if (anlpar & ANLPAR_10_FD) in txp_ifmedia_sts() 2655 else if (anlpar & ANLPAR_10) in txp_ifmedia_sts()
|