Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb/
Dcphy.h45 int (*read)(struct net_device *dev, int phy_addr, int mmd_addr,
47 int (*write)(struct net_device *dev, int phy_addr, int mmd_addr,
Dsubr.c283 static int mi1_mdio_read(struct net_device *dev, int phy_addr, int mmd_addr, in mi1_mdio_read() argument
300 static int mi1_mdio_write(struct net_device *dev, int phy_addr, int mmd_addr, in mi1_mdio_write() argument
325 static int mi1_mdio_ext_read(struct net_device *dev, int phy_addr, int mmd_addr, in mi1_mdio_ext_read() argument
329 u32 addr = V_MI1_REG_ADDR(mmd_addr) | V_MI1_PHY_ADDR(phy_addr); in mi1_mdio_ext_read()
353 int mmd_addr, u16 reg_addr, u16 val) in mi1_mdio_ext_write() argument
356 u32 addr = V_MI1_REG_ADDR(mmd_addr) | V_MI1_PHY_ADDR(phy_addr); in mi1_mdio_ext_write()
/kernel/linux/linux-5.10/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.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()