Home
last modified time | relevance | path

Searched refs:mii_status (Results 1 – 21 of 21) sorted by relevance

/linux-2.6.39/drivers/net/
Dvia-velocity.c625 vptr->mii_status = status; in velocity_get_opt_media_mode()
889 static int velocity_set_media_mode(struct velocity_info *vptr, u32 mii_status) in velocity_set_media_mode() argument
894 vptr->mii_status = mii_check_media_mode(vptr->mac_regs); in velocity_set_media_mode()
895 curr_status = vptr->mii_status & (~VELOCITY_LINK_FAIL); in velocity_set_media_mode()
917 if (mii_status & VELOCITY_AUTONEG_ENABLE) { in velocity_set_media_mode()
945 if (mii_status & VELOCITY_SPEED_1000) in velocity_set_media_mode()
950 if (mii_status & VELOCITY_DUPLEX_FULL) { in velocity_set_media_mode()
966 if ((mii_status & VELOCITY_SPEED_1000) && in velocity_set_media_mode()
967 (mii_status & VELOCITY_DUPLEX_FULL)) { in velocity_set_media_mode()
972 if (!(mii_status & VELOCITY_DUPLEX_FULL) && (mii_status & VELOCITY_SPEED_10)) in velocity_set_media_mode()
[all …]
Dfec_mpc52xx.h49 u32 mii_status; /* FEC + 0x048 */ member
Dyellowfin.c497 int mii_status = mdio_read(ioaddr, phy, 1); in yellowfin_init_one() local
498 if (mii_status != 0xffff && mii_status != 0x0000) { in yellowfin_init_one()
502 phy, mii_status, np->advertising); in yellowfin_init_one()
Dsc92031.c322 u32 mii_status; in _sc92031_mii_wait() local
326 mii_status = ioread32(port_base + Miistatus); in _sc92031_mii_wait()
327 } while (mii_status & Mii_StatusBusy); in _sc92031_mii_wait()
329 return mii_status; in _sc92031_mii_wait()
Dsis900.c606 u16 mii_status; in sis900_mii_probe() local
611 mii_status = mdio_read(net_dev, phy_addr, MII_STATUS); in sis900_mii_probe()
613 if (mii_status == 0xffff || mii_status == 0x0000) { in sis900_mii_probe()
636 mii_phy->status = mii_status; in sis900_mii_probe()
647 (mii_status & (MII_STAT_CAN_TX_FDX | MII_STAT_CAN_TX)) ? LAN : HOME; in sis900_mii_probe()
Depic100.c457 int mii_status = mdio_read(dev, phy, MII_BMSR); in epic_init_one() local
458 if (mii_status != 0xffff && mii_status != 0x0000) { in epic_init_one()
463 phy, mdio_read(dev, phy, 0), mii_status); in epic_init_one()
Dsundance.c589 int mii_status = mdio_read(dev, phyx, MII_BMSR); in sundance_probe1() local
590 if (mii_status != 0xffff && mii_status != 0x0000) { in sundance_probe1()
593 if ((mii_status & 0x0040) == 0) in sundance_probe1()
597 dev->name, phyx, mii_status, np->mii_if.advertising); in sundance_probe1()
Dhamachi.c766 int mii_status = mdio_read(dev, phy, MII_BMSR); in hamachi_init_one() local
767 if (mii_status != 0xffff && in hamachi_init_one()
768 mii_status != 0x0000) { in hamachi_init_one()
773 dev->name, phy, mii_status, hmp->mii_if.advertising); in hamachi_init_one()
Dvia-rhine.c894 int mii_status = mdio_read(dev, phy_id, 1); in rhine_init_one() local
897 if (mii_status != 0xffff && mii_status != 0x0000) { in rhine_init_one()
902 mii_status, rp->mii_if.advertising, in rhine_init_one()
906 if (mii_status & BMSR_LSTATUS) in rhine_init_one()
Dfealnx.c586 int mii_status = mdio_read(dev, phy, 1); in fealnx_init_one() local
588 if (mii_status != 0xffff && mii_status != 0x0000) { in fealnx_init_one()
592 "0x%4.4x.\n", phy, mii_status); in fealnx_init_one()
Dstarfire.c842 int mii_status; in starfire_init_one() local
854 mii_status = mdio_read(dev, phy, MII_BMSR); in starfire_init_one()
855 if (mii_status != 0) { in starfire_init_one()
860 dev->name, phy, mii_status, np->mii_if.advertising); in starfire_init_one()
D3c59x.c1405 int mii_status, phyx; in vortex_probe1() local
1417 mii_status = mdio_read(dev, phyx, MII_BMSR); in vortex_probe1()
1418 if (mii_status && mii_status != 0xffff) { in vortex_probe1()
1422 phyx, mii_status); in vortex_probe1()
1424 if ((mii_status & 0x0040) == 0) in vortex_probe1()
D8139too.c1037 int mii_status = mdio_read(dev, phy, 1); in rtl8139_init_one() local
1038 if (mii_status != 0xffff && mii_status != 0x0000) { in rtl8139_init_one()
1042 phy, mii_status, advertising); in rtl8139_init_one()
Dforcedeth.c1365 u32 mii_status, mii_control, mii_control_1000, reg; in phy_init() local
1416 mii_status = mii_rw(dev, np->phyaddr, MII_BMSR, MII_READ); in phy_init()
1417 if (mii_status & PHY_GIGABIT) { in phy_init()
3045 int mii_status; in nv_update_linkspeed() local
3055 mii_status = mii_rw(dev, np->phyaddr, MII_BMSR, MII_READ); in nv_update_linkspeed()
3057 if (!(mii_status & BMSR_LSTATUS)) { in nv_update_linkspeed()
3082 if (!(mii_status & BMSR_ANEGCOMPLETE)) { in nv_update_linkspeed()
4574 int mii_status; in nv_link_test() local
4577 mii_status = mii_rw(dev, np->phyaddr, MII_BMSR, MII_READ); in nv_link_test()
4580 if (!(mii_status & BMSR_LSTATUS)) in nv_link_test()
[all …]
Dsis190.c1322 u16 mii_status) in sis190_init_phy() argument
1328 phy->status = mii_status; in sis190_init_phy()
1343 ((mii_status & (BMSR_100FULL | BMSR_100HALF)) ? in sis190_init_phy()
Ddl2k.c310 int mii_status = mii_read (dev, i, 1); in find_miiphy() local
311 if (mii_status != 0xffff && mii_status != 0x0000) { in find_miiphy()
Dvia-velocity.h1478 u32 mii_status; member
/linux-2.6.39/drivers/net/tulip/
Dmedia.c467 int mii_status = tulip_mdio_read (dev, phy, MII_BMSR); in tulip_find_mii() local
468 if ((mii_status & 0x8301) == 0x8001 || in tulip_find_mii()
469 ((mii_status & BMSR_100BASE4) == 0 && in tulip_find_mii()
470 (mii_status & 0x7800) != 0)) { in tulip_find_mii()
503 board_idx, phy, mii_reg0, mii_status, mii_advert); in tulip_find_mii()
Dwinbond-840.c449 int mii_status = mdio_read(dev, phy, MII_BMSR); in w840_probe1() local
450 if (mii_status != 0xffff && mii_status != 0x0000) { in w840_probe1()
457 np->mii, phy, mii_status, in w840_probe1()
/linux-2.6.39/drivers/net/pcmcia/
D3c574_cs.c399 int mii_status; in tc574_config() local
401 mii_status = mdio_read(ioaddr, phy & 0x1f, 1); in tc574_config()
402 if (mii_status != 0xffff) { in tc574_config()
406 phy, mii_status); in tc574_config()
407 if ((mii_status & 0x0040) == 0) in tc574_config()
/linux-2.6.39/drivers/net/bonding/
Dbond_sysfs.c1319 static DEVICE_ATTR(mii_status, S_IRUGO, bonding_show_mii_status, NULL);