Home
last modified time | relevance | path

Searched refs:mmd_addr (Results 1 – 5 of 5) sorted by relevance

/linux-2.6.39/drivers/net/chelsio/
Dcphy.h46 int (*read)(struct net_device *dev, int phy_addr, int mmd_addr,
48 int (*write)(struct net_device *dev, int phy_addr, int mmd_addr,
Dsubr.c284 static int mi1_mdio_read(struct net_device *dev, int phy_addr, int mmd_addr, in mi1_mdio_read() argument
301 static int mi1_mdio_write(struct net_device *dev, int phy_addr, int mmd_addr, in mi1_mdio_write() argument
326 static int mi1_mdio_ext_read(struct net_device *dev, int phy_addr, int mmd_addr, in mi1_mdio_ext_read() argument
330 u32 addr = V_MI1_REG_ADDR(mmd_addr) | V_MI1_PHY_ADDR(phy_addr); in mi1_mdio_ext_read()
354 int mmd_addr, u16 reg_addr, u16 val) in mi1_mdio_ext_write() argument
357 u32 addr = V_MI1_REG_ADDR(mmd_addr) | V_MI1_PHY_ADDR(phy_addr); in mi1_mdio_ext_write()
/linux-2.6.39/drivers/net/cxgb3/
Dael1002.c78 unsigned short mmd_addr; member
88 for (err = 0; rv->mmd_addr && !err; rv++) { in set_phy_regs()
90 err = t3_mdio_write(phy, rv->mmd_addr, rv->reg_addr, in set_phy_regs()
93 err = t3_mdio_change_bits(phy, rv->mmd_addr, in set_phy_regs()
Dcommon.h159 int (*read)(struct net_device *dev, int phy_addr, int mmd_addr,
161 int (*write)(struct net_device *dev, int phy_addr, int mmd_addr,
Dt3_hw.c209 static int t3_mi1_read(struct net_device *dev, int phy_addr, int mmd_addr, in t3_mi1_read() argument
228 static int t3_mi1_write(struct net_device *dev, int phy_addr, int mmd_addr, in t3_mi1_write() argument
256 static int mi1_wr_addr(struct adapter *adapter, int phy_addr, int mmd_addr, in mi1_wr_addr() argument
259 u32 addr = V_REGADDR(mmd_addr) | V_PHYADDR(phy_addr); in mi1_wr_addr()
272 static int mi1_ext_read(struct net_device *dev, int phy_addr, int mmd_addr, in mi1_ext_read() argument
280 ret = mi1_wr_addr(adapter, phy_addr, mmd_addr, reg_addr); in mi1_ext_read()
292 static int mi1_ext_write(struct net_device *dev, int phy_addr, int mmd_addr, in mi1_ext_write() argument
300 ret = mi1_wr_addr(adapter, phy_addr, mmd_addr, reg_addr); in mi1_ext_write()