Home
last modified time | relevance | path

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

/external/syslinux/gpxe/src/drivers/net/
Dvia-velocity.c221 static void mii_init(struct velocity_info *vptr, u32 mii_status);
232 u32 mii_status);
900 if (vptr->mii_status & VELOCITY_LINK_FAIL) { in velocity_print_link_status()
905 if (vptr->mii_status & VELOCITY_SPEED_1000) in velocity_print_link_status()
907 else if (vptr->mii_status & VELOCITY_SPEED_100) in velocity_print_link_status()
912 if (vptr->mii_status & VELOCITY_DUPLEX_FULL) in velocity_print_link_status()
979 int i, mii_status; in velocity_init_registers() local
996 mii_status = velocity_get_opt_media_mode(vptr); in velocity_init_registers()
998 if (velocity_set_media_mode(vptr, mii_status) != in velocity_init_registers()
1001 if (!(vptr->mii_status & VELOCITY_LINK_FAIL)) in velocity_init_registers()
[all …]
Dforcedeth.c540 u32 phyinterface, phy_reserved, mii_status, mii_control, in phy_init() local
557 mii_status = mii_rw(nic, np->phyaddr, MII_BMSR, MII_READ); in phy_init()
559 if (mii_status & PHY_GIGABIT) { in phy_init()
721 u32 mii_status; in update_linkspeed() local
731 mii_status = mii_rw(nic, np->phyaddr, MII_BMSR, MII_READ); in update_linkspeed()
736 mii_status = mii_rw(nic, np->phyaddr, MII_BMSR, MII_READ); in update_linkspeed()
737 if((mii_status & BMSR_LSTATUS) && (mii_status & BMSR_ANEGCOMPLETE)) break; in update_linkspeed()
742 if (!(mii_status & BMSR_LSTATUS)) { in update_linkspeed()
752 if (!(mii_status & BMSR_ANEGCOMPLETE)) { in update_linkspeed()
Dsundance.c616 int mii_status = mdio_read(nic, phy, MII_BMSR); in sundance_probe() local
617 if (mii_status != 0xffff && mii_status != 0x0000) { in sundance_probe()
621 if ((mii_status & 0x0040) == 0) in sundance_probe()
624 …d at address %d, status " "%hX advertising %hX\n", sdc->nic_name, phy, mii_status, sdc->mii_if.adv… in sundance_probe()
Depic100.c196 int mii_status = mii_read(phy, 0); in epic100_probe() local
198 if (mii_status != 0xffff && mii_status != 0x0000) { in epic100_probe()
Dpcnet32.c915 int mii_status = mdio_read(nic, phy, MII_BMSR); in pcnet32_probe() local
916 if (mii_status != 0xffff && mii_status != 0x0000) { in pcnet32_probe()
920 if ((mii_status & 0x0040) == 0) { in pcnet32_probe()
923 "%hX advertising %hX\n", phy, mii_status, in pcnet32_probe()
Dw89c840.c692 int mii_status = mdio_read(ioaddr, phy, 1); in w89c840_probe() local
693 if (mii_status != 0xffff && mii_status != 0x0000) { in w89c840_probe()
699 "%X advertising %hX.\n", phy, mii_status, w840private.advertising); in w89c840_probe()
Dmtd80x.c647 int mii_status = mdio_read(nic, phy, 1); in mtd_probe() local
649 if (mii_status != 0xffff && mii_status != 0x0000) { in mtd_probe()
653 "0x%4.4x.\n", mtdx.nic_name, phy, mii_status ); in mtd_probe()
Dsis900.c392 u16 mii_status; in sis900_probe() local
395 mii_status = sis900_mdio_read(phy_addr, MII_STATUS); in sis900_probe()
396 if (mii_status == 0xffff || mii_status == 0x0000) in sis900_probe()
Dsis190.c751 u16 mii_status) in sis190_init_phy() argument
757 phy->status = mii_status; in sis190_init_phy()
772 ((mii_status & (BMSR_100FULL | BMSR_100HALF)) ? in sis190_init_phy()
Dtulip.c1474 int mii_status = mdio_read(nic, phy, 1); in start_link() local
1475 if ((mii_status & 0x8301) == 0x8001 || in start_link()
1476 ((mii_status & 0x8000) == 0 && (mii_status & 0x7800) != 0)) { in start_link()
1490 tp->nic_name, phy, mii_reg0, mii_status, mii_advert); in start_link()
Dvia-velocity.h1828 u32 mii_status; member