Searched refs:mdio_write (Results 1 - 25 of 70) sorted by path

123

/linux-master/drivers/net/ethernet/ibm/emac/
H A Dphy.c42 phy->mdio_write(phy->dev, phy->address, reg, val);
52 phy->mdio_write(phy->dev, phy->gpcs_address, reg, val);
H A Dphy.h72 void (*mdio_write) (struct net_device * dev, int addr, int reg, member in struct:mii_phy
76 /* Pass in a struct mii_phy with dev, mdio_read and mdio_write
/linux-master/drivers/net/ethernet/sfc/falcon/
H A Dmdio_10g.h30 efx->mdio.mdio_write(efx->net_dev, efx->mdio.prtad, devad, addr, value);
/linux-master/drivers/net/ethernet/3com/
H A D3c574_cs.c222 static void mdio_write(unsigned int ioaddr, int phy_id, int location,
413 mdio_write(ioaddr, lp->phys, 16, i);
418 mdio_write(ioaddr, lp->phys, 4, lp->advertising);
566 static void mdio_write(unsigned int ioaddr, int phy_id, int location, int value) function
648 mdio_write(ioaddr, lp->phys, 4, lp->advertising);
652 mdio_write(ioaddr, lp->phys, 16, i);
1071 mdio_write(ioaddr, data->phy_id & 0x1f,
H A D3c59x.c760 static void mdio_write(struct net_device *vp, int phy_id, int location, int value);
1206 vp->mii.mdio_write = mdio_write;
1428 mdio_write(dev, vp->phys[0], 4, vp->advertising);
3192 static void mdio_write(struct net_device *dev, int phy_id, int location, int value) function
/linux-master/drivers/net/ethernet/8390/
H A Daxnet_cs.c92 static void mdio_write(unsigned int addr, int phy_id, int loc, int value);
448 static void mdio_write(unsigned int addr, int phy_id, int loc, int value) function
621 mdio_write(mii_addr, data->phy_id, data->reg_num & 0x1f, data->val_in);
H A Dpcnet_cs.c734 static void mdio_write(unsigned int addr, int phy_id, int loc, int value) function
864 mdio_write(nic_base + DLINK_GPIO, info->eth_phy, 4, 0x01e1);
866 mdio_write(nic_base + DLINK_GPIO, info->eth_phy, 0, 0x0000);
867 mdio_write(nic_base + DLINK_GPIO, info->eth_phy, 0, 0x1200);
874 mdio_write(nic_base + DLINK_GPIO, info->eth_phy, 4, 0x01e1);
876 mdio_write(nic_base + DLINK_GPIO, info->eth_phy, 0, 0x0000);
877 mdio_write(nic_base + DLINK_GPIO, info->eth_phy, 0, 0x1200);
1089 mdio_write(mii_addr, info->phy_id, 0, 0x0400);
1093 mdio_write(mii_addr, info->phy_id, 0,
1125 mdio_write(mii_add
[all...]
/linux-master/drivers/net/ethernet/adaptec/
H A Dstarfire.c568 static void mdio_write(struct net_device *dev, int phy_id, int location, int value);
739 np->mii_if.mdio_write = mdio_write;
791 mdio_write(dev, phy, MII_BMCR, BMCR_RESET);
851 static void mdio_write(struct net_device *dev, int phy_id, int location, int value) function
1068 mdio_write(dev, np->phys[0], MII_ADVERTISE, np->mii_if.advertising);
1069 mdio_write(dev, np->phys[0], MII_BMCR, BMCR_RESET);
1093 mdio_write(dev, np->phys[0], MII_BMCR, reg0);
/linux-master/drivers/net/ethernet/amd/
H A Damd8111e.c1837 lp->mii_if.mdio_write = amd8111e_mdio_write;
H A Dpcnet32.c322 static void mdio_write(struct net_device *dev, int phy_id, int reg_num,
1879 lp->mii_if.mdio_write = mdio_write;
2232 mdio_write(dev, i, MII_BMCR,
2235 mdio_write(dev, i, MII_BMCR,
2765 static void mdio_write(struct net_device *dev, int phy_id, int reg_num, int val) function
2815 mdio_write(dev, lp->mii_if.phy_id, MII_BMCR,
2820 mdio_write(dev, i, MII_BMCR,
/linux-master/drivers/net/ethernet/atheros/alx/
H A Dmain.c1846 hw->mdio.mdio_write = alx_mdio_write;
/linux-master/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_main.c2688 adapter->mii.mdio_write = atl1c_mdio_write;
/linux-master/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_main.c2359 adapter->mii.mdio_write = atl1e_mdio_write;
/linux-master/drivers/net/ethernet/atheros/atlx/
H A Datl1.c989 static void mdio_write(struct net_device *netdev, int phy_id, int reg_num, function
2975 adapter->mii.mdio_write = mdio_write;
/linux-master/drivers/net/ethernet/broadcom/
H A Db44.c2392 bp->mii_if.mdio_write = b44_mdio_write_mii;
H A Dbcm63xx_enet.c1615 mii.mdio_write = bcm_enet_mdio_write_mii;
2439 mii.mdio_write = bcm_enetsw_mii_mdio_write;
/linux-master/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c12796 "mdio_write: prtad 0x%x, devad 0x%x, addr 0x%x, value 0x%x\n",
13248 bp->mdio.mdio_write = bnx2x_mdio_write;
/linux-master/drivers/net/ethernet/chelsio/cxgb/
H A Dcphy.h113 return cphy->mdio.mdio_write(cphy->mdio.dev, cphy->mdio.prtad, mmd,
142 phy->mdio.mdio_write = mdio_ops->write;
/linux-master/drivers/net/ethernet/chelsio/cxgb3/
H A Dcommon.h572 return phy->mdio.mdio_write(phy->mdio.dev, phy->mdio.prtad, mmd,
591 phy->mdio.mdio_write = mdio_ops->write;
/linux-master/drivers/net/ethernet/cirrus/
H A Dep93xx_eth.c838 ep->mii.mdio_write = ep93xx_mdio_write;
/linux-master/drivers/net/ethernet/davicom/
H A Ddm9000.c1666 db->mii.mdio_write = dm9000_phy_write;
/linux-master/drivers/net/ethernet/dec/tulip/
H A Dwinbond-840.c317 static void mdio_write(struct net_device *dev, int phy_id, int location, int value);
400 np->mii_if.mdio_write = mdio_write;
584 static void mdio_write(struct net_device *dev, int phy_id, int location, int value) function
1456 mdio_write(dev, data->phy_id & 0x1f, data->reg_num & 0x1f, data->val_in);
/linux-master/drivers/net/ethernet/dlink/
H A Dsundance.c423 static void mdio_write(struct net_device *dev, int phy_id, int location, int value);
563 np->mii_if.mdio_write = mdio_write;
662 mdio_write (dev, np->phys[0], MII_BMCR, BMCR_RESET);
666 mdio_write (dev, np->phys[0], MII_ADVERTISE, np->mii_if.advertising | 0x0400);
667 mdio_write (dev, np->phys[0], MII_BMCR, BMCR_ANENABLE|BMCR_ANRESTART);
673 mdio_write (dev, np->phys[0], MII_BMCR, mii_ctl);
791 static void mdio_write(struct net_device *dev, int phy_id, int location, int value) function
/linux-master/drivers/net/ethernet/faraday/
H A Dftmac100.c1191 priv->mii.mdio_write = ftmac100_mdio_write;
/linux-master/drivers/net/ethernet/
H A Dfealnx.c418 static void mdio_write(struct net_device *dev, int phy_id, int location, int value);
544 np->mii.mdio_write = mdio_write;
638 mdio_write(dev, np->phys[0], 9, data);
642 mdio_write(dev, np->phys[0], MII_ADVERTISE, ADVERTISE_FULL);
786 static void mdio_write(struct net_device *dev, int phyad, int regad, int data) function

Completed in 421 milliseconds

123