Home
last modified time | relevance | path

Searched refs:mii_id (Results 1 – 4 of 4) sorted by relevance

/linux-2.4.37.9/drivers/net/ibm_emac/
Dibm_ocp_phy.h67 int mii_id; member
81 int (*mdio_read) (struct net_device *dev, int mii_id, int reg);
82 void (*mdio_write) (struct net_device *dev, int mii_id, int reg, int val);
88 extern int mii_phy_probe(struct mii_phy *phy, int mii_id);
Dibm_ocp_phy.c43 return phy->mdio_read(phy->dev, phy->mii_id, reg); in phy_read()
48 phy->mdio_write(phy->dev, phy->mii_id, reg, val); in phy_write()
206 int mii_phy_probe(struct mii_phy *phy, int mii_id) in mii_phy_probe() argument
215 phy->mii_id = mii_id; in mii_phy_probe()
221 rc = reset_one_mii_phy(phy, mii_id); in mii_phy_probe()
Dibm_ocp_enet.c226 emac_phy_read(struct net_device *dev, int mii_id, int reg) in emac_phy_read() argument
233 MDIO_DEBUG(("%s: phy_read, id: 0x%x, reg: 0x%x\n", dev->name, mii_id, reg)); in emac_phy_read()
257 stacr |= ((mii_id & 0x1F) << 5); in emac_phy_read()
285 emac_phy_write(struct net_device *dev, int mii_id, int reg, int data) in emac_phy_write() argument
293 dev->name, mii_id, reg, data)); in emac_phy_write()
318 stacr |= ((mii_id & 0x1f) << 5) | ((data & 0xffff) << 16); in emac_phy_write()
Dibm_ocp_debug.c52 emac_phy_read(struct net_device *dev, int mii_id, int reg);