#include <linux/irqdomain.h>
#include <linux/irq.h>
#include <linux/uaccess.h>
#include "internals.h"
static struct dentry *irq_dir;
void irq_debug_show_bits(struct seq_file *m, int ind, unsigned int state,
const struct irq_bit_descr *sd, int size)
{ … }
#ifdef CONFIG_SMP
static void irq_debug_show_masks(struct seq_file *m, struct irq_desc *desc)
{ … }
#else
static void irq_debug_show_masks(struct seq_file *m, struct irq_desc *desc) { }
#endif
static const struct irq_bit_descr irqchip_flags[] = …;
static void
irq_debug_show_chip(struct seq_file *m, struct irq_data *data, int ind)
{ … }
static void
irq_debug_show_data(struct seq_file *m, struct irq_data *data, int ind)
{ … }
static const struct irq_bit_descr irqdata_states[] = …;
static const struct irq_bit_descr irqdesc_states[] = …;
static const struct irq_bit_descr irqdesc_istates[] = …;
static int irq_debug_show(struct seq_file *m, void *p)
{ … }
static int irq_debug_open(struct inode *inode, struct file *file)
{ … }
static ssize_t irq_debug_write(struct file *file, const char __user *user_buf,
size_t count, loff_t *ppos)
{ … }
static const struct file_operations dfs_irq_ops = …;
void irq_debugfs_copy_devname(int irq, struct device *dev)
{ … }
void irq_add_debugfs_entry(unsigned int irq, struct irq_desc *desc)
{ … }
static int __init irq_debugfs_init(void)
{ … }
__initcall(irq_debugfs_init);