Searched defs:mii_status (Results 1 - 20 of 20) sorted by relevance

/drivers/net/ethernet/dec/tulip/
H A Dmedia.c463 int mii_status = tulip_mdio_read (dev, phy, MII_BMSR); local
464 if ((mii_status & 0x8301) == 0x8001 ||
465 ((mii_status & BMSR_100BASE4) == 0 &&
466 (mii_status & 0x7800) != 0)) {
499 board_idx, phy, mii_reg0, mii_status, mii_advert);
H A Dwinbond-840.c451 int mii_status = mdio_read(dev, phy, MII_BMSR); local
452 if (mii_status != 0xffff && mii_status != 0x0000) {
459 np->mii, phy, mii_status,
/drivers/net/ethernet/dlink/
H A Ddl2k.c310 int mii_status = mii_read (dev, i, 1); local
311 if (mii_status != 0xffff && mii_status != 0x0000) {
H A Dsundance.c589 int mii_status = mdio_read(dev, phyx, MII_BMSR); local
590 if (mii_status != 0xffff && mii_status != 0x0000) {
593 if ((mii_status & 0x0040) == 0)
597 dev->name, phyx, mii_status, np->mii_if.advertising);
/drivers/net/ethernet/3com/
H A D3c574_cs.c398 int mii_status; local
400 mii_status = mdio_read(ioaddr, phy & 0x1f, 1);
401 if (mii_status != 0xffff) {
405 phy, mii_status);
406 if ((mii_status & 0x0040) == 0)
H A D3c59x.c1404 int mii_status, phyx; local
1416 mii_status = mdio_read(dev, phyx, MII_BMSR);
1417 if (mii_status && mii_status != 0xffff) {
1421 phyx, mii_status);
1423 if ((mii_status & 0x0040) == 0)
/drivers/net/ethernet/freescale/
H A Dfec_mpc52xx.h49 u32 mii_status; /* FEC + 0x048 */ member in struct:mpc52xx_fec
/drivers/net/ethernet/packetengines/
H A Dhamachi.c756 int mii_status = mdio_read(dev, phy, MII_BMSR); local
757 if (mii_status != 0xffff &&
758 mii_status != 0x0000) {
763 dev->name, phy, mii_status, hmp->mii_if.advertising);
H A Dyellowfin.c496 int mii_status = mdio_read(ioaddr, phy, 1); local
497 if (mii_status != 0xffff && mii_status != 0x0000) {
501 phy, mii_status, np->advertising);
/drivers/net/ethernet/sis/
H A Dsis900.c606 u16 mii_status; local
611 mii_status = mdio_read(net_dev, phy_addr, MII_STATUS);
613 if (mii_status == 0xffff || mii_status == 0x0000) {
635 mii_phy->status = mii_status;
646 (mii_status & (MII_STAT_CAN_TX_FDX | MII_STAT_CAN_TX)) ? LAN : HOME;
H A Dsis190.c1321 u16 mii_status)
1327 phy->status = mii_status;
1342 ((mii_status & (BMSR_100FULL | BMSR_100HALF)) ?
1319 sis190_init_phy(struct net_device *dev, struct sis190_private *tp, struct sis190_phy *phy, unsigned int phy_id, u16 mii_status) argument
/drivers/net/ethernet/smsc/
H A Depic100.c456 int mii_status = mdio_read(dev, phy, MII_BMSR); local
457 if (mii_status != 0xffff && mii_status != 0x0000) {
462 phy, mdio_read(dev, phy, 0), mii_status);
/drivers/net/ethernet/via/
H A Dvia-velocity.c584 * mii_status accordingly. The requested link state information
611 vptr->mii_status = status;
866 * @mii_status: old MII link state
872 static int velocity_set_media_mode(struct velocity_info *vptr, u32 mii_status) argument
877 vptr->mii_status = mii_check_media_mode(vptr->mac_regs);
878 curr_status = vptr->mii_status & (~VELOCITY_LINK_FAIL);
885 if (((mii_status & curr_status) & VELOCITY_AUTONEG_ENABLE) ||
886 (mii_status==curr_status)) {
887 vptr->mii_status=mii_check_media_mode(vptr->mac_regs);
888 vptr->mii_status
1173 mii_init(struct velocity_info *vptr, u32 mii_status) argument
1309 int i, mii_status; local
[all...]
H A Dvia-rhine.c1043 int mii_status = mdio_read(dev, phy_id, 1); local
1046 if (mii_status != 0xffff && mii_status != 0x0000) {
1051 mii_status, rp->mii_if.advertising,
1055 if (mii_status & BMSR_LSTATUS)
H A Dvia-velocity.h1478 u32 mii_status; member in struct:velocity_info
/drivers/net/ethernet/
H A Dfealnx.c586 int mii_status = mdio_read(dev, phy, 1); local
588 if (mii_status != 0xffff && mii_status != 0x0000) {
592 "0x%4.4x.\n", phy, mii_status);
/drivers/net/ethernet/silan/
H A Dsc92031.c317 u32 mii_status; local
321 mii_status = ioread32(port_base + Miistatus);
322 } while (mii_status & Mii_StatusBusy);
324 return mii_status;
/drivers/net/ethernet/adaptec/
H A Dstarfire.c834 int mii_status; local
846 mii_status = mdio_read(dev, phy, MII_BMSR);
847 if (mii_status != 0) {
852 dev->name, phy, mii_status, np->mii_if.advertising);
/drivers/net/ethernet/realtek/
H A D8139too.c1079 int mii_status = mdio_read(dev, phy, 1); local
1080 if (mii_status != 0xffff && mii_status != 0x0000) {
1084 phy, mii_status, advertising);
/drivers/net/ethernet/nvidia/
H A Dforcedeth.c1391 u32 mii_status, mii_control, mii_control_1000, reg; local
1442 mii_status = mii_rw(dev, np->phyaddr, MII_BMSR, MII_READ);
1443 if (mii_status & PHY_GIGABIT) {
3154 int mii_status; local
3160 mii_status = mii_rw(dev, np->phyaddr, MII_BMSR, MII_READ);
3161 if (mii_status & PHY_GIGABIT) {
3236 int mii_status; local
3260 mii_status = mii_rw(dev, np->phyaddr, MII_BMSR, MII_READ);
3262 if (!(mii_status & BMSR_LSTATUS)) {
3287 if (!(mii_status
4851 int mii_status; local
5892 u32 mii_status = mii_rw(dev, np->phyaddr, MII_BMSR, MII_READ); local
[all...]

Completed in 3100 milliseconds