diff options
author | Yash Shah <yash.shah@sifive.com> | 2019-12-10 14:11:09 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-01-20 12:19:33 +0300 |
commit | b01ecceaf2c0c4b3f2d24aa0adcf096ab1648253 (patch) | |
tree | c38b5c376b3f5cd856b3f9e1a50a45b3b29534ae /include | |
parent | fd6988496e79a6a4bdb514a4655d2920209eb85d (diff) | |
download | linux-b01ecceaf2c0c4b3f2d24aa0adcf096ab1648253.tar.xz |
genirq: Introduce irq_domain_translate_onecell
Add a new function irq_domain_translate_onecell() that is to be used as
the translate function in struct irq_domain_ops.
Signed-off-by: Yash Shah <yash.shah@sifive.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/1575976274-13487-2-git-send-email-yash.shah@sifive.com
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/irqdomain.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/irqdomain.h b/include/linux/irqdomain.h index 3c340dbc5a1f..698749f42ced 100644 --- a/include/linux/irqdomain.h +++ b/include/linux/irqdomain.h @@ -427,6 +427,11 @@ int irq_domain_translate_twocell(struct irq_domain *d, unsigned long *out_hwirq, unsigned int *out_type); +int irq_domain_translate_onecell(struct irq_domain *d, + struct irq_fwspec *fwspec, + unsigned long *out_hwirq, + unsigned int *out_type); + /* IPI functions */ int irq_reserve_ipi(struct irq_domain *domain, const struct cpumask *dest); int irq_destroy_ipi(unsigned int irq, const struct cpumask *dest); |