Home
last modified time | relevance | path

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

/drivers/dma/
Dmv_xor.c487 u32 win_enable; in mv_xor_add_io_win() local
531 win_enable = readl(base + WINDOW_BAR_ENABLE(0)); in mv_xor_add_io_win()
534 i = ffs(~win_enable) - 1; in mv_xor_add_io_win()
546 win_enable |= (1 << i); in mv_xor_add_io_win()
547 win_enable |= 3 << (16 + (2 * i)); in mv_xor_add_io_win()
548 writel(win_enable, base + WINDOW_BAR_ENABLE(0)); in mv_xor_add_io_win()
549 writel(win_enable, base + WINDOW_BAR_ENABLE(1)); in mv_xor_add_io_win()
1166 u32 win_enable = 0; in mv_xor_conf_mbus_windows() local
1188 win_enable |= (1 << i); in mv_xor_conf_mbus_windows()
1189 win_enable |= 3 << (16 + (2 * i)); in mv_xor_conf_mbus_windows()
[all …]
/drivers/net/ethernet/marvell/
Dmvneta.c1081 u32 win_enable, win_protect; in mvneta_mbus_io_win_set() local
1084 win_enable = mvreg_read(pp, MVNETA_BASE_ADDR_ENABLE); in mvneta_mbus_io_win_set()
1089 if (win_enable & (1 << i)) { in mvneta_mbus_io_win_set()
1115 win_enable &= ~(1 << i); in mvneta_mbus_io_win_set()
1116 mvreg_write(pp, MVNETA_BASE_ADDR_ENABLE, win_enable); in mvneta_mbus_io_win_set()
5329 u32 win_enable; in mvneta_conf_mbus_windows() local
5341 win_enable = 0x3f; in mvneta_conf_mbus_windows()
5356 win_enable &= ~(1 << i); in mvneta_conf_mbus_windows()
5369 win_enable &= ~BIT(0); in mvneta_conf_mbus_windows()
5373 mvreg_write(pp, MVNETA_BASE_ADDR_ENABLE, win_enable); in mvneta_conf_mbus_windows()
Dmv643xx_eth.c2629 u32 win_enable; in mv643xx_eth_conf_mbus_windows() local
2640 win_enable = 0x3f; in mv643xx_eth_conf_mbus_windows()
2651 win_enable &= ~(1 << i); in mv643xx_eth_conf_mbus_windows()
2655 writel(win_enable, base + WINDOW_BAR_ENABLE); in mv643xx_eth_conf_mbus_windows()
/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c7049 u32 win_enable; in mvpp2_conf_mbus_windows() local
7060 win_enable = 0; in mvpp2_conf_mbus_windows()
7072 win_enable |= (1 << i); in mvpp2_conf_mbus_windows()
7075 mvpp2_write(priv, MVPP2_BASE_ADDR_ENABLE, win_enable); in mvpp2_conf_mbus_windows()