linux/drivers/gpio/gpio-idt3243x.c

// SPDX-License-Identifier: GPL-2.0
/* Driver for IDT/Renesas 79RC3243x Interrupt Controller  */

#include <linux/bitops.h>
#include <linux/gpio/driver.h>
#include <linux/irq.h>
#include <linux/module.h>
#include <linux/mod_devicetable.h>
#include <linux/platform_device.h>
#include <linux/spinlock.h>

#define IDT_PIC_IRQ_PEND
#define IDT_PIC_IRQ_MASK

#define IDT_GPIO_DIR
#define IDT_GPIO_DATA
#define IDT_GPIO_ILEVEL
#define IDT_GPIO_ISTAT

struct idt_gpio_ctrl {};

static void idt_gpio_dispatch(struct irq_desc *desc)
{}

static int idt_gpio_irq_set_type(struct irq_data *d, unsigned int flow_type)
{}

static void idt_gpio_ack(struct irq_data *d)
{}

static void idt_gpio_mask(struct irq_data *d)
{}

static void idt_gpio_unmask(struct irq_data *d)
{}

static int idt_gpio_irq_init_hw(struct gpio_chip *gc)
{}

static const struct irq_chip idt_gpio_irqchip =;

static int idt_gpio_probe(struct platform_device *pdev)
{}

static const struct of_device_id idt_gpio_of_match[] =;
MODULE_DEVICE_TABLE(of, idt_gpio_of_match);

static struct platform_driver idt_gpio_driver =;
module_platform_driver();

MODULE_DESCRIPTION();
MODULE_AUTHOR();
MODULE_LICENSE();