linux/drivers/gpio/gpio-janz-ttl.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Janz MODULbus VMOD-TTL GPIO Driver
 *
 * Copyright (c) 2010 Ira W. Snyder <[email protected]>
 */

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/gpio/driver.h>
#include <linux/slab.h>
#include <linux/bitops.h>

#include <linux/mfd/janz.h>

#define DRV_NAME

#define PORTA_DIRECTION
#define PORTB_DIRECTION
#define PORTC_DIRECTION
#define PORTA_IOCTL
#define PORTB_IOCTL
#define PORTC_IOCTL

#define MASTER_INT_CTL
#define MASTER_CONF_CTL

#define CONF_PAE
#define CONF_PBE
#define CONF_PCE

struct ttl_control_regs {};

struct ttl_module {};

static int ttl_get_value(struct gpio_chip *gpio, unsigned offset)
{}

static void ttl_set_value(struct gpio_chip *gpio, unsigned offset, int value)
{}

static void ttl_write_reg(struct ttl_module *mod, u8 reg, u16 val)
{}

static void ttl_setup_device(struct ttl_module *mod)
{}

static int ttl_probe(struct platform_device *pdev)
{}

static struct platform_driver ttl_driver =;

module_platform_driver();

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