Home
last modified time | relevance | path

Searched refs:APLIC_TARGET_BASE (Results 1 – 4 of 4) sorted by relevance

/linux/arch/riscv/kvm/
H A Daia_aplic.c433 } else if ((off >= APLIC_TARGET_BASE) && in aplic_mmio_read_offset()
434 (off < (APLIC_TARGET_BASE + (aplic->nr_irqs - 1) * 4))) { in aplic_mmio_read_offset()
435 i = ((off - APLIC_TARGET_BASE) >> 2) + 1; in aplic_mmio_read_offset()
503 } else if ((off >= APLIC_TARGET_BASE) && in aplic_mmio_write_offset()
504 (off < (APLIC_TARGET_BASE + (aplic->nr_irqs - 1) * 4))) { in aplic_mmio_write_offset()
505 i = ((off - APLIC_TARGET_BASE) >> 2) + 1; in aplic_mmio_write_offset()
/linux/drivers/irqchip/
H A Dirq-riscv-aplic-main.c48 writel(srcs->target, regs + APLIC_TARGET_BASE + i * sizeof(u32)); in aplic_restore_states()
77 srcs->target = readl(regs + APLIC_TARGET_BASE + i * sizeof(u32)); in aplic_save_states()
299 priv->regs + APLIC_TARGET_BASE + (i - 1) * sizeof(u32)); in aplic_init_hw_irqs()
H A Dirq-riscv-aplic-msi.c90 target = priv->regs + APLIC_TARGET_BASE; in aplic_msi_write_msg()
123 target = priv->regs + APLIC_TARGET_BASE; in aplic_msi_write_msg()
/linux/include/linux/irqchip/
H A Driscv-aplic.h106 #define APLIC_TARGET_BASE 0x3004 macro