Searched refs:MDIO_DEV_PMA_PMD (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/dev/cxgb/common/ |
H A D | cxgb_ael1002.c | 132 err = mdio_write(phy, MDIO_DEV_PMA_PMD, AEL_I2C_CTRL, in ael_i2c_rd() 139 err = mdio_read(phy, MDIO_DEV_PMA_PMD, AEL_I2C_STAT, &stat); in ael_i2c_rd() 143 err = mdio_read(phy, MDIO_DEV_PMA_PMD, AEL_I2C_DATA, in ael_i2c_rd() 163 err = mdio_write(phy, MDIO_DEV_PMA_PMD, AEL_I2C_DATA, data); in ael_i2c_wr() 167 err = mdio_write(phy, MDIO_DEV_PMA_PMD, AEL_I2C_CTRL, in ael_i2c_wr() 174 err = mdio_read(phy, MDIO_DEV_PMA_PMD, AEL_I2C_STAT, &stat); in ael_i2c_wr() 238 err = mdio_write(phy, MDIO_DEV_PMA_PMD, AEL100X_TX_DISABLE, !!enable); in ael1002_power_down() 240 err = t3_mdio_change_bits(phy, MDIO_DEV_PMA_PMD, MII_BMCR, in ael1002_power_down() 262 (err = mdio_write(phy, MDIO_DEV_PMA_PMD, AEL100X_TX_CONFIG1, 1)) || in ael1002_reset() 263 (err = mdio_write(phy, MDIO_DEV_PMA_PMD, AEL1002_PWR_DOWN_HI, 0)) || in ael1002_reset() [all …]
|
H A D | cxgb_aq100x.c | 107 err = t3_phy_reset(phy, MDIO_DEV_PMA_PMD, wait); in aq100x_reset() 231 err = t3_mdio_change_bits(phy, MDIO_DEV_PMA_PMD, MII_BMCR, BMCR_PDOWN, in aq100x_power_down() 238 err = mdio_read(phy, MDIO_DEV_PMA_PMD, MII_BMCR, &v); in aq100x_power_down() 317 return t3_mdio_change_bits(phy, MDIO_DEV_PMA_PMD, MII_BMCR, in aq100x_set_loopback() 343 err = t3_mdio_change_bits(phy, MDIO_DEV_PMA_PMD, MII_BMCR, in aq100x_set_speed_duplex() 358 err = mdio_read(phy, MDIO_DEV_PMA_PMD, AQ_LINK_STAT, &v); in aq100x_get_link_status() 420 err = mdio_read(phy, MDIO_DEV_PMA_PMD, MII_BMCR, &v); in aq100x_get_link_status() 490 err = mdio_read(phy, MDIO_DEV_PMA_PMD, MII_BMCR, &v); in t3_aq100x_phy_prep() 518 (void) mdio_read(phy, MDIO_DEV_PMA_PMD, MII_BMCR, &v); in t3_aq100x_phy_prep()
|
H A D | cxgb_tn1010.c | 77 int err = t3_phy_reset(phy, MDIO_DEV_PMA_PMD, wait); in tn1010_reset() 84 return t3_mdio_change_bits(phy, MDIO_DEV_PMA_PMD, MII_BMCR, in tn1010_power_down()
|
H A D | cxgb_common.h | 501 MDIO_DEV_PMA_PMD = 1, enumerator
|
H A D | cxgb_t3_hw.c | 517 return mdio_write(phy, MDIO_DEV_PMA_PMD, LASI_CTRL, 1); in t3_phy_lasi_intr_enable() 522 return mdio_write(phy, MDIO_DEV_PMA_PMD, LASI_CTRL, 0); in t3_phy_lasi_intr_disable() 529 return mdio_read(phy, MDIO_DEV_PMA_PMD, LASI_STAT, &val); in t3_phy_lasi_intr_clear() 535 int err = mdio_read(phy, MDIO_DEV_PMA_PMD, LASI_STAT, &status); in t3_phy_lasi_intr_handler()
|