Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / drivers / irqchip / irq-loongson.h
blob11fa138d1f4434ebdfb2ae49e5b781dee913c5ba
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (C) 2024 Loongson Technology Corporation Limited
4 */
6 #ifndef _DRIVERS_IRQCHIP_IRQ_LOONGSON_H
7 #define _DRIVERS_IRQCHIP_IRQ_LOONGSON_H
9 int find_pch_pic(u32 gsi);
11 int liointc_acpi_init(struct irq_domain *parent,
12 struct acpi_madt_lio_pic *acpi_liointc);
13 int eiointc_acpi_init(struct irq_domain *parent,
14 struct acpi_madt_eio_pic *acpi_eiointc);
15 int avecintc_acpi_init(struct irq_domain *parent);
17 int htvec_acpi_init(struct irq_domain *parent,
18 struct acpi_madt_ht_pic *acpi_htvec);
19 int pch_lpc_acpi_init(struct irq_domain *parent,
20 struct acpi_madt_lpc_pic *acpi_pchlpc);
21 int pch_pic_acpi_init(struct irq_domain *parent,
22 struct acpi_madt_bio_pic *acpi_pchpic);
23 int pch_msi_acpi_init(struct irq_domain *parent,
24 struct acpi_madt_msi_pic *acpi_pchmsi);
25 int pch_msi_acpi_init_avec(struct irq_domain *parent);
27 #endif /* _DRIVERS_IRQCHIP_IRQ_LOONGSON_H */