Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/marvell/
Dmv643xx_eth.c268 u32 win_protect; member
2630 u32 win_protect; in mv643xx_eth_conf_mbus_windows() local
2641 win_protect = 0; in mv643xx_eth_conf_mbus_windows()
2652 win_protect |= 3 << (2 * i); in mv643xx_eth_conf_mbus_windows()
2656 msp->win_protect = win_protect; in mv643xx_eth_conf_mbus_windows()
3217 if (mp->shared->win_protect) in mv643xx_eth_probe()
3218 wrl(mp, WINDOW_PROTECT(mp->port_num), mp->shared->win_protect); in mv643xx_eth_probe()
Dmvneta.c1081 u32 win_enable, win_protect; in mvneta_mbus_io_win_set() local
1111 win_protect = mvreg_read(pp, MVNETA_ACCESS_PROTECT_ENABLE); in mvneta_mbus_io_win_set()
1112 win_protect |= 3 << (2 * i); in mvneta_mbus_io_win_set()
1113 mvreg_write(pp, MVNETA_ACCESS_PROTECT_ENABLE, win_protect); in mvneta_mbus_io_win_set()
5318 u32 win_protect; in mvneta_conf_mbus_windows() local
5330 win_protect = 0; in mvneta_conf_mbus_windows()
5345 win_protect |= 3 << (2 * i); in mvneta_conf_mbus_windows()
5358 win_protect = 3; in mvneta_conf_mbus_windows()
5362 mvreg_write(pp, MVNETA_ACCESS_PROTECT_ENABLE, win_protect); in mvneta_conf_mbus_windows()