Home
last modified time | relevance | path

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

/drivers/net/ethernet/chelsio/cxgb/
Dcphy.h36 int (*read)(struct net_device *dev, int phy_addr, int mmd_addr,
38 int (*write)(struct net_device *dev, int phy_addr, int mmd_addr,
Dsubr.c286 static int mi1_mdio_read(struct net_device *dev, int phy_addr, int mmd_addr, in mi1_mdio_read() argument
303 static int mi1_mdio_write(struct net_device *dev, int phy_addr, int mmd_addr, in mi1_mdio_write() argument
328 static int mi1_mdio_ext_read(struct net_device *dev, int phy_addr, int mmd_addr, in mi1_mdio_ext_read() argument
332 u32 addr = V_MI1_REG_ADDR(mmd_addr) | V_MI1_PHY_ADDR(phy_addr); in mi1_mdio_ext_read()
356 int mmd_addr, u16 reg_addr, u16 val) in mi1_mdio_ext_write() argument
359 u32 addr = V_MI1_REG_ADDR(mmd_addr) | V_MI1_PHY_ADDR(phy_addr); in mi1_mdio_ext_write()
/drivers/net/ethernet/chelsio/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.h157 int (*read)(struct net_device *dev, int phy_addr, int mmd_addr,
159 int (*write)(struct net_device *dev, int phy_addr, int mmd_addr,
Dt3_hw.c210 static int t3_mi1_read(struct net_device *dev, int phy_addr, int mmd_addr, in t3_mi1_read() argument
229 static int t3_mi1_write(struct net_device *dev, int phy_addr, int mmd_addr, in t3_mi1_write() argument
257 static int mi1_wr_addr(struct adapter *adapter, int phy_addr, int mmd_addr, in mi1_wr_addr() argument
260 u32 addr = V_REGADDR(mmd_addr) | V_PHYADDR(phy_addr); in mi1_wr_addr()
273 static int mi1_ext_read(struct net_device *dev, int phy_addr, int mmd_addr, in mi1_ext_read() argument
281 ret = mi1_wr_addr(adapter, phy_addr, mmd_addr, reg_addr); in mi1_ext_read()
293 static int mi1_ext_write(struct net_device *dev, int phy_addr, int mmd_addr, in mi1_ext_write() argument
301 ret = mi1_wr_addr(adapter, phy_addr, mmd_addr, reg_addr); in mi1_ext_write()