Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/marvell/
H A Dmvneta.c4287 u32 lpi1; in mvneta_mac_disable_tx_lpi() local
4289 lpi1 = mvreg_read(pp, MVNETA_LPI_CTRL_1); in mvneta_mac_disable_tx_lpi()
4290 lpi1 &= ~(MVNETA_LPI_CTRL_1_REQUEST_ENABLE | in mvneta_mac_disable_tx_lpi()
4293 mvreg_write(pp, MVNETA_LPI_CTRL_1, lpi1); in mvneta_mac_disable_tx_lpi()
4300 u32 ts, tw, lpi0, lpi1, status; in mvneta_mac_enable_tx_lpi() local
4326 lpi1 = mvreg_read(pp, MVNETA_LPI_CTRL_1); in mvneta_mac_enable_tx_lpi()
4327 lpi1 = u32_replace_bits(lpi1, tw, MVNETA_LPI_CTRL_1_TW); in mvneta_mac_enable_tx_lpi()
4328 lpi1 |= MVNETA_LPI_CTRL_1_REQUEST_ENABLE; in mvneta_mac_enable_tx_lpi()
4329 mvreg_write(pp, MVNETA_LPI_CTRL_1, lpi1); in mvneta_mac_enable_tx_lpi()
/linux-6.15/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_main.c6717 u32 ts, tw, lpi1, status; in mvpp2_mac_enable_tx_lpi() local
6742 lpi1 = readl(port->base + MVPP2_GMAC_LPI_CTRL1); in mvpp2_mac_enable_tx_lpi()
6745 lpi1 = u32_replace_bits(lpi1, tw, MVPP2_GMAC_LPI_CTRL1_TW_MASK); in mvpp2_mac_enable_tx_lpi()
6748 writel(lpi1 | MVPP2_GMAC_LPI_CTRL1_REQ_EN, in mvpp2_mac_enable_tx_lpi()