/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/net/chelsio/ |
H A D | mv88x201x.c | 65 mdio_read(cphy, 0x1, 0x7, &led); 125 mdio_read(cphy, 0x1, 0x9003, &val); 126 mdio_read(cphy, 0x1, 0x9004, &val); 127 mdio_read(cphy, 0x1, 0x9005, &val); 132 mdio_read(cphy, 0x1, 0x1, &val); 136 mdio_read(cphy, 0x1, 0x1, &val); 138 mdio_read(cphy, 0x1, 0x9005, &val); 142 mdio_read(cphy, 0x1, 0x9003, &val); 143 mdio_read(cphy, 0x1, 0x9004, &val); 179 mdio_read(cph [all...] |
H A D | cphy.h | 104 int (*mdio_read)(adapter_t *adapter, int phy_addr, int mmd_addr, member in struct:cphy 112 static inline int mdio_read(struct cphy *cphy, int mmd, int reg, function 115 return cphy->mdio_read(cphy->adapter, cphy->addr, mmd, reg, valp); 127 return mdio_read(cphy, 0, reg, valp); 145 phy->mdio_read = mdio_ops->read;
|
H A D | my3126.c | 46 mdio_read(cphy, 0x1, 0x1, &val); 117 mdio_read(cphy, 0x1, 0x1, &val);
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/net/cxgb3/ |
H A D | vsc8211.c | 100 return mdio_read(cphy, 0, VSC8211_INTR_STATUS, &val); 121 err = mdio_read(cphy, 0, MII_BMCR, &bmcr); 123 err = mdio_read(cphy, 0, MII_BMSR, &status); 133 err = mdio_read(cphy, 0, MII_BMSR, &status); 147 err = mdio_read(cphy, 0, VSC8211_AUX_CTRL_STAT, &status); 161 err = mdio_read(cphy, 0, MII_LPA, &lpa); 163 err = mdio_read(cphy, 0, MII_ADVERTISE, &adv); 198 err = mdio_read(cphy, 0, VSC8211_INTR_STATUS, &cause);
|
H A D | ael1002.c | 92 int err = mdio_read(phy, MDIO_DEV_PMA_PMD, MII_BMSR, &status); 99 err = mdio_read(phy, MDIO_DEV_PMA_PMD, MII_BMSR, 148 return mdio_read(phy, MDIO_DEV_PMA_PMD, LASI_STAT, &val); 154 int err = mdio_read(phy, MDIO_DEV_PMA_PMD, LASI_STAT, &status); 205 if (!phy_addr && !mdio_read(phy, MDIO_DEV_PMA_PMD, MII_BMSR, &stat) &&
|
H A D | common.h | 544 int (*mdio_read)(struct adapter *adapter, int phy_addr, int mmd_addr, member in struct:cphy 551 static inline int mdio_read(struct cphy *phy, int mmd, int reg, function 554 return phy->mdio_read(phy->adapter, phy->addr, mmd, reg, valp); 572 phy->mdio_read = mdio_ops->read;
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/net/ |
H A D | mii.c | 67 advert = mii->mdio_read(dev, mii->phy_id, MII_ADVERTISE); 69 advert2 = mii->mdio_read(dev, mii->phy_id, MII_CTRL1000); 84 bmcr = mii->mdio_read(dev, mii->phy_id, MII_BMCR); 85 lpa = mii->mdio_read(dev, mii->phy_id, MII_LPA); 87 bmcr2 = mii->mdio_read(dev, mii->phy_id, MII_CTRL1000); 88 lpa2 = mii->mdio_read(dev, mii->phy_id, MII_STAT1000); 167 advert = mii->mdio_read(dev, mii->phy_id, MII_ADVERTISE); 170 advert2 = mii->mdio_read(dev, mii->phy_id, MII_CTRL1000); 195 bmcr = mii->mdio_read(dev, mii->phy_id, MII_BMCR); 204 bmcr = mii->mdio_read(de [all...] |
H A D | sis900.c | 162 static int mdio_read(struct net_device *net_dev, int phy_id, int location); 439 sis_priv->mii_info.mdio_read = mdio_read; 545 mii_status = mdio_read(net_dev, phy_addr, MII_STATUS); 567 mii_phy->phy_id0 = mdio_read(net_dev, phy_addr, MII_PHY_ID0); 568 mii_phy->phy_id1 = mdio_read(net_dev, phy_addr, MII_PHY_ID1); 619 poll_bit ^= (mdio_read(net_dev, sis_priv->cur_phy, MII_STATUS) & poll_bit); 662 status = mdio_read(net_dev, phy->phy_addr, MII_STATUS); 663 status = mdio_read(net_dev, phy->phy_addr, MII_STATUS); 670 status = mdio_read(net_de 823 static int mdio_read(struct net_device *net_dev, int phy_id, int location) function [all...] |
H A D | sungem_phy.h | 56 int (*mdio_read) (struct net_device *dev, int mii_id, int reg); member in struct:mii_phy 61 /* Pass in a struct mii_phy with dev, mdio_read and mdio_write
|
H A D | sis190.c | 398 static int mdio_read(void __iomem *ioaddr, int phy_id, int reg) function 417 return mdio_read(tp->mmio_addr, phy_id, reg); 422 mdio_read(ioaddr, phy_id, reg); 423 return mdio_read(ioaddr, phy_id, reg); 915 val = mdio_read(ioaddr, phy_id, MII_BMCR); 948 val = mdio_read(ioaddr, phy_id, 0x1f); 951 val = mdio_read(ioaddr, phy_id, MII_LPA); 952 adv = mdio_read(ioaddr, phy_id, MII_ADVERTISE); 1256 status = mdio_read(ioaddr, phy->phy_id, MII_BMCR); 1283 status = mdio_read(ioadd [all...] |
H A D | fealnx.c | 426 static int mdio_read(struct net_device *dev, int phy_id, int location); 550 np->mii.mdio_read = mdio_read; 576 int mii_status = mdio_read(dev, phy, 1); 587 data = mdio_read(dev, np->phys[0], 2); 640 data = mdio_read(dev, np->phys[0], 9); 759 static int mdio_read(struct net_device *dev, int phyad, int regad) function 955 if (mdio_read(dev, np->phys[0], MII_BMSR) & BMSR_LSTATUS) { 982 data = mdio_read(dev, np->phys[0], MIIRegister18); 994 data = mdio_read(de [all...] |
H A D | natsemi.c | 612 static int mdio_read(struct net_device *dev, int reg); 766 tmp = mdio_read(dev, MII_BMCR); 770 np->advertising= mdio_read(dev, MII_ADVERTISE); 777 (mdio_read(dev, MII_BMCR) & BMCR_ANENABLE)? 789 pci_name(np->pci_dev), mdio_read(dev, MII_BMSR), 1124 static int mdio_read(struct net_device *dev, int reg) function 1160 tmp = mdio_read(dev, MII_BMCR); 1164 || np->advertising != mdio_read(dev, MII_ADVERTISE)) 1190 np->mii = (mdio_read(dev, MII_PHYSID1) << 16) 1191 + mdio_read(de [all...] |
H A D | starfire.c | 627 static int mdio_read(struct net_device *dev, int phy_id, int location); 799 np->mii_if.mdio_read = mdio_read; 879 if ((mdio_read(dev, phy, MII_BMCR) & BMCR_RESET) == 0) 885 mii_status = mdio_read(dev, phy, MII_BMSR); 888 np->mii_if.advertising = mdio_read(dev, phy, MII_ADVERTISE); 919 static int mdio_read(struct net_device *dev, int phy_id, int location) function 1063 np->mii_if.advertising = mdio_read(dev, np->phys[0], MII_ADVERTISE); 1112 while (--silly_count && mdio_read(dev, np->phys[0], MII_BMCR) & BMCR_RESET) 1119 reg0 = mdio_read(de [all...] |
H A D | epic100.c | 289 static int mdio_read(struct net_device *dev, int phy_id, int location); 371 ep->mii.mdio_read = mdio_read; 442 int mii_status = mdio_read(dev, phy, MII_BMSR); 448 phy, mdio_read(dev, phy, 0), mii_status); 454 ep->mii.advertising = mdio_read(dev, phy, MII_ADVERTISE); 458 ep->mii.advertising, mdio_read(dev, phy, 5)); 614 static int mdio_read(struct net_device *dev, int phy_id, int location) function 705 dev->name, mdio_read(dev, ep->phys[0], MII_BMSR)); 708 int mii_lpa = mdio_read(de [all...] |
H A D | sundance.c | 410 static int mdio_read(struct net_device *dev, int phy_id, int location); 528 np->mii_if.mdio_read = mdio_read; 566 int mii_status = mdio_read(dev, phyx, MII_BMSR); 569 np->mii_if.advertising = mdio_read(dev, phyx, MII_ADVERTISE); 726 static int mdio_read(struct net_device *dev, int phy_id, int location) function 864 int mii_lpa = mdio_read(dev, np->phys[0], MII_LPA); 1394 mii_advertise = mdio_read (dev, np->phys[0], MII_ADVERTISE); 1395 mii_lpa= mdio_read (dev, np->phys[0], MII_LPA); 1414 mii_ctl = mdio_read (de [all...] |
H A D | via-rhine.c | 401 static int mdio_read(struct net_device *dev, int phy_id, int location); 764 rp->mii_if.mdio_read = mdio_read; 811 int mii_status = mdio_read(dev, phy_id, 1); 812 mii_cmd = mdio_read(dev, phy_id, MII_BMCR) & ~BMCR_ISOLATE; 815 rp->mii_if.advertising = mdio_read(dev, phy_id, 4); 820 mdio_read(dev, phy_id, 5)); 1110 static int mdio_read(struct net_device *dev, int phy_id, int regnum) function 1174 mdio_read(dev, rp->mii_if.phy_id, MII_BMSR)); 1189 mdio_read(de [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/net/ibm_emac/ |
H A D | ibm_emac_phy.h | 69 int (*mdio_read) (struct net_device * dev, int addr, int reg); member in struct:mii_phy 74 /* Pass in a struct mii_phy with dev, mdio_read and mdio_write
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/net/fs_enet/ |
H A D | mii-bitbang.c | 87 static inline int mdio_read(struct bb_info *bitbang ) function 196 if (mdio_read(bitbang) != 0) { 217 rdreg |= mdio_read(bitbang);
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/powerpc/platforms/pasemi/ |
H A D | gpio_mdio.c | 77 static inline int mdio_read(struct mii_bus *bus) function 151 rdreg |= mdio_read(bus);
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/net/tulip/ |
H A D | xircom_tulip_cb.c | 321 static int mdio_read(struct net_device *dev, int phy_id, int location); 453 int mii_status = mdio_read(dev, phy, MII_BMSR); 457 int mii_reg0 = mdio_read(dev, phy, MII_BMCR); 458 int mii_advert = mdio_read(dev, phy, MII_ADVERTISE); 665 static int mdio_read(struct net_device *dev, int phy_id, int location) function 963 mdio_read(dev, tp->phys[0], MII_BMCR); 964 mdio_read(dev, tp->phys[0], MII_BMSR); 966 reg0 = mdio_read(dev, tp->phys[0], MII_BMCR); 967 reg1 = mdio_read(dev, tp->phys[0], MII_BMSR); 973 reg4 = mdio_read(de [all...] |
H A D | winbond-840.c | 323 static int mdio_read(struct net_device *dev, int phy_id, int location); 399 np->mii_if.mdio_read = mdio_read; 446 int mii_status = mdio_read(dev, phy, MII_BMSR); 449 np->mii_if.advertising = mdio_read(dev, phy, MII_ADVERTISE); 450 np->mii = (mdio_read(dev, phy, MII_PHYSID1) << 16)+ 451 mdio_read(dev, phy, MII_PHYSID2); 566 static int mdio_read(struct net_device *dev, int phy_id, int location) function 678 mii_reg = mdio_read(dev, np->phys[0], MII_BMSR); 683 mii_reg = mdio_read(de [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/net/pcmcia/ |
H A D | 3c574_cs.c | 232 static int mdio_read(kio_addr_t ioaddr, int phy_id, int location); 426 mii_status = mdio_read(ioaddr, phy & 0x1f, 1); 440 i = mdio_read(ioaddr, lp->phys, 16) | 0x40; 442 lp->advertising = mdio_read(ioaddr, lp->phys, 4); 582 static int mdio_read(kio_addr_t ioaddr, int phy_id, int location) function 694 int i = mdio_read(ioaddr, lp->phys, 16) | 0x20; 930 media = mdio_read(ioaddr, lp->phys, 1); 931 partner = mdio_read(ioaddr, lp->phys, 5); 1112 data[3] = mdio_read(ioaddr, data[0] & 0x1f, data[1] & 0x1f);
|
H A D | pcnet_cs.c | 769 static int mdio_read(kio_addr_t addr, int phy_id, int loc) function 945 tmp = mdio_read(mii_addr, i, 1); 948 tmp = mdio_read(mii_addr, i, MII_PHYID_REG1); 950 phyid |= mdio_read(mii_addr, i, MII_PHYID_REG2); 1099 mdio_read(mii_addr, info->phy_id, 1); 1100 link = mdio_read(mii_addr, info->phy_id, 1); 1113 u_short p = mdio_read(mii_addr, info->phy_id, 5); 1139 link = mdio_read(mii_addr, info->eth_phy, 1) & 0x0004; 1183 data[3] = mdio_read(mii_addr, data[0], data[1] & 0x1f);
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/net/fec_8xx/ |
H A D | fec_mii.c | 379 val = (*mii->mdio_read) (mii->dev, mii->phy_id, MII_BMSR); 383 advert = (*mii->mdio_read) (mii->dev, mii->phy_id, MII_ADVERTISE); 384 lpa = (*mii->mdio_read) (mii->dev, mii->phy_id, MII_LPA);
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/linux/ |
H A D | mii.h | 163 int (*mdio_read) (struct net_device *dev, int phy_id, int location); member in struct:mii_if_info
|