Home
last modified time | relevance | path

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

/openbmc/linux/drivers/dma/
H A 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()
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()
1202 u32 win_enable = 0; in mv_xor_conf_mbus_windows_a3700() local
1216 win_enable |= 1; in mv_xor_conf_mbus_windows_a3700()
[all …]
/openbmc/linux/arch/arm/mach-orion5x/
H A Dpci.c410 u32 win_enable; in orion5x_setup_pci_wins() local
417 win_enable = 0xffffffff; in orion5x_setup_pci_wins()
418 writel(win_enable, PCI_BAR_ENABLE); in orion5x_setup_pci_wins()
452 win_enable &= ~(1 << cs->cs_index); in orion5x_setup_pci_wins()
458 writel(win_enable, PCI_BAR_ENABLE); in orion5x_setup_pci_wins()
/openbmc/u-boot/drivers/net/
H A Dmvneta.c1313 u32 win_enable; in mvneta_conf_mbus_windows() local
1326 win_enable = 0x3f; in mvneta_conf_mbus_windows()
1337 win_enable &= ~(1 << i); in mvneta_conf_mbus_windows()
1341 mvreg_write(pp, MVNETA_BASE_ADDR_ENABLE, win_enable); in mvneta_conf_mbus_windows()
H A Dmvpp2.c4830 u32 win_enable; in mvpp2_conf_mbus_windows() local
4841 win_enable = 0; in mvpp2_conf_mbus_windows()
4853 win_enable |= (1 << i); in mvpp2_conf_mbus_windows()
4856 mvpp2_write(priv, MVPP2_BASE_ADDR_ENABLE, win_enable); in mvpp2_conf_mbus_windows()
/openbmc/linux/drivers/net/ethernet/marvell/
H A Dmvneta.c1087 u32 win_enable, win_protect; in mvneta_mbus_io_win_set() local
1090 win_enable = mvreg_read(pp, MVNETA_BASE_ADDR_ENABLE); in mvneta_mbus_io_win_set()
1095 if (win_enable & (1 << i)) { in mvneta_mbus_io_win_set()
1121 win_enable &= ~(1 << i); in mvneta_mbus_io_win_set()
1122 mvreg_write(pp, MVNETA_BASE_ADDR_ENABLE, win_enable); in mvneta_mbus_io_win_set()
5389 u32 win_enable; in mvneta_conf_mbus_windows() local
5401 win_enable = 0x3f; in mvneta_conf_mbus_windows()
5416 win_enable &= ~(1 << i); in mvneta_conf_mbus_windows()
5429 win_enable &= ~BIT(0); in mvneta_conf_mbus_windows()
5433 mvreg_write(pp, MVNETA_BASE_ADDR_ENABLE, win_enable); in mvneta_conf_mbus_windows()
H A Dmv643xx_eth.c2630 u32 win_enable; in mv643xx_eth_conf_mbus_windows() local
2641 win_enable = 0x3f; in mv643xx_eth_conf_mbus_windows()
2652 win_enable &= ~(1 << i); in mv643xx_eth_conf_mbus_windows()
2656 writel(win_enable, base + WINDOW_BAR_ENABLE); in mv643xx_eth_conf_mbus_windows()
/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_main.c7081 u32 win_enable; in mvpp2_conf_mbus_windows() local
7092 win_enable = 0; in mvpp2_conf_mbus_windows()
7104 win_enable |= (1 << i); in mvpp2_conf_mbus_windows()
7107 mvpp2_write(priv, MVPP2_BASE_ADDR_ENABLE, win_enable); in mvpp2_conf_mbus_windows()