Searched refs:t3_mdio_read (Results 1 – 5 of 5) sorted by relevance
/drivers/net/ethernet/chelsio/cxgb3/ |
D | vsc8211.c | 113 return t3_mdio_read(cphy, MDIO_DEVAD_NONE, VSC8211_INTR_STATUS, &val); in vsc8211_intr_clear() 136 err = t3_mdio_read(cphy, MDIO_DEVAD_NONE, MII_BMCR, &bmcr); in vsc8211_get_link_status() 138 err = t3_mdio_read(cphy, MDIO_DEVAD_NONE, MII_BMSR, &status); in vsc8211_get_link_status() 148 err = t3_mdio_read(cphy, MDIO_DEVAD_NONE, MII_BMSR, in vsc8211_get_link_status() 163 err = t3_mdio_read(cphy, MDIO_DEVAD_NONE, VSC8211_AUX_CTRL_STAT, in vsc8211_get_link_status() 178 err = t3_mdio_read(cphy, MDIO_DEVAD_NONE, MII_LPA, in vsc8211_get_link_status() 181 err = t3_mdio_read(cphy, MDIO_DEVAD_NONE, in vsc8211_get_link_status() 212 err = t3_mdio_read(cphy, MDIO_DEVAD_NONE, MII_BMCR, &bmcr); in vsc8211_get_link_status_fiber() 214 err = t3_mdio_read(cphy, MDIO_DEVAD_NONE, MII_BMSR, &status); in vsc8211_get_link_status_fiber() 224 err = t3_mdio_read(cphy, MDIO_DEVAD_NONE, MII_BMSR, in vsc8211_get_link_status_fiber() [all …]
|
D | aq100x.c | 99 t3_mdio_read(phy, MDIO_MMD_VEND1, AQ_IFLAG_GLOBAL, &v); in aq100x_intr_clear() 100 t3_mdio_read(phy, MDIO_MMD_PMAPMD, MDIO_STAT1, &v); in aq100x_intr_clear() 110 err = t3_mdio_read(phy, MDIO_MMD_VEND1, AQ_IFLAG_GLOBAL, &cause); in aq100x_intr_handler() 115 t3_mdio_read(phy, MDIO_MMD_PMAPMD, MDIO_STAT1, &v); in aq100x_intr_handler() 214 err = t3_mdio_read(phy, MDIO_MMD_PMAPMD, AQ_LINK_STAT, &v); in aq100x_get_link_status() 223 err = t3_mdio_read(phy, MDIO_MMD_AN, AQ_ANEG_STAT, &v); in aq100x_get_link_status() 292 err = t3_mdio_read(phy, MDIO_MMD_VEND1, MDIO_CTRL1, &v); in t3_aq100x_phy_prep() 319 t3_mdio_read(phy, MDIO_MMD_VEND1, AQ_FW_VERSION, &v); in t3_aq100x_phy_prep() 328 err = t3_mdio_read(phy, MDIO_MMD_VEND1, MDIO_CTRL1, &v); in t3_aq100x_phy_prep() 345 t3_mdio_read(phy, MDIO_MMD_PHYXS, AQ_XAUI_RX_CFG, &v); in t3_aq100x_phy_prep() [all …]
|
D | ael1002.c | 125 err = t3_mdio_read(phy, MDIO_MMD_PMAPMD, AEL_I2C_STAT, &stat); in ael_i2c_rd() 129 err = t3_mdio_read(phy, MDIO_MMD_PMAPMD, AEL_I2C_DATA, in ael_i2c_rd() 181 int err = t3_mdio_read(phy, MDIO_MMD_PMAPMD, in get_link_status_r() 185 err = t3_mdio_read(phy, MDIO_MMD_PCS, in get_link_status_r() 188 err = t3_mdio_read(phy, MDIO_MMD_PHYXS, in get_link_status_r() 366 v = t3_mdio_read(phy, MDIO_MMD_PMAPMD, AEL2005_GPIO_CTRL, &stat); in ael2005_get_module_type() 415 err = t3_mdio_read(phy, MDIO_MMD_PMAPMD, MDIO_PMA_LASI_CTRL, in ael2005_reset() 459 ret = t3_mdio_read(phy, MDIO_MMD_PMAPMD, AEL2005_GPIO_STAT, &stat); in ael2005_intr_handler() 609 v = t3_mdio_read(phy, MDIO_MMD_PMAPMD, AEL2020_GPIO_STAT, &stat); in ael2020_get_module_type() 700 int err = t3_mdio_read(phy, MDIO_MMD_PMAPMD, AEL2020_GPIO_INTR, &stat); in ael2020_intr_clear() [all …]
|
D | t3_hw.c | 334 ret = t3_mdio_read(phy, mmd, reg, &val); in t3_mdio_change_bits() 363 err = t3_mdio_read(phy, mmd, MDIO_CTRL1, &ctl); in t3_phy_reset() 387 err = t3_mdio_read(phy, MDIO_DEVAD_NONE, MII_CTRL1000, &val); in t3_phy_advertise() 454 err = t3_mdio_read(phy, MDIO_DEVAD_NONE, MII_BMCR, &ctl); in t3_set_phy_speed_duplex() 490 return t3_mdio_read(phy, MDIO_MMD_PMAPMD, MDIO_PMA_LASI_STAT, &val); in t3_phy_lasi_intr_clear() 496 int err = t3_mdio_read(phy, MDIO_MMD_PMAPMD, MDIO_PMA_LASI_STAT, in t3_phy_lasi_intr_handler()
|
D | common.h | 562 static inline int t3_mdio_read(struct cphy *phy, int mmd, int reg, in t3_mdio_read() function
|