Home
last modified time | relevance | path

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

/freebsd/sys/dev/cxgb/common/
H A Dcxgb_ael1002.c132 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 Dcxgb_aq100x.c107 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 Dcxgb_tn1010.c77 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 Dcxgb_common.h501 MDIO_DEV_PMA_PMD = 1, enumerator
H A Dcxgb_t3_hw.c517 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()