Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/marvell/
H A Dmvneta.c4293 u32 lpi1; in mvneta_mac_disable_tx_lpi() local
4295 lpi1 = mvreg_read(pp, MVNETA_LPI_CTRL_1); in mvneta_mac_disable_tx_lpi()
4296 lpi1 &= ~(MVNETA_LPI_CTRL_1_REQUEST_ENABLE | in mvneta_mac_disable_tx_lpi()
4299 mvreg_write(pp, MVNETA_LPI_CTRL_1, lpi1); in mvneta_mac_disable_tx_lpi()
4306 u32 ts, tw, lpi0, lpi1, status; in mvneta_mac_enable_tx_lpi() local
4332 lpi1 = mvreg_read(pp, MVNETA_LPI_CTRL_1); in mvneta_mac_enable_tx_lpi()
4333 lpi1 = u32_replace_bits(lpi1, tw, MVNETA_LPI_CTRL_1_TW); in mvneta_mac_enable_tx_lpi()
4334 lpi1 |= MVNETA_LPI_CTRL_1_REQUEST_ENABLE; in mvneta_mac_enable_tx_lpi()
4335 mvreg_write(pp, MVNETA_LPI_CTRL_1, lpi1); in mvneta_mac_enable_tx_lpi()
/linux/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_main.c6736 u32 ts, tw, lpi1, status; in mvpp2_mac_enable_tx_lpi() local
6761 lpi1 = readl(port->base + MVPP2_GMAC_LPI_CTRL1); in mvpp2_mac_enable_tx_lpi()
6764 lpi1 = u32_replace_bits(lpi1, tw, MVPP2_GMAC_LPI_CTRL1_TW_MASK); in mvpp2_mac_enable_tx_lpi()
6767 writel(lpi1 | MVPP2_GMAC_LPI_CTRL1_REQ_EN, in mvpp2_mac_enable_tx_lpi()