Home
last modified time | relevance | path

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

/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()
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 …]
/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()
/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()
5391 u32 win_enable; in mvneta_conf_mbus_windows() local
5403 win_enable = 0x3f; in mvneta_conf_mbus_windows()
5418 win_enable &= ~(1 << i); in mvneta_conf_mbus_windows()
5431 win_enable &= ~BIT(0); in mvneta_conf_mbus_windows()
5435 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()
/linux/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_main.c7108 u32 win_enable; in mvpp2_conf_mbus_windows() local
7119 win_enable = 0; in mvpp2_conf_mbus_windows()
7131 win_enable |= (1 << i); in mvpp2_conf_mbus_windows()
7134 mvpp2_write(priv, MVPP2_BASE_ADDR_ENABLE, win_enable); in mvpp2_conf_mbus_windows()