Lines Matching full:intc
8 #define pr_fmt(fmt) "riscv-intc: " fmt
80 * The RISC-V INTC driver uses handle_percpu_devid_irq() flow in riscv_intc_irq_eoi()
89 * an empty irq_eoi() callback for RISC-V INTC irqchip. in riscv_intc_irq_eoi()
94 .name = "RISC-V INTC",
101 .name = "RISC-V INTC",
202 * The DT will have one INTC DT node under each CPU (or HART) in riscv_intc_init()
204 * for each INTC DT node. We only need to do INTC initialization in riscv_intc_init()
205 * for the INTC DT node belonging to boot CPU (or boot HART). in riscv_intc_init()
209 * The INTC nodes of each CPU are suppliers for downstream in riscv_intc_init()
211 * direct-mode) so we should mark an INTC node as initialized in riscv_intc_init()
218 if (of_device_is_compatible(node, "andestech,cpu-intc")) { in riscv_intc_init()
227 IRQCHIP_DECLARE(riscv, "riscv,cpu-intc", riscv_intc_init);
228 IRQCHIP_DECLARE(andes, "andestech,cpu-intc", riscv_intc_init);
242 * The ACPI MADT will have one INTC for each CPU (or HART) in riscv_intc_acpi_init()
244 * for each INTC. We only do INTC initialization in riscv_intc_acpi_init()
245 * for the INTC belonging to the boot CPU (or boot HART). in riscv_intc_acpi_init()
250 fn = irq_domain_alloc_named_fwnode("RISCV-INTC"); in riscv_intc_acpi_init()
252 pr_err("unable to allocate INTC FW node\n"); in riscv_intc_acpi_init()