Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/marvell/
Dmv643xx_eth.c269 u32 win_protect; member
2631 u32 win_protect; in mv643xx_eth_conf_mbus_windows() local
2642 win_protect = 0; in mv643xx_eth_conf_mbus_windows()
2653 win_protect |= 3 << (2 * i); in mv643xx_eth_conf_mbus_windows()
2657 msp->win_protect = win_protect; in mv643xx_eth_conf_mbus_windows()
3250 if (mp->shared->win_protect) in mv643xx_eth_probe()
3251 wrl(mp, WINDOW_PROTECT(mp->port_num), mp->shared->win_protect); in mv643xx_eth_probe()
Dmvneta.c1087 u32 win_enable, win_protect; in mvneta_mbus_io_win_set() local
1117 win_protect = mvreg_read(pp, MVNETA_ACCESS_PROTECT_ENABLE); in mvneta_mbus_io_win_set()
1118 win_protect |= 3 << (2 * i); in mvneta_mbus_io_win_set()
1119 mvreg_write(pp, MVNETA_ACCESS_PROTECT_ENABLE, win_protect); in mvneta_mbus_io_win_set()
5392 u32 win_protect; in mvneta_conf_mbus_windows() local
5404 win_protect = 0; in mvneta_conf_mbus_windows()
5419 win_protect |= 3 << (2 * i); in mvneta_conf_mbus_windows()
5432 win_protect = 3; in mvneta_conf_mbus_windows()
5436 mvreg_write(pp, MVNETA_ACCESS_PROTECT_ENABLE, win_protect); in mvneta_conf_mbus_windows()