Home
last modified time | relevance | path

Searched refs:nlm_read_reg (Results 1 – 18 of 18) sorted by relevance

/Linux-v5.10/arch/mips/include/asm/netlogic/xlr/
Dpic.h227 reg = nlm_read_reg(base, PIC_IRT_1(irt)); in nlm_pic_enable_irt()
236 reg = nlm_read_reg(base, PIC_IRT_1(irt)); in nlm_pic_disable_irt()
271 up1 = nlm_read_reg(base, PIC_TIMER_COUNT_1(timer)); in nlm_pic_read_timer()
272 low = nlm_read_reg(base, PIC_TIMER_COUNT_0(timer)); in nlm_pic_read_timer()
273 up2 = nlm_read_reg(base, PIC_TIMER_COUNT_1(timer)); in nlm_pic_read_timer()
276 low = nlm_read_reg(base, PIC_TIMER_COUNT_0(timer)); in nlm_pic_read_timer()
284 return nlm_read_reg(base, PIC_TIMER_COUNT_0(timer)); in nlm_pic_read_timer32()
291 uint64_t pic_ctrl = nlm_read_reg(base, PIC_CTRL); in nlm_pic_set_timer()
/Linux-v5.10/arch/mips/pci/
Dmsi-xlp.c253 val = nlm_read_reg(lnkbase, PCIE_9XX_INT_EN0); in xlp_config_link_msi()
259 val = nlm_read_reg(lnkbase, PCIE_INT_EN0); in xlp_config_link_msi()
266 val = nlm_read_reg(lnkbase, 0x1); /* CMD */ in xlp_config_link_msi()
283 val = nlm_read_reg(lnkbase, PCIE_BRIDGE_MSI_CAP); in xlp_config_link_msi()
350 val = nlm_read_reg(lnkbase, 0x2C); in xlp_config_link_msix()
357 val = nlm_read_reg(lnkbase, PCIE_9XX_INT_EN0); in xlp_config_link_msix()
363 val = nlm_read_reg(lnkbase, PCIE_INT_EN0); in xlp_config_link_msix()
370 val = nlm_read_reg(lnkbase, 0x1); /* CMD */ in xlp_config_link_msix()
525 status = nlm_read_reg(md->lnkbase, PCIE_9XX_MSI_STATUS) & in nlm_dispatch_msi()
528 status = nlm_read_reg(md->lnkbase, PCIE_MSI_STATUS) & in nlm_dispatch_msi()
[all …]
Dpci-xlr.c273 nlm_read_reg(pcibase, (0x140 >> 2)); in xlr_pci_ack()
/Linux-v5.10/arch/mips/netlogic/xlr/
Dplatform-flash.c147 base = nlm_read_reg(flash_mmio, FLASH_CSBASE_ADDR(cs)); in setup_flash_resource()
148 mask = nlm_read_reg(flash_mmio, FLASH_CSADDR_MASK(cs)); in setup_flash_resource()
161 flash_bar = nlm_read_reg(nlm_io_base, BRIDGE_FLASH_BAR); in xlr_flash_init()
168 gpio_resetcfg = nlm_read_reg(gpio_mmio, GPIO_PWRON_RESET_CFG_REG); in xlr_flash_init()
Dplatform.c33 value = nlm_read_reg(uartbase, offset); in nlm_xlr_uart_in()
167 val = nlm_read_reg(gpio_mmio, 21); in xls_platform_usb_init()
/Linux-v5.10/arch/mips/include/asm/netlogic/
Dhaldefs.h46 nlm_read_reg(uint64_t base, uint32_t reg) in nlm_read_reg() function
131 return nlm_read_reg(base, reg); in nlm_read_reg_xkphys()
/Linux-v5.10/arch/mips/netlogic/xlp/
Dwakeup.c126 if (nlm_read_reg(syspcibase, 0) == 0xffffffff) in xlp_enable_secondary_cores()
137 fusemask = nlm_read_reg(fusebase, FUSE_9XX_DEVCFG6); in xlp_enable_secondary_cores()
Dusb-init.c63 #define nlm_read_usb_reg(b, r) nlm_read_reg(b, r)
Dahci-init.c87 #define nlm_read_sata_reg(b, r) nlm_read_reg(b, r)
Dusb-init-xlp2.c84 #define nlm_read_usb_reg(b, r) nlm_read_reg(b, r)
Dnlm_hal.c188 val = nlm_read_reg(pcibase, XLP_PCI_IRTINFO_REG); in xlp_irq_to_irt()
Dahci-init-xlp2.c143 #define nlm_read_sata_reg(b, r) nlm_read_reg(b, r)
/Linux-v5.10/arch/mips/netlogic/common/
Dearlycons.c60 while ((nlm_read_reg(uartbase, UART_LSR) & UART_LSR_THRE) == 0) in prom_putchar()
/Linux-v5.10/arch/mips/include/asm/netlogic/xlp-hal/
Dpcibus.h99 #define nlm_read_pcie_reg(b, r) nlm_read_reg(b, r)
Dbridge.h178 #define nlm_read_bridge_reg(b, r) nlm_read_reg(b, r)
Duart.h94 #define nlm_read_uart_reg(b, r) nlm_read_reg(b, r)
Dsys.h194 #define nlm_read_sys_reg(b, r) nlm_read_reg(b, r)
Diomap.h200 #define nlm_read_pci_reg(b, r) nlm_read_reg(b, r)