mii_status 487 drivers/net/bonding/bond_sysfs.c static DEVICE_ATTR(mii_status, 0444, bonding_show_mii_status, NULL); mii_status 44 drivers/net/bonding/bond_sysfs_slave.c static SLAVE_ATTR_RO(mii_status); mii_status 396 drivers/net/ethernet/3com/3c574_cs.c int mii_status; mii_status 398 drivers/net/ethernet/3com/3c574_cs.c mii_status = mdio_read(ioaddr, phy & 0x1f, 1); mii_status 399 drivers/net/ethernet/3com/3c574_cs.c if (mii_status != 0xffff) { mii_status 403 drivers/net/ethernet/3com/3c574_cs.c phy, mii_status); mii_status 404 drivers/net/ethernet/3com/3c574_cs.c if ((mii_status & 0x0040) == 0) mii_status 1394 drivers/net/ethernet/3com/3c59x.c int mii_status, phyx; mii_status 1406 drivers/net/ethernet/3com/3c59x.c mii_status = mdio_read(dev, phyx, MII_BMSR); mii_status 1407 drivers/net/ethernet/3com/3c59x.c if (mii_status && mii_status != 0xffff) { mii_status 1411 drivers/net/ethernet/3com/3c59x.c phyx, mii_status); mii_status 1413 drivers/net/ethernet/3com/3c59x.c if ((mii_status & 0x0040) == 0) mii_status 802 drivers/net/ethernet/adaptec/starfire.c int mii_status; mii_status 814 drivers/net/ethernet/adaptec/starfire.c mii_status = mdio_read(dev, phy, MII_BMSR); mii_status 815 drivers/net/ethernet/adaptec/starfire.c if (mii_status != 0) { mii_status 820 drivers/net/ethernet/adaptec/starfire.c dev->name, phy, mii_status, np->mii_if.advertising); mii_status 462 drivers/net/ethernet/dec/tulip/media.c int mii_status = tulip_mdio_read (dev, phy, MII_BMSR); mii_status 463 drivers/net/ethernet/dec/tulip/media.c if ((mii_status & 0x8301) == 0x8001 || mii_status 464 drivers/net/ethernet/dec/tulip/media.c ((mii_status & BMSR_100BASE4) == 0 && mii_status 465 drivers/net/ethernet/dec/tulip/media.c (mii_status & 0x7800) != 0)) { mii_status 498 drivers/net/ethernet/dec/tulip/media.c board_idx, phy, mii_reg0, mii_status, mii_advert); mii_status 446 drivers/net/ethernet/dec/tulip/winbond-840.c int mii_status = mdio_read(dev, phy, MII_BMSR); mii_status 447 drivers/net/ethernet/dec/tulip/winbond-840.c if (mii_status != 0xffff && mii_status != 0x0000) { mii_status 454 drivers/net/ethernet/dec/tulip/winbond-840.c np->mii, phy, mii_status, mii_status 317 drivers/net/ethernet/dlink/dl2k.c int mii_status = mii_read (dev, i, 1); mii_status 318 drivers/net/ethernet/dlink/dl2k.c if (mii_status != 0xffff && mii_status != 0x0000) { mii_status 613 drivers/net/ethernet/dlink/sundance.c int mii_status = mdio_read(dev, phyx, MII_BMSR); mii_status 614 drivers/net/ethernet/dlink/sundance.c if (mii_status != 0xffff && mii_status != 0x0000) { mii_status 617 drivers/net/ethernet/dlink/sundance.c if ((mii_status & 0x0040) == 0) mii_status 621 drivers/net/ethernet/dlink/sundance.c dev->name, phyx, mii_status, np->mii_if.advertising); mii_status 582 drivers/net/ethernet/fealnx.c int mii_status = mdio_read(dev, phy, 1); mii_status 584 drivers/net/ethernet/fealnx.c if (mii_status != 0xffff && mii_status != 0x0000) { mii_status 588 drivers/net/ethernet/fealnx.c "0x%4.4x.\n", phy, mii_status); mii_status 49 drivers/net/ethernet/freescale/fec_mpc52xx.h u32 mii_status; /* FEC + 0x048 */ mii_status 1392 drivers/net/ethernet/nvidia/forcedeth.c u32 mii_status, mii_control, mii_control_1000, reg; mii_status 1443 drivers/net/ethernet/nvidia/forcedeth.c mii_status = mii_rw(dev, np->phyaddr, MII_BMSR, MII_READ); mii_status 1444 drivers/net/ethernet/nvidia/forcedeth.c if (mii_status & PHY_GIGABIT) { mii_status 3274 drivers/net/ethernet/nvidia/forcedeth.c int mii_status; mii_status 3280 drivers/net/ethernet/nvidia/forcedeth.c mii_status = mii_rw(dev, np->phyaddr, MII_BMSR, MII_READ); mii_status 3281 drivers/net/ethernet/nvidia/forcedeth.c if (mii_status & PHY_GIGABIT) { mii_status 3354 drivers/net/ethernet/nvidia/forcedeth.c int mii_status; mii_status 3378 drivers/net/ethernet/nvidia/forcedeth.c mii_status = mii_rw(dev, np->phyaddr, MII_BMSR, MII_READ); mii_status 3380 drivers/net/ethernet/nvidia/forcedeth.c if (!(mii_status & BMSR_LSTATUS)) { mii_status 3405 drivers/net/ethernet/nvidia/forcedeth.c if (!(mii_status & BMSR_ANEGCOMPLETE)) { mii_status 4994 drivers/net/ethernet/nvidia/forcedeth.c int mii_status; mii_status 4997 drivers/net/ethernet/nvidia/forcedeth.c mii_status = mii_rw(dev, np->phyaddr, MII_BMSR, MII_READ); mii_status 5000 drivers/net/ethernet/nvidia/forcedeth.c if (!(mii_status & BMSR_LSTATUS)) mii_status 6049 drivers/net/ethernet/nvidia/forcedeth.c u32 mii_status = mii_rw(dev, np->phyaddr, MII_BMSR, MII_READ); mii_status 6050 drivers/net/ethernet/nvidia/forcedeth.c if (mii_status & PHY_GIGABIT) mii_status 751 drivers/net/ethernet/packetengines/hamachi.c int mii_status = mdio_read(dev, phy, MII_BMSR); mii_status 752 drivers/net/ethernet/packetengines/hamachi.c if (mii_status != 0xffff && mii_status 753 drivers/net/ethernet/packetengines/hamachi.c mii_status != 0x0000) { mii_status 758 drivers/net/ethernet/packetengines/hamachi.c dev->name, phy, mii_status, hmp->mii_if.advertising); mii_status 492 drivers/net/ethernet/packetengines/yellowfin.c int mii_status = mdio_read(ioaddr, phy, 1); mii_status 493 drivers/net/ethernet/packetengines/yellowfin.c if (mii_status != 0xffff && mii_status != 0x0000) { mii_status 497 drivers/net/ethernet/packetengines/yellowfin.c phy, mii_status, np->advertising); mii_status 1059 drivers/net/ethernet/realtek/8139too.c int mii_status = mdio_read(dev, phy, 1); mii_status 1060 drivers/net/ethernet/realtek/8139too.c if (mii_status != 0xffff && mii_status != 0x0000) { mii_status 1064 drivers/net/ethernet/realtek/8139too.c phy, mii_status, advertising); mii_status 315 drivers/net/ethernet/silan/sc92031.c u32 mii_status; mii_status 319 drivers/net/ethernet/silan/sc92031.c mii_status = ioread32(port_base + Miistatus); mii_status 320 drivers/net/ethernet/silan/sc92031.c } while (mii_status & Mii_StatusBusy); mii_status 322 drivers/net/ethernet/silan/sc92031.c return mii_status; mii_status 1317 drivers/net/ethernet/sis/sis190.c u16 mii_status) mii_status 1323 drivers/net/ethernet/sis/sis190.c phy->status = mii_status; mii_status 1338 drivers/net/ethernet/sis/sis190.c ((mii_status & (BMSR_100FULL | BMSR_100HALF)) ? mii_status 611 drivers/net/ethernet/sis/sis900.c u16 mii_status; mii_status 616 drivers/net/ethernet/sis/sis900.c mii_status = mdio_read(net_dev, phy_addr, MII_STATUS); mii_status 618 drivers/net/ethernet/sis/sis900.c if (mii_status == 0xffff || mii_status == 0x0000) { mii_status 640 drivers/net/ethernet/sis/sis900.c mii_phy->status = mii_status; mii_status 651 drivers/net/ethernet/sis/sis900.c (mii_status & (MII_STAT_CAN_TX_FDX | MII_STAT_CAN_TX)) ? LAN : HOME; mii_status 438 drivers/net/ethernet/smsc/epic100.c int mii_status = mdio_read(dev, phy, MII_BMSR); mii_status 439 drivers/net/ethernet/smsc/epic100.c if (mii_status != 0xffff && mii_status != 0x0000) { mii_status 444 drivers/net/ethernet/smsc/epic100.c phy, mdio_read(dev, phy, 0), mii_status); mii_status 1003 drivers/net/ethernet/via/via-rhine.c int mii_status = mdio_read(dev, phy_id, 1); mii_status 1006 drivers/net/ethernet/via/via-rhine.c if (mii_status != 0xffff && mii_status != 0x0000) { mii_status 1011 drivers/net/ethernet/via/via-rhine.c mii_status, rp->mii_if.advertising, mii_status 1015 drivers/net/ethernet/via/via-rhine.c if (mii_status & BMSR_LSTATUS) mii_status 605 drivers/net/ethernet/via/via-velocity.c vptr->mii_status = status; mii_status 866 drivers/net/ethernet/via/via-velocity.c static int velocity_set_media_mode(struct velocity_info *vptr, u32 mii_status) mii_status 871 drivers/net/ethernet/via/via-velocity.c vptr->mii_status = mii_check_media_mode(vptr->mac_regs); mii_status 872 drivers/net/ethernet/via/via-velocity.c curr_status = vptr->mii_status & (~VELOCITY_LINK_FAIL); mii_status 894 drivers/net/ethernet/via/via-velocity.c if (mii_status & VELOCITY_AUTONEG_ENABLE) { mii_status 922 drivers/net/ethernet/via/via-velocity.c if (mii_status & VELOCITY_SPEED_1000) mii_status 927 drivers/net/ethernet/via/via-velocity.c if (mii_status & VELOCITY_DUPLEX_FULL) { mii_status 943 drivers/net/ethernet/via/via-velocity.c if ((mii_status & VELOCITY_SPEED_1000) && mii_status 944 drivers/net/ethernet/via/via-velocity.c (mii_status & VELOCITY_DUPLEX_FULL)) { mii_status 949 drivers/net/ethernet/via/via-velocity.c if (!(mii_status & VELOCITY_DUPLEX_FULL) && (mii_status & VELOCITY_SPEED_10)) mii_status 957 drivers/net/ethernet/via/via-velocity.c if (mii_status & VELOCITY_SPEED_100) { mii_status 958 drivers/net/ethernet/via/via-velocity.c if (mii_status & VELOCITY_DUPLEX_FULL) mii_status 962 drivers/net/ethernet/via/via-velocity.c } else if (mii_status & VELOCITY_SPEED_10) { mii_status 963 drivers/net/ethernet/via/via-velocity.c if (mii_status & VELOCITY_DUPLEX_FULL) mii_status 989 drivers/net/ethernet/via/via-velocity.c if (vptr->mii_status & VELOCITY_LINK_FAIL) { mii_status 994 drivers/net/ethernet/via/via-velocity.c if (vptr->mii_status & VELOCITY_SPEED_1000) mii_status 996 drivers/net/ethernet/via/via-velocity.c else if (vptr->mii_status & VELOCITY_SPEED_100) mii_status 1001 drivers/net/ethernet/via/via-velocity.c if (vptr->mii_status & VELOCITY_DUPLEX_FULL) mii_status 1167 drivers/net/ethernet/via/via-velocity.c static void mii_init(struct velocity_info *vptr, u32 mii_status) mii_status 1175 drivers/net/ethernet/via/via-velocity.c if (vptr->mii_status & VELOCITY_DUPLEX_FULL) mii_status 1193 drivers/net/ethernet/via/via-velocity.c if (vptr->mii_status & VELOCITY_DUPLEX_FULL) mii_status 1213 drivers/net/ethernet/via/via-velocity.c if (vptr->mii_status & VELOCITY_DUPLEX_FULL) mii_status 1253 drivers/net/ethernet/via/via-velocity.c if (vptr->mii_status & (VELOCITY_SPEED_1000 | mii_status 1315 drivers/net/ethernet/via/via-velocity.c int i, mii_status; mii_status 1332 drivers/net/ethernet/via/via-velocity.c mii_status = velocity_get_opt_media_mode(vptr); mii_status 1333 drivers/net/ethernet/via/via-velocity.c if (velocity_set_media_mode(vptr, mii_status) != VELOCITY_LINK_CHANGE) { mii_status 1335 drivers/net/ethernet/via/via-velocity.c if (!(vptr->mii_status & VELOCITY_LINK_FAIL)) mii_status 1409 drivers/net/ethernet/via/via-velocity.c mii_status = velocity_get_opt_media_mode(vptr); mii_status 1412 drivers/net/ethernet/via/via-velocity.c mii_init(vptr, mii_status); mii_status 1414 drivers/net/ethernet/via/via-velocity.c if (velocity_set_media_mode(vptr, mii_status) != VELOCITY_LINK_CHANGE) { mii_status 1416 drivers/net/ethernet/via/via-velocity.c if (!(vptr->mii_status & VELOCITY_LINK_FAIL)) mii_status 1822 drivers/net/ethernet/via/via-velocity.c vptr->mii_status = check_connection_type(regs); mii_status 1830 drivers/net/ethernet/via/via-velocity.c if (vptr->mii_status & VELOCITY_DUPLEX_FULL) mii_status 1838 drivers/net/ethernet/via/via-velocity.c if (!(vptr->mii_status & VELOCITY_DUPLEX_FULL) && (vptr->mii_status & VELOCITY_SPEED_10)) mii_status 1851 drivers/net/ethernet/via/via-velocity.c vptr->mii_status &= ~VELOCITY_LINK_FAIL; mii_status 1854 drivers/net/ethernet/via/via-velocity.c vptr->mii_status |= VELOCITY_LINK_FAIL; mii_status 1868 drivers/net/ethernet/via/via-velocity.c if (vptr->mii_status & VELOCITY_LINK_FAIL) mii_status 1942 drivers/net/ethernet/via/via-velocity.c (!(vptr->mii_status & VELOCITY_LINK_FAIL))) { mii_status 2860 drivers/net/ethernet/via/via-velocity.c vptr->mii_status |= VELOCITY_LINK_FAIL; mii_status 3063 drivers/net/ethernet/via/via-velocity.c if (vptr->mii_status & VELOCITY_AUTONEG_ENABLE) { mii_status 3070 drivers/net/ethernet/via/via-velocity.c if (vptr->mii_status & VELOCITY_SPEED_1000) mii_status 1471 drivers/net/ethernet/via/via-velocity.h u32 mii_status;