Searched refs:t3_mdio_write (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb3/ |
D | vsc8211.c | 99 return t3_mdio_write(cphy, MDIO_DEVAD_NONE, VSC8211_INTR_ENABLE, in vsc8211_intr_enable() 105 return t3_mdio_write(cphy, MDIO_DEVAD_NONE, VSC8211_INTR_ENABLE, 0); in vsc8211_intr_disable() 282 err = t3_mdio_write(phy, MDIO_DEVAD_NONE, VSC8211_EXT_PAGE_AXS, 0x52b5); in vsc8211_set_automdi() 286 err = t3_mdio_write(phy, MDIO_DEVAD_NONE, 18, 0x12); in vsc8211_set_automdi() 290 err = t3_mdio_write(phy, MDIO_DEVAD_NONE, 17, enable ? 0x2803 : 0x3003); in vsc8211_set_automdi() 294 err = t3_mdio_write(phy, MDIO_DEVAD_NONE, 16, 0x87fa); in vsc8211_set_automdi() 298 err = t3_mdio_write(phy, MDIO_DEVAD_NONE, VSC8211_EXT_PAGE_AXS, 0); in vsc8211_set_automdi() 384 return t3_mdio_write(phy, MDIO_DEVAD_NONE, VSC8211_LED_CTRL, in t3_vsc8211_phy_prep() 393 err = t3_mdio_write(phy, MDIO_DEVAD_NONE, VSC8211_EXT_PAGE_AXS, 1); in t3_vsc8211_phy_prep() 397 err = t3_mdio_write(phy, MDIO_DEVAD_NONE, VSC8211_SIGDET_CTRL, 1); in t3_vsc8211_phy_prep() [all …]
|
D | ael1002.c | 90 err = t3_mdio_write(phy, rv->mmd_addr, rv->reg_addr, in set_phy_regs() 118 err = t3_mdio_write(phy, MDIO_MMD_PMAPMD, AEL_I2C_CTRL, in ael_i2c_rd() 145 err = t3_mdio_write(phy, MDIO_MMD_PMAPMD, MDIO_PMA_TXDIS, !!enable); in ael1002_power_down() 158 (err = t3_mdio_write(phy, MDIO_MMD_PMAPMD, AEL100X_TX_CONFIG1, 1)) || in ael1002_reset() 159 (err = t3_mdio_write(phy, MDIO_MMD_PMAPMD, AEL1002_PWR_DOWN_HI, 0)) || in ael1002_reset() 160 (err = t3_mdio_write(phy, MDIO_MMD_PMAPMD, AEL1002_PWR_DOWN_LO, 0)) || in ael1002_reset() 161 (err = t3_mdio_write(phy, MDIO_MMD_PMAPMD, AEL1002_XFI_EQL, 0x18)) || in ael1002_reset() 317 err = t3_mdio_write(phy, MDIO_MMD_PMAPMD, in ael2005_setup_sr_edc() 353 err = t3_mdio_write(phy, MDIO_MMD_PMAPMD, in ael2005_setup_twinax_edc() 378 int err = t3_mdio_write(phy, MDIO_MMD_PMAPMD, AEL2005_GPIO_CTRL, 0x200); in ael2005_intr_enable() [all …]
|
D | aq100x.c | 82 int err = t3_mdio_write(phy, MDIO_MMD_PMAPMD, AQ_IMASK_PMA, IMASK_PMA); in aq100x_intr_enable() 86 err = t3_mdio_write(phy, MDIO_MMD_VEND1, AQ_IMASK_GLOBAL, IMASK_GLOBAL); in aq100x_intr_enable() 92 return t3_mdio_write(phy, MDIO_MMD_VEND1, AQ_IMASK_GLOBAL, 0); in aq100x_intr_disable()
|
D | t3_hw.c | 338 ret = t3_mdio_write(phy, mmd, reg, val | set); in t3_mdio_change_bits() 398 err = t3_mdio_write(phy, MDIO_DEVAD_NONE, MII_CTRL1000, val); in t3_phy_advertise() 415 return t3_mdio_write(phy, MDIO_DEVAD_NONE, MII_ADVERTISE, val); in t3_phy_advertise() 438 return t3_mdio_write(phy, MDIO_DEVAD_NONE, MII_ADVERTISE, val); in t3_phy_advertise_fiber() 473 return t3_mdio_write(phy, MDIO_DEVAD_NONE, MII_BMCR, ctl); in t3_set_phy_speed_duplex() 478 return t3_mdio_write(phy, MDIO_MMD_PMAPMD, MDIO_PMA_LASI_CTRL, in t3_phy_lasi_intr_enable() 484 return t3_mdio_write(phy, MDIO_MMD_PMAPMD, MDIO_PMA_LASI_CTRL, 0); in t3_phy_lasi_intr_disable()
|
D | common.h | 569 static inline int t3_mdio_write(struct cphy *phy, int mmd, int reg, in t3_mdio_write() function
|