Home
last modified time | relevance | path

Searched refs:nlm_write_reg (Results 1 – 17 of 17) sorted by relevance

/Linux-v5.10/arch/mips/pci/
Dmsi-xlp.c142 nlm_write_reg(md->lnkbase, PCIE_9XX_MSI_EN, in xlp_msi_enable()
145 nlm_write_reg(md->lnkbase, PCIE_MSI_EN, md->msi_enabled_mask); in xlp_msi_enable()
159 nlm_write_reg(md->lnkbase, PCIE_9XX_MSI_EN, in xlp_msi_disable()
162 nlm_write_reg(md->lnkbase, PCIE_MSI_EN, md->msi_enabled_mask); in xlp_msi_disable()
177 nlm_write_reg(md->lnkbase, PCIE_9XX_MSI_STATUS, 1u << vec); in xlp_msi_mask_ack()
179 nlm_write_reg(md->lnkbase, PCIE_MSI_STATUS, 1u << vec); in xlp_msi_mask_ack()
224 nlm_write_reg(md->lnkbase, status_reg, 1u << bit); in xlp_msix_mask_ack()
256 nlm_write_reg(lnkbase, PCIE_9XX_INT_EN0, val); in xlp_config_link_msi()
262 nlm_write_reg(lnkbase, PCIE_INT_EN0, val); in xlp_config_link_msi()
269 nlm_write_reg(lnkbase, 0x1, val); in xlp_config_link_msi()
[all …]
Dpci-xlr.c283 nlm_write_reg(pciebase_le, (0x90 >> 2), 0xffffffff); in xls_pcie_ack()
286 nlm_write_reg(pciebase_le, (0x94 >> 2), 0xffffffff); in xls_pcie_ack()
289 nlm_write_reg(pciebase_le, (0x190 >> 2), 0xffffffff); in xls_pcie_ack()
292 nlm_write_reg(pciebase_le, (0x194 >> 2), 0xffffffff); in xls_pcie_ack()
304 nlm_write_reg(pciebase_le, (0x90 >> 2), 0xffffffff); in xls_pcie_ack_b()
307 nlm_write_reg(pciebase_le, (0x94 >> 2), 0xffffffff); in xls_pcie_ack_b()
310 nlm_write_reg(pciebase_le, (0x190 >> 2), 0xffffffff); in xls_pcie_ack_b()
313 nlm_write_reg(pciebase_le, (0x194 >> 2), 0xffffffff); in xls_pcie_ack_b()
/Linux-v5.10/arch/mips/include/asm/netlogic/xlr/
Dpic.h228 nlm_write_reg(base, PIC_IRT_1(irt), reg | (1u << 31)); in nlm_pic_enable_irt()
237 nlm_write_reg(base, PIC_IRT_1(irt), reg & ~(1u << 31)); in nlm_pic_disable_irt()
247 nlm_write_reg(base, PIC_IPI, in nlm_pic_send_ipi()
254 nlm_write_reg(base, PIC_INT_ACK, 1u << irt); in nlm_pic_ack()
260 nlm_write_reg(base, PIC_IRT_0(irt), (1u << hwt)); in nlm_pic_init_irt()
262 nlm_write_reg(base, PIC_IRT_1(irt), in nlm_pic_init_irt()
297 nlm_write_reg(base, PIC_TIMER_MAXVAL_0(timer), low); in nlm_pic_set_timer()
298 nlm_write_reg(base, PIC_TIMER_MAXVAL_1(timer), up); in nlm_pic_set_timer()
303 nlm_write_reg(base, PIC_CTRL, pic_ctrl); in nlm_pic_set_timer()
/Linux-v5.10/arch/mips/netlogic/xlr/
Dplatform.c57 nlm_write_reg(uartbase, offset, value); in nlm_xlr_uart_out()
160 nlm_write_reg(usb_mmio, 49, 0x10000000); in xls_platform_usb_init()
162 nlm_write_reg(usb_mmio, 50, 0x1f000000); in xls_platform_usb_init()
165 nlm_write_reg(usb_mmio, 1, 0x07000500); in xls_platform_usb_init()
170 nlm_write_reg(usb_mmio, 0, 0x01000000); in xls_platform_usb_init()
176 nlm_write_reg(usb_mmio, 0, 0x02000000); in xls_platform_usb_init()
Dplatform-flash.c98 nlm_write_reg(nand_priv.flash_mmio, in xlr_nand_ctrl()
101 nlm_write_reg(nand_priv.flash_mmio, in xlr_nand_ctrl()
196 nlm_write_reg(flash_mmio, FLASH_CSDEV_PARM(cs), in xlr_flash_init()
198 nlm_write_reg(flash_mmio, FLASH_CSTIME_PARMA(cs), in xlr_flash_init()
200 nlm_write_reg(flash_mmio, FLASH_CSTIME_PARMB(cs), in xlr_flash_init()
Dsetup.c70 nlm_write_reg(gpiobase, GPIO_SWRESET_REG, 1); in nlm_linux_exit()
/Linux-v5.10/arch/mips/include/asm/netlogic/
Dhaldefs.h54 nlm_write_reg(uint64_t base, uint32_t reg, uint32_t val) in nlm_write_reg() function
137 nlm_write_reg(base, reg, val); in nlm_write_reg_xkphys()
/Linux-v5.10/arch/mips/netlogic/common/
Dearlycons.c62 nlm_write_reg(uartbase, UART_TX, c); in prom_putchar()
/Linux-v5.10/arch/mips/include/asm/netlogic/xlp-hal/
Dpcibus.h100 #define nlm_write_pcie_reg(b, r, v) nlm_write_reg(b, r, v)
Dbridge.h179 #define nlm_write_bridge_reg(b, r, v) nlm_write_reg(b, r, v)
Duart.h95 #define nlm_write_uart_reg(b, r, v) nlm_write_reg(b, r, v)
Dsys.h195 #define nlm_write_sys_reg(b, r, v) nlm_write_reg(b, r, v)
Diomap.h201 #define nlm_write_pci_reg(b, r, v) nlm_write_reg(b, r, v)
/Linux-v5.10/arch/mips/netlogic/xlp/
Dusb-init.c64 #define nlm_write_usb_reg(b, r, v) nlm_write_reg(b, r, v)
Dahci-init.c88 #define nlm_write_sata_reg(b, r, v) nlm_write_reg(b, r, v)
Dusb-init-xlp2.c85 #define nlm_write_usb_reg(b, r, v) nlm_write_reg(b, r, v)
Dahci-init-xlp2.c144 #define nlm_write_sata_reg(b, r, v) nlm_write_reg(b, r, v)