#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/irq.h>
#include <linux/irqchip.h>
#include <linux/irqchip/chained_irq.h>
#include <linux/irqdomain.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
#include <linux/platform_device.h>
#include <linux/seq_file.h>
#define IRQ_MASK …
#define IRQ_STATUS …
struct ts4800_irq_data { … };
static void ts4800_irq_mask(struct irq_data *d)
{ … }
static void ts4800_irq_unmask(struct irq_data *d)
{ … }
static void ts4800_irq_print_chip(struct irq_data *d, struct seq_file *p)
{ … }
static const struct irq_chip ts4800_chip = …;
static int ts4800_irqdomain_map(struct irq_domain *d, unsigned int irq,
irq_hw_number_t hwirq)
{ … }
static const struct irq_domain_ops ts4800_ic_ops = …;
static void ts4800_ic_chained_handle_irq(struct irq_desc *desc)
{ … }
static int ts4800_ic_probe(struct platform_device *pdev)
{ … }
static void ts4800_ic_remove(struct platform_device *pdev)
{ … }
static const struct of_device_id ts4800_ic_of_match[] = …;
MODULE_DEVICE_TABLE(of, ts4800_ic_of_match);
static struct platform_driver ts4800_ic_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_ALIAS(…) …;