/src/sys/dev/mii/ |
ukphy_subr.c | 61 uint16_t bmsr, bmcr, anar, anlpar, gtcr, gtsr, result; local in function:ukphy_status 68 PHY_READ(phy, MII_BMSR, &bmsr); 69 PHY_READ(phy, MII_BMSR, &bmsr); 70 if (bmsr & BMSR_LINK) 89 if ((bmsr & BMSR_ACOMP) == 0) {
|
ukphy_subr.c | 61 uint16_t bmsr, bmcr, anar, anlpar, gtcr, gtsr, result; local in function:ukphy_status 68 PHY_READ(phy, MII_BMSR, &bmsr); 69 PHY_READ(phy, MII_BMSR, &bmsr); 70 if (bmsr & BMSR_LINK) 89 if ((bmsr & BMSR_ACOMP) == 0) {
|
ukphy_subr.c | 61 uint16_t bmsr, bmcr, anar, anlpar, gtcr, gtsr, result; local in function:ukphy_status 68 PHY_READ(phy, MII_BMSR, &bmsr); 69 PHY_READ(phy, MII_BMSR, &bmsr); 70 if (bmsr & BMSR_LINK) 89 if ((bmsr & BMSR_ACOMP) == 0) {
|
ukphy_subr.c | 61 uint16_t bmsr, bmcr, anar, anlpar, gtcr, gtsr, result; local in function:ukphy_status 68 PHY_READ(phy, MII_BMSR, &bmsr); 69 PHY_READ(phy, MII_BMSR, &bmsr); 70 if (bmsr & BMSR_LINK) 89 if ((bmsr & BMSR_ACOMP) == 0) {
|
iophy.c | 200 uint16_t bmsr, bmcr, ext0; local in function:iophy_status 207 PHY_READ(sc, MII_BMSR, &bmsr); 208 if (bmsr & BMSR_LINK) 222 if ((bmsr & BMSR_ACOMP) == 0) { 230 if ((bmsr & BMSR_100TXFDX) || (bmsr & BMSR_100TXHDX)) 232 else if (bmsr & BMSR_100T4)
|
iophy.c | 200 uint16_t bmsr, bmcr, ext0; local in function:iophy_status 207 PHY_READ(sc, MII_BMSR, &bmsr); 208 if (bmsr & BMSR_LINK) 222 if ((bmsr & BMSR_ACOMP) == 0) { 230 if ((bmsr & BMSR_100TXFDX) || (bmsr & BMSR_100TXHDX)) 232 else if (bmsr & BMSR_100T4)
|
iophy.c | 200 uint16_t bmsr, bmcr, ext0; local in function:iophy_status 207 PHY_READ(sc, MII_BMSR, &bmsr); 208 if (bmsr & BMSR_LINK) 222 if ((bmsr & BMSR_ACOMP) == 0) { 230 if ((bmsr & BMSR_100TXFDX) || (bmsr & BMSR_100TXHDX)) 232 else if (bmsr & BMSR_100T4)
|
iophy.c | 200 uint16_t bmsr, bmcr, ext0; local in function:iophy_status 207 PHY_READ(sc, MII_BMSR, &bmsr); 208 if (bmsr & BMSR_LINK) 222 if ((bmsr & BMSR_ACOMP) == 0) { 230 if ((bmsr & BMSR_100TXFDX) || (bmsr & BMSR_100TXHDX)) 232 else if (bmsr & BMSR_100T4)
|
gentbi.c | 100 uint16_t bmsr, extsr; local in function:gentbimatch 105 * - There is no media in the BMSR. 109 rv = (*mii->mii_readreg)(parent, ma->mii_phyno, MII_BMSR, &bmsr); 111 || (bmsr & BMSR_EXTSTAT) == 0 || (bmsr & BMSR_MEDIAMASK) != 0) { 171 * Mask out all media in the BMSR. We only are really interested 245 uint16_t bmsr, bmcr, anlpar; local in function:gentbi_status 252 PHY_READ(sc, MII_BMSR, &bmsr); 253 PHY_READ(sc, MII_BMSR, &bmsr); 255 if (bmsr & BMSR_LINK [all...] |
gentbi.c | 100 uint16_t bmsr, extsr; local in function:gentbimatch 105 * - There is no media in the BMSR. 109 rv = (*mii->mii_readreg)(parent, ma->mii_phyno, MII_BMSR, &bmsr); 111 || (bmsr & BMSR_EXTSTAT) == 0 || (bmsr & BMSR_MEDIAMASK) != 0) { 171 * Mask out all media in the BMSR. We only are really interested 245 uint16_t bmsr, bmcr, anlpar; local in function:gentbi_status 252 PHY_READ(sc, MII_BMSR, &bmsr); 253 PHY_READ(sc, MII_BMSR, &bmsr); 255 if (bmsr & BMSR_LINK [all...] |
gentbi.c | 100 uint16_t bmsr, extsr; local in function:gentbimatch 105 * - There is no media in the BMSR. 109 rv = (*mii->mii_readreg)(parent, ma->mii_phyno, MII_BMSR, &bmsr); 111 || (bmsr & BMSR_EXTSTAT) == 0 || (bmsr & BMSR_MEDIAMASK) != 0) { 171 * Mask out all media in the BMSR. We only are really interested 245 uint16_t bmsr, bmcr, anlpar; local in function:gentbi_status 252 PHY_READ(sc, MII_BMSR, &bmsr); 253 PHY_READ(sc, MII_BMSR, &bmsr); 255 if (bmsr & BMSR_LINK [all...] |
gentbi.c | 100 uint16_t bmsr, extsr; local in function:gentbimatch 105 * - There is no media in the BMSR. 109 rv = (*mii->mii_readreg)(parent, ma->mii_phyno, MII_BMSR, &bmsr); 111 || (bmsr & BMSR_EXTSTAT) == 0 || (bmsr & BMSR_MEDIAMASK) != 0) { 171 * Mask out all media in the BMSR. We only are really interested 245 uint16_t bmsr, bmcr, anlpar; local in function:gentbi_status 252 PHY_READ(sc, MII_BMSR, &bmsr); 253 PHY_READ(sc, MII_BMSR, &bmsr); 255 if (bmsr & BMSR_LINK [all...] |
tqphy.c | 212 uint16_t bmsr, bmcr, diag; local in function:tqphy_status 219 PHY_READ(sc, MII_BMSR, &bmsr); 220 PHY_READ(sc, MII_BMSR, &bmsr); 221 if (bmsr & BMSR_LINK) 235 if ((bmsr & BMSR_ACOMP) == 0) {
|
tqphy.c | 212 uint16_t bmsr, bmcr, diag; local in function:tqphy_status 219 PHY_READ(sc, MII_BMSR, &bmsr); 220 PHY_READ(sc, MII_BMSR, &bmsr); 221 if (bmsr & BMSR_LINK) 235 if ((bmsr & BMSR_ACOMP) == 0) {
|
tqphy.c | 212 uint16_t bmsr, bmcr, diag; local in function:tqphy_status 219 PHY_READ(sc, MII_BMSR, &bmsr); 220 PHY_READ(sc, MII_BMSR, &bmsr); 221 if (bmsr & BMSR_LINK) 235 if ((bmsr & BMSR_ACOMP) == 0) {
|
tqphy.c | 212 uint16_t bmsr, bmcr, diag; local in function:tqphy_status 219 PHY_READ(sc, MII_BMSR, &bmsr); 220 PHY_READ(sc, MII_BMSR, &bmsr); 221 if (bmsr & BMSR_LINK) 235 if ((bmsr & BMSR_ACOMP) == 0) {
|
ciphy.c | 250 * the BMSR twice in case it's latched. 300 uint16_t bmsr, bmcr, gtsr; local in function:ciphy_status 307 PHY_READ(sc, MII_BMSR, &bmsr); 308 PHY_READ(sc, MII_BMSR, &bmsr); 310 if (bmsr & BMSR_LINK) 319 if ((bmsr & BMSR_ACOMP) == 0) { 326 PHY_READ(sc, CIPHY_MII_AUXCSR, &bmsr); 327 switch (bmsr & CIPHY_AUXCSR_SPEED) { 339 bmsr & CIPHY_AUXCSR_SPEED); 343 if (bmsr & CIPHY_AUXCSR_FDX [all...] |
ciphy.c | 250 * the BMSR twice in case it's latched. 300 uint16_t bmsr, bmcr, gtsr; local in function:ciphy_status 307 PHY_READ(sc, MII_BMSR, &bmsr); 308 PHY_READ(sc, MII_BMSR, &bmsr); 310 if (bmsr & BMSR_LINK) 319 if ((bmsr & BMSR_ACOMP) == 0) { 326 PHY_READ(sc, CIPHY_MII_AUXCSR, &bmsr); 327 switch (bmsr & CIPHY_AUXCSR_SPEED) { 339 bmsr & CIPHY_AUXCSR_SPEED); 343 if (bmsr & CIPHY_AUXCSR_FDX [all...] |
ciphy.c | 250 * the BMSR twice in case it's latched. 300 uint16_t bmsr, bmcr, gtsr; local in function:ciphy_status 307 PHY_READ(sc, MII_BMSR, &bmsr); 308 PHY_READ(sc, MII_BMSR, &bmsr); 310 if (bmsr & BMSR_LINK) 319 if ((bmsr & BMSR_ACOMP) == 0) { 326 PHY_READ(sc, CIPHY_MII_AUXCSR, &bmsr); 327 switch (bmsr & CIPHY_AUXCSR_SPEED) { 339 bmsr & CIPHY_AUXCSR_SPEED); 343 if (bmsr & CIPHY_AUXCSR_FDX [all...] |
ciphy.c | 250 * the BMSR twice in case it's latched. 300 uint16_t bmsr, bmcr, gtsr; local in function:ciphy_status 307 PHY_READ(sc, MII_BMSR, &bmsr); 308 PHY_READ(sc, MII_BMSR, &bmsr); 310 if (bmsr & BMSR_LINK) 319 if ((bmsr & BMSR_ACOMP) == 0) { 326 PHY_READ(sc, CIPHY_MII_AUXCSR, &bmsr); 327 switch (bmsr & CIPHY_AUXCSR_SPEED) { 339 bmsr & CIPHY_AUXCSR_SPEED); 343 if (bmsr & CIPHY_AUXCSR_FDX [all...] |
atphy.c | 176 uint16_t bmsr; local in function:atphy_attach 206 PHY_READ(sc, MII_BMSR, &bmsr); 207 PHY_READ(sc, MII_BMSR, &bmsr); 208 sc->mii_capabilities = bmsr & ma->mii_capmask; 221 uint16_t anar, bmcr, bmsr; local in function:atphy_service 313 PHY_READ(sc, MII_BMSR, &bmsr); 314 PHY_READ(sc, MII_BMSR, &bmsr); 315 if (bmsr & BMSR_LINK) { 344 uint16_t bmsr, bmcr, gsr, ssr; local in function:atphy_status 351 PHY_READ(sc, MII_BMSR, &bmsr); [all...] |
atphy.c | 176 uint16_t bmsr; local in function:atphy_attach 206 PHY_READ(sc, MII_BMSR, &bmsr); 207 PHY_READ(sc, MII_BMSR, &bmsr); 208 sc->mii_capabilities = bmsr & ma->mii_capmask; 221 uint16_t anar, bmcr, bmsr; local in function:atphy_service 313 PHY_READ(sc, MII_BMSR, &bmsr); 314 PHY_READ(sc, MII_BMSR, &bmsr); 315 if (bmsr & BMSR_LINK) { 344 uint16_t bmsr, bmcr, gsr, ssr; local in function:atphy_status 351 PHY_READ(sc, MII_BMSR, &bmsr); [all...] |
atphy.c | 176 uint16_t bmsr; local in function:atphy_attach 206 PHY_READ(sc, MII_BMSR, &bmsr); 207 PHY_READ(sc, MII_BMSR, &bmsr); 208 sc->mii_capabilities = bmsr & ma->mii_capmask; 221 uint16_t anar, bmcr, bmsr; local in function:atphy_service 313 PHY_READ(sc, MII_BMSR, &bmsr); 314 PHY_READ(sc, MII_BMSR, &bmsr); 315 if (bmsr & BMSR_LINK) { 344 uint16_t bmsr, bmcr, gsr, ssr; local in function:atphy_status 351 PHY_READ(sc, MII_BMSR, &bmsr); [all...] |
atphy.c | 176 uint16_t bmsr; local in function:atphy_attach 206 PHY_READ(sc, MII_BMSR, &bmsr); 207 PHY_READ(sc, MII_BMSR, &bmsr); 208 sc->mii_capabilities = bmsr & ma->mii_capmask; 221 uint16_t anar, bmcr, bmsr; local in function:atphy_service 313 PHY_READ(sc, MII_BMSR, &bmsr); 314 PHY_READ(sc, MII_BMSR, &bmsr); 315 if (bmsr & BMSR_LINK) { 344 uint16_t bmsr, bmcr, gsr, ssr; local in function:atphy_status 351 PHY_READ(sc, MII_BMSR, &bmsr); [all...] |
pnaphy.c | 191 uint16_t bmsr, bmcr; local in function:pnaphy_status 198 PHY_READ(sc, MII_BMSR, &bmsr); 199 PHY_READ(sc, MII_BMSR, &bmsr); 201 if (bmsr & BMSR_LINK)
|