2024-08-23 18:39:32 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
/*
|
|
|
|
* Copyright (C) 2024 Loongson Technology Corporation Limited
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _DRIVERS_IRQCHIP_IRQ_LOONGSON_H
|
|
|
|
#define _DRIVERS_IRQCHIP_IRQ_LOONGSON_H
|
|
|
|
|
|
|
|
int find_pch_pic(u32 gsi);
|
|
|
|
|
|
|
|
int liointc_acpi_init(struct irq_domain *parent,
|
|
|
|
struct acpi_madt_lio_pic *acpi_liointc);
|
|
|
|
int eiointc_acpi_init(struct irq_domain *parent,
|
|
|
|
struct acpi_madt_eio_pic *acpi_eiointc);
|
2024-08-23 18:43:37 +08:00
|
|
|
int avecintc_acpi_init(struct irq_domain *parent);
|
2024-08-23 18:39:32 +08:00
|
|
|
|
|
|
|
int htvec_acpi_init(struct irq_domain *parent,
|
|
|
|
struct acpi_madt_ht_pic *acpi_htvec);
|
|
|
|
int pch_lpc_acpi_init(struct irq_domain *parent,
|
|
|
|
struct acpi_madt_lpc_pic *acpi_pchlpc);
|
|
|
|
int pch_pic_acpi_init(struct irq_domain *parent,
|
|
|
|
struct acpi_madt_bio_pic *acpi_pchpic);
|
|
|
|
int pch_msi_acpi_init(struct irq_domain *parent,
|
|
|
|
struct acpi_madt_msi_pic *acpi_pchmsi);
|
2024-08-23 18:43:37 +08:00
|
|
|
int pch_msi_acpi_init_avec(struct irq_domain *parent);
|
2024-08-23 18:39:32 +08:00
|
|
|
|
|
|
|
#endif /* _DRIVERS_IRQCHIP_IRQ_LOONGSON_H */
|