Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Texas Instruments' K3 TI SCI INTA MSI helper
0004  *
0005  * Copyright (C) 2018-2019 Texas Instruments Incorporated - https://www.ti.com/
0006  *  Lokesh Vutla <lokeshvutla@ti.com>
0007  */
0008 
0009 #ifndef __INCLUDE_LINUX_TI_SCI_INTA_MSI_H
0010 #define __INCLUDE_LINUX_TI_SCI_INTA_MSI_H
0011 
0012 #include <linux/msi.h>
0013 #include <linux/soc/ti/ti_sci_protocol.h>
0014 
0015 struct irq_domain
0016 *ti_sci_inta_msi_create_irq_domain(struct fwnode_handle *fwnode,
0017                    struct msi_domain_info *info,
0018                    struct irq_domain *parent);
0019 int ti_sci_inta_msi_domain_alloc_irqs(struct device *dev,
0020                       struct ti_sci_resource *res);
0021 #endif /* __INCLUDE_LINUX_IRQCHIP_TI_SCI_INTA_H */