Home
last modified time | relevance | path

Searched refs:physts (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/dev/mii/
H A Drdcphy.c185 int bmsr, bmcr, physts; in rdcphy_status() local
193 physts = PHY_READ(sc, MII_RDCPHY_STATUS); in rdcphy_status()
195 if ((physts & STATUS_LINK_UP) != 0) in rdcphy_status()
216 switch (physts & STATUS_SPEED_MASK) { in rdcphy_status()
227 if ((physts & STATUS_FULL_DUPLEX) != 0) in rdcphy_status()
H A Dnsphyter.c172 int bmsr, bmcr, physts; in nsphyter_status() local
178 physts = PHY_READ(sc, MII_NSPHYTER_PHYSTS); in nsphyter_status()
180 if ((physts & PHYSTS_LINK) != 0) in nsphyter_status()
204 if ((physts & PHYSTS_SPEED10) != 0) in nsphyter_status()
208 if ((physts & PHYSTS_DUPLEX) != 0) in nsphyter_status()
H A Ddp83867phy.c229 int bmsr, bmcr, physts; in dp_status() local
236 physts = PHY_READ(sc, DP83867_PHYSTS); in dp_status()
238 if ((bmsr & BMSR_LINK) && (physts & DP83867_PHYSTS_LINK_UP)) in dp_status()
252 if (!(physts & DP83867_PHYSTS_ANEG_PENDING)) { in dp_status()
257 switch (physts & DP83867_PHYSTS_SPEED_MASK) { in dp_status()
271 if (physts & DP83867_PHYSTS_FD) in dp_status()
/freebsd/sys/dev/vge/
H A Dif_vge.c1655 uint8_t physts; in vge_link_statchg() local
1661 physts = CSR_READ_1(sc, VGE_PHYSTS0); in vge_link_statchg()
1662 if ((physts & VGE_PHYSTS_RESETSTS) == 0) { in vge_link_statchg()
1663 if ((physts & VGE_PHYSTS_LINK) == 0) { in vge_link_statchg()
1673 if ((physts & VGE_PHYSTS_FDX) != 0) { in vge_link_statchg()
1674 if ((physts & VGE_PHYSTS_TXFLOWCAP) != 0) in vge_link_statchg()
1677 if ((physts & VGE_PHYSTS_RXFLOWCAP) != 0) in vge_link_statchg()