Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/marvell/
H A Dmvneta.c5102 u32 lpi_ctl0; in mvneta_ethtool_get_eee() local
5104 lpi_ctl0 = mvreg_read(pp, MVNETA_LPI_CTRL_0); in mvneta_ethtool_get_eee()
5109 eee->tx_lpi_timer = (lpi_ctl0) >> 8; // * scale; in mvneta_ethtool_get_eee()
5118 u32 lpi_ctl0; in mvneta_ethtool_set_eee() local
5126 lpi_ctl0 = mvreg_read(pp, MVNETA_LPI_CTRL_0); in mvneta_ethtool_set_eee()
5127 lpi_ctl0 &= ~(0xff << 8); in mvneta_ethtool_set_eee()
5128 lpi_ctl0 |= eee->tx_lpi_timer << 8; in mvneta_ethtool_set_eee()
5129 mvreg_write(pp, MVNETA_LPI_CTRL_0, lpi_ctl0); in mvneta_ethtool_set_eee()