Home
last modified time | relevance | path

Searched refs:anlpar (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/dev/mii/
H A Dukphy_subr.c63 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()
H A Damphy.c142 int bmsr, bmcr, par, anlpar; in amphy_status() local
174 anlpar = PHY_READ(sc, MII_ANAR) & in amphy_status()
176 if (anlpar & ANLPAR_TX_FD) in amphy_status()
178 else if (anlpar & ANLPAR_T4) in amphy_status()
180 else if (anlpar & ANLPAR_TX) in amphy_status()
182 else if (anlpar & ANLPAR_10_FD) in amphy_status()
184 else if (anlpar & ANLPAR_10) in amphy_status()
H A Drlphy.c165 int bmsr, bmcr, anlpar; in rlphy_status() local
196 if ((anlpar = PHY_READ(phy, MII_ANAR) & in rlphy_status()
198 if (anlpar & ANLPAR_TX_FD) in rlphy_status()
200 else if (anlpar & ANLPAR_T4) in rlphy_status()
202 else if (anlpar & ANLPAR_TX) in rlphy_status()
204 else if (anlpar & ANLPAR_10_FD) in rlphy_status()
206 else if (anlpar & ANLPAR_10) in rlphy_status()
H A Dtdkphy.c149 int bmsr, bmcr, anlpar, diag; in tdkphy_status() local
180 anlpar = PHY_READ(phy, MII_ANAR) & PHY_READ(phy, MII_ANLPAR); in tdkphy_status()
185 if (anlpar & ANLPAR_TX_FD) in tdkphy_status()
187 else if (anlpar & ANLPAR_T4) in tdkphy_status()
189 else if (anlpar & ANLPAR_TX) in tdkphy_status()
191 else if (anlpar & ANLPAR_10_FD) in tdkphy_status()
193 else if (anlpar & ANLPAR_10) in tdkphy_status()
H A Dnsphy.c203 int bmsr, bmcr, par, anlpar; in nsphy_status() local
240 anlpar = PHY_READ(sc, MII_ANAR) & in nsphy_status()
242 if (anlpar & ANLPAR_TX_FD) in nsphy_status()
244 else if (anlpar & ANLPAR_T4) in nsphy_status()
246 else if (anlpar & ANLPAR_TX) in nsphy_status()
248 else if (anlpar & ANLPAR_10_FD) in nsphy_status()
250 else if (anlpar & ANLPAR_10) in nsphy_status()
H A Dmv88e151x.c182 int bmsr, bmcr, anlpar; //, gtcr, gtsr; in mv88e151x_fiber_status() local
219 anlpar = PHY_READ(phy, MII_ANAR) & PHY_READ(phy, MII_ANLPAR); in mv88e151x_fiber_status()
220 if (anlpar & ANLPAR_X_FD) in mv88e151x_fiber_status()
222 else if (anlpar & ANLPAR_X_HD) in mv88e151x_fiber_status()
H A Dgentbi.c214 int bmsr, bmcr, anlpar; in gentbi_status() local
250 anlpar = PHY_READ(sc, MII_ANLPAR); in gentbi_status()
252 (anlpar & ANLPAR_X_FD) != 0) in gentbi_status()
H A Dmii_physubr.c668 int anar, anlpar; in mii_phy_flowstatus() local
674 anlpar = PHY_READ(sc, MII_ANLPAR); in mii_phy_flowstatus()
682 anlpar <<= 3; in mii_phy_flowstatus()
685 if ((anar & ANAR_PAUSE_SYM) != 0 && (anlpar & ANLPAR_PAUSE_SYM) != 0) in mii_phy_flowstatus()
690 (anlpar & ANLPAR_PAUSE_TOWARDS) != 0) in mii_phy_flowstatus()
697 if ((anlpar & ANLPAR_PAUSE_SYM) != 0) in mii_phy_flowstatus()
703 switch ((anlpar & ANLPAR_PAUSE_TOWARDS)) { in mii_phy_flowstatus()
H A Dxmphy.c213 int bmsr, bmcr, anlpar; in xmphy_status() local
243 anlpar = PHY_READ(sc, XMPHY_MII_ANAR) & in xmphy_status()
245 if (anlpar & XMPHY_ANLPAR_FDX) in xmphy_status()
/freebsd/sys/dev/dc/
H A Ddcphy.c296 int anlpar, tstat; in dcphy_status() local
322 anlpar = tstat >> 16; in dcphy_status()
323 if (anlpar & ANLPAR_TX_FD && in dcphy_status()
326 else if (anlpar & ANLPAR_T4 && in dcphy_status()
329 else if (anlpar & ANLPAR_TX && in dcphy_status()
332 else if (anlpar & ANLPAR_10_FD) in dcphy_status()
334 else if (anlpar & ANLPAR_10) in dcphy_status()