Searched refs:mdio_read (Results 1 - 10 of 10) sorted by relevance

/external/syslinux/gpxe/src/net/
H A Dmii.c44 mii->mdio_read ( mii->dev, mii->phy_id, MII_BMSR );
45 if ( mii->mdio_read ( mii->dev, mii->phy_id, MII_BMSR ) & BMSR_LSTATUS )
120 advertise = mii->mdio_read ( mii->dev, mii->phy_id, MII_ADVERTISE );
123 lpa = mii->mdio_read ( mii->dev, mii->phy_id, MII_LPA );
125 lpa2 = mii->mdio_read ( mii->dev, mii->phy_id, MII_STAT1000 );
/external/syslinux/gpxe/src/drivers/net/
H A Dsis190.c107 static int mdio_read(void *ioaddr, int phy_id, int reg) function
126 return mdio_read(tp->mmio_addr, phy_id, reg);
131 mdio_read(ioaddr, phy_id, reg);
132 return mdio_read(ioaddr, phy_id, reg);
463 val = mdio_read(ioaddr, phy_id, MII_BMCR);
469 val = mdio_read(ioaddr, phy_id, MII_BMCR);
506 val = mdio_read(ioaddr, phy_id, 0x1f);
508 val = mdio_read(ioaddr, phy_id, MII_LPA);
509 adv = mdio_read(ioaddr, phy_id, MII_ADVERTISE);
511 autoexp = mdio_read(ioadd
[all...]
H A Dmtd80x.c365 static int mdio_read(struct nic * , int phy_id, int location);
647 int mii_status = mdio_read(nic, phy, 1);
658 data = mdio_read(nic, mtdx.phys[phy_idx], 2);
811 static int mdio_read(struct nic *nic __unused, int phyad, int regad) function
907 if (mdio_read(nic, mtdx.phys[0], MII_BMSR) & BMSR_LSTATUS) {
935 data = mdio_read(dev, mtdx.phys[0], MIIRegister18);
947 data = mdio_read(dev, mtdx.phys[0], DiagnosticReg);
961 data = mdio_read(dev, mtdx.phys[0], SpecificReg);
979 data = mdio_read(dev, mtdx.phys[0], StatusRegister);
996 data = mdio_read(de
[all...]
H A Dsundance.c285 static int mdio_read(struct nic *nic, int phy_id, unsigned int location);
292 int mii_lpa = mdio_read(nic, sdc->phys[0], MII_LPA);
616 int mii_status = mdio_read(nic, phy, MII_BMSR);
620 mdio_read(nic, phy, MII_ADVERTISE);
711 mdio_read(nic, sdc->phys[0], MII_ADVERTISE);
712 mii_lpa = mdio_read(nic, sdc->phys[0], MII_LPA);
723 mii_ctl = mdio_read(nic, sdc->phys[0], MII_BMCR);
801 mdio_read(struct nic *nic __unused, int phy_id, unsigned int location) function
H A Dw89c840.c262 static int mdio_read(int base_address, int phy_id, int location);
692 int mii_status = mdio_read(ioaddr, phy, 1);
695 w840private.advertising = mdio_read(ioaddr, phy, 4);
806 static int mdio_read(int base_address, int phy_id, int location) function
870 int mii_reg5 = mdio_read(ioaddr, w840private.phys[0], 5);
H A Dpcnet32.c254 static int mdio_read(struct nic *nic __unused, int phy_id, int reg_num);
915 int mii_status = mdio_read(nic, phy, MII_BMSR);
919 mdio_read(nic, phy, MII_ADVERTISE);
933 mdio_read(nic, lp->phys[0], MII_ADVERTISE);
935 mii_lpa = mdio_read(nic, lp->phys[0], MII_LPA);
960 static int mdio_read(struct nic *nic __unused, int phy_id, int reg_num) function
H A Dr8169.c69 static int mdio_read(void *ioaddr, int reg_addr) function
73 DBGP ( "mdio_read\n" );
95 mdio_write(ioaddr, reg_addr, mdio_read(ioaddr, reg_addr) | value);
192 return mdio_read(ioaddr, MII_BMCR) & BMCR_RESET;
222 val = mdio_read(ioaddr, MII_BMCR) | BMCR_RESET;
258 auto_nego = mdio_read(ioaddr, MII_ADVERTISE);
261 giga_ctrl = mdio_read(ioaddr, MII_CTRL1000);
347 val = mdio_read(ioaddr, reg);
494 val = (mdio_read(ioaddr, pos) & 0x0fff) | (p->regs[0] & 0xffff);
701 if (mdio_read(ioadd
[all...]
H A Dtulip.c495 static int mdio_read(struct nic *nic, int phy_id, int location);
586 int mdio_read(struct nic *nic __unused, int phy_id, int location)
594 whereami("mdio_read\n");
1488 int mii_status = mdio_read(nic, phy, 1);
1491 int mii_reg0 = mdio_read(nic, phy, 0);
1492 int mii_advert = mdio_read(nic, phy, 4);
1683 tp->nic_name, tp->phys[0], mdio_read(nic, tp->phys[0], 1));
2013 bmsr = mdio_read(nic, tp->phys[0], 1);
2014 lpa = mdio_read(nic, tp->phys[0], 5);
2025 int new_bmsr = mdio_read(ni
582 int mdio_read(struct nic *nic __unused, int phy_id, int location) function
[all...]
H A Datl1e.c1162 adapter->mii.mdio_read = atl1e_mdio_read;
/external/syslinux/gpxe/src/include/
H A Dmii.h156 int (*mdio_read) (struct net_device *dev, int phy_id, int location); member in struct:mii_if_info

Completed in 829 milliseconds