/drivers/net/ethernet/ibm/emac/ |
H A D | phy.h | 76 void (*mdio_write) (struct net_device * dev, int addr, int reg, member in struct:mii_phy 80 /* Pass in a struct mii_phy with dev, mdio_read and mdio_write
|
/drivers/net/ethernet/cadence/ |
H A D | at91_ether.c | 617 static void mdio_write(struct net_device *dev, int phy_id, int location, int value) function 1055 lp->mii.mdio_write = mdio_write;
|
/drivers/net/ethernet/8390/ |
H A D | axnet_cs.c | 93 static void mdio_write(unsigned int addr, int phy_id, int loc, int value); 447 static void mdio_write(unsigned int addr, int phy_id, int loc, int value) function 622 mdio_write(mii_addr, data->phy_id, data->reg_num & 0x1f, data->val_in);
|
H A D | pcnet_cs.c | 723 static void mdio_write(unsigned int addr, int phy_id, int loc, int value) function 853 mdio_write(nic_base + DLINK_GPIO, info->eth_phy, 4, 0x01e1); 855 mdio_write(nic_base + DLINK_GPIO, info->eth_phy, 0, 0x0000); 856 mdio_write(nic_base + DLINK_GPIO, info->eth_phy, 0, 0x1200); 863 mdio_write(nic_base + DLINK_GPIO, info->eth_phy, 4, 0x01e1); 865 mdio_write(nic_base + DLINK_GPIO, info->eth_phy, 0, 0x0000); 866 mdio_write(nic_base + DLINK_GPIO, info->eth_phy, 0, 0x1200); 1081 mdio_write(mii_addr, info->phy_id, 0, 0x0400); 1085 mdio_write(mii_addr, info->phy_id, 0, 1116 mdio_write(mii_add [all...] |
/drivers/net/ethernet/ |
H A D | korina.c | 309 static void mdio_write(struct net_device *dev, int mii_id, int reg, int val) function 1175 lp->mii_if.mdio_write = mdio_write;
|
H A D | fealnx.c | 425 static void mdio_write(struct net_device *dev, int phy_id, int location, int value); 560 np->mii.mdio_write = mdio_write; 652 mdio_write(dev, np->phys[0], 9, data); 656 mdio_write(dev, np->phys[0], MII_ADVERTISE, ADVERTISE_FULL); 799 static void mdio_write(struct net_device *dev, int phyad, int regad, int data) function
|
/drivers/net/usb/ |
H A D | pegasus.c | 398 static void mdio_write(struct net_device *dev, int phy_id, int loc, int val) function 1361 pegasus->mii.mdio_write = mdio_write;
|
/drivers/net/ethernet/3com/ |
H A D | 3c574_cs.c | 223 static void mdio_write(unsigned int ioaddr, int phy_id, int location, 416 mdio_write(ioaddr, lp->phys, 16, i); 421 mdio_write(ioaddr, lp->phys, 4, lp->advertising); 569 static void mdio_write(unsigned int ioaddr, int phy_id, int location, int value) function 651 mdio_write(ioaddr, lp->phys, 4, lp->advertising); 655 mdio_write(ioaddr, lp->phys, 16, i); 1075 mdio_write(ioaddr, data->phy_id & 0x1f,
|
H A D | 3c59x.c | 762 static void mdio_write(struct net_device *vp, int phy_id, int location, int value); 1214 vp->mii.mdio_write = mdio_write; 1436 mdio_write(dev, vp->phys[0], 4, vp->advertising); 3161 static void mdio_write(struct net_device *dev, int phy_id, int location, int value) function
|
/drivers/net/ethernet/dec/tulip/ |
H A D | winbond-840.c | 327 static void mdio_write(struct net_device *dev, int phy_id, int location, int value); 413 np->mii_if.mdio_write = mdio_write; 602 static void mdio_write(struct net_device *dev, int phy_id, int location, int value) function 1472 mdio_write(dev, data->phy_id & 0x1f, data->reg_num & 0x1f, data->val_in);
|
/drivers/net/ethernet/icplus/ |
H A D | ipg.c | 308 static void mdio_write(struct net_device *dev, int phy_id, int phy_reg, int val) function 1967 mdio_write(dev, phy_address, address, value); 2011 mii_if->mdio_write = mdio_write; 2023 mdio_write(dev, phyaddr, MII_CTRL1000, mii_1000cr); 2032 mdio_write(dev, phyaddr, MII_BMCR, mii_phyctrl);
|
/drivers/net/ethernet/packetengines/ |
H A D | hamachi.c | 547 static void mdio_write(struct net_device *dev, int phy_id, int location, int value); 644 hmp->mii_if.mdio_write = mdio_write; 834 static void mdio_write(struct net_device *dev, int phy_id, int location, int value) function
|
H A D | yellowfin.c | 343 static void mdio_write(void __iomem *ioaddr, int phy_id, int location, int value); 555 static void mdio_write(void __iomem *ioaddr, int phy_id, int location, int value) function 1371 mdio_write(ioaddr, data->phy_id & 0x1f, data->reg_num & 0x1f, data->val_in);
|
/drivers/net/ethernet/sis/ |
H A D | sis900.c | 212 static void mdio_write(struct net_device *net_dev, int phy_id, int location, int val); 508 sis_priv->mii_info.mdio_write = mdio_write; 679 mdio_write(net_dev, sis_priv->cur_phy, 0x0018, 0xD200); 696 mdio_write(net_dev, sis_priv->cur_phy, MII_ANADV, 0x05e1); 697 mdio_write(net_dev, sis_priv->cur_phy, MII_CONFIG1, 0x22); 698 mdio_write(net_dev, sis_priv->cur_phy, MII_CONFIG2, 0xff00); 699 mdio_write(net_dev, sis_priv->cur_phy, MII_MASK, 0xffc0); 700 //mdio_write(net_dev, sis_priv->cur_phy, MII_CONTROL, 0x1000); 737 mdio_write(net_de 931 static void mdio_write(struct net_device *net_dev, int phy_id, int location, function [all...] |
H A D | sis190.c | 383 static void mdio_write(void __iomem *ioaddr, int phy_id, int reg, int val) function 402 mdio_write(tp->mmio_addr, phy_id, reg, val); 995 mdio_write(ioaddr, phy_id, 0x18, 0xf1c7); 997 mdio_write(ioaddr, phy_id, 0x1c, 0x8c00); 1284 mdio_write(ioaddr, phy->phy_id, MII_BMCR, 1313 mdio_write(ioaddr, mii_if->phy_id, MII_BMCR, status); 1369 mdio_write(ioaddr, phy_id, 0x1b, p[0]); 1371 mdio_write(ioaddr, phy_id, 0x14, p[1]); 1431 mii_if->mdio_write = __mdio_write; 1728 mdio_write(ioadd [all...] |
/drivers/net/ethernet/smsc/ |
H A D | epic100.c | 295 static void mdio_write(struct net_device *dev, int phy_id, int loc, int val); 386 ep->mii.mdio_write = mdio_write; 642 static void mdio_write(struct net_device *dev, int phy_id, int loc, int value) function 712 mdio_write(dev, ep->phys[0], MII_BMCR, media2miictl[dev->if_port&15]); 725 mdio_write(dev, ep->phys[0], MII_BMCR, BMCR_ANENABLE|BMCR_ANRESTART);
|
H A D | smc91c92_cs.c | 286 static void mdio_write(struct net_device *dev, int phy_id, int loc, int value); 327 smc->mii_if.mdio_write = mdio_write; 1006 static void mdio_write(struct net_device *dev, int phy_id, int loc, int value) function 1693 mdio_write(dev, smc->mii_if.phy_id, 0, 0x8000); 1696 mdio_write(dev, smc->mii_if.phy_id, 4, 0x01e1); 1699 mdio_write(dev, smc->mii_if.phy_id, 0, 0x0000); 1700 mdio_write(dev, smc->mii_if.phy_id, 0, 0x1200);
|
/drivers/net/ethernet/amd/ |
H A D | pcnet32.c | 323 static void mdio_write(struct net_device *dev, int phy_id, int reg_num, 1777 lp->mii_if.mdio_write = mdio_write; 2139 mdio_write(dev, i, MII_BMCR, 2142 mdio_write(dev, i, MII_BMCR, 2658 static void mdio_write(struct net_device *dev, int phy_id, int reg_num, int val) function 2708 mdio_write(dev, lp->mii_if.phy_id, MII_BMCR, 2713 mdio_write(dev, i, MII_BMCR,
|
/drivers/net/ethernet/atheros/atlx/ |
H A D | atl1.c | 1009 static void mdio_write(struct net_device *netdev, int phy_id, int reg_num, function 2968 adapter->mii.mdio_write = mdio_write;
|
/drivers/net/ethernet/dlink/ |
H A D | sundance.c | 420 static void mdio_write(struct net_device *dev, int phy_id, int location, int value); 554 np->mii_if.mdio_write = mdio_write; 649 mdio_write (dev, np->phys[0], MII_BMCR, BMCR_RESET); 653 mdio_write (dev, np->phys[0], MII_ADVERTISE, np->mii_if.advertising | 0x0400); 654 mdio_write (dev, np->phys[0], MII_BMCR, BMCR_ANENABLE|BMCR_ANRESTART); 660 mdio_write (dev, np->phys[0], MII_BMCR, mii_ctl); 781 static void mdio_write(struct net_device *dev, int phy_id, int location, int value) function
|
/drivers/net/ethernet/adaptec/ |
H A D | starfire.c | 589 static void mdio_write(struct net_device *dev, int phy_id, int location, int value); 769 np->mii_if.mdio_write = mdio_write; 836 mdio_write(dev, phy, MII_BMCR, BMCR_RESET); 897 static void mdio_write(struct net_device *dev, int phy_id, int location, int value) function 1111 mdio_write(dev, np->phys[0], MII_ADVERTISE, np->mii_if.advertising); 1112 mdio_write(dev, np->phys[0], MII_BMCR, BMCR_RESET); 1136 mdio_write(dev, np->phys[0], MII_BMCR, reg0);
|
/drivers/net/ethernet/realtek/ |
H A D | 8139cp.c | 1252 static void mdio_write(struct net_device *dev, int phy_id, int location, function 1850 cp->mii_if.mdio_write = mdio_write;
|
H A D | 8139too.c | 637 static void mdio_write (struct net_device *dev, int phy_id, int location, 1053 tp->mii.mdio_write = mdio_write; 1116 mdio_write(dev, tp->phys[0], 0, 1295 static void mdio_write (struct net_device *dev, int phy_id, int location, function
|
/drivers/net/ethernet/via/ |
H A D | via-rhine.c | 487 static void mdio_write(struct net_device *dev, int phy_id, int location, int value); 1007 rp->mii_if.mdio_write = mdio_write; 1045 mdio_write(dev, phy_id, MII_BMCR, mii_cmd); 1525 static void mdio_write(struct net_device *dev, int phy_id, int regnum, int value) function
|
/drivers/net/ethernet/intel/ |
H A D | e100.c | 933 static void mdio_write(struct net_device *netdev, int addr, int reg, int data) function 1091 nic->mii.mdio_write = mdio_write; 1478 mdio_write(netdev, addr, MII_BMCR, BMCR_ISOLATE); 1481 mdio_write(netdev, addr, MII_BMCR, 1491 mdio_write(netdev, nic->mii.phy_id, MII_BMCR, 1501 mdio_write(netdev, nic->mii.phy_id, MII_NSC_CONG, cong); 1512 mdio_write(netdev, nic->mii.phy_id, MII_ADVERTISE, advert); 1517 mdio_write(netdev, nic->mii.phy_id, MII_BMCR, bmcr); 1522 mdio_write(netde [all...] |