Home
last modified time | relevance | path

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

/linux-6.1.9/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 …]
/linux-6.1.9/arch/arm/mach-orion5x/
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-6.1.9/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()
5317 u32 win_enable; in mvneta_conf_mbus_windows() local
5329 win_enable = 0x3f; in mvneta_conf_mbus_windows()
5344 win_enable &= ~(1 << i); in mvneta_conf_mbus_windows()
5357 win_enable &= ~BIT(0); in mvneta_conf_mbus_windows()
5361 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()
/linux-6.1.9/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c7019 u32 win_enable; in mvpp2_conf_mbus_windows() local
7030 win_enable = 0; in mvpp2_conf_mbus_windows()
7042 win_enable |= (1 << i); in mvpp2_conf_mbus_windows()
7045 mvpp2_write(priv, MVPP2_BASE_ADDR_ENABLE, win_enable); in mvpp2_conf_mbus_windows()