#include <linux/stddef.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/module.h>
#include <linux/ioport.h>
#include <asm/io.h>
#include <soc/fsl/qe/qe.h>
#undef DEBUG
static struct qe_pio_regs __iomem *par_io;
static int num_par_io_ports = …;
int par_io_init(struct device_node *np)
{ … }
void __par_io_config_pin(struct qe_pio_regs __iomem *par_io, u8 pin, int dir,
int open_drain, int assignment, int has_irq)
{ … }
EXPORT_SYMBOL(…);
int par_io_config_pin(u8 port, u8 pin, int dir, int open_drain,
int assignment, int has_irq)
{ … }
EXPORT_SYMBOL(…);
int par_io_data_set(u8 port, u8 pin, u8 val)
{ … }
EXPORT_SYMBOL(…);
int par_io_of_config(struct device_node *np)
{ … }
EXPORT_SYMBOL(…);