#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/comedi/comedidev.h>
#define PCL726_AO_MSB_REG(x) …
#define PCL726_AO_LSB_REG(x) …
#define PCL726_DO_MSB_REG …
#define PCL726_DO_LSB_REG …
#define PCL726_DI_MSB_REG …
#define PCL726_DI_LSB_REG …
#define PCL727_DI_MSB_REG …
#define PCL727_DI_LSB_REG …
#define PCL727_DO_MSB_REG …
#define PCL727_DO_LSB_REG …
static const struct comedi_lrange *const rangelist_726[] = …;
static const struct comedi_lrange *const rangelist_727[] = …;
static const struct comedi_lrange *const rangelist_728[] = …;
struct pcl726_board { … };
static const struct pcl726_board pcl726_boards[] = …;
struct pcl726_private { … };
static int pcl726_intr_insn_bits(struct comedi_device *dev,
struct comedi_subdevice *s,
struct comedi_insn *insn,
unsigned int *data)
{ … }
static int pcl726_intr_cmdtest(struct comedi_device *dev,
struct comedi_subdevice *s,
struct comedi_cmd *cmd)
{ … }
static int pcl726_intr_cmd(struct comedi_device *dev,
struct comedi_subdevice *s)
{ … }
static int pcl726_intr_cancel(struct comedi_device *dev,
struct comedi_subdevice *s)
{ … }
static irqreturn_t pcl726_interrupt(int irq, void *d)
{ … }
static int pcl726_ao_insn_write(struct comedi_device *dev,
struct comedi_subdevice *s,
struct comedi_insn *insn,
unsigned int *data)
{ … }
static int pcl726_di_insn_bits(struct comedi_device *dev,
struct comedi_subdevice *s,
struct comedi_insn *insn,
unsigned int *data)
{ … }
static int pcl726_do_insn_bits(struct comedi_device *dev,
struct comedi_subdevice *s,
struct comedi_insn *insn,
unsigned int *data)
{ … }
static int pcl726_attach(struct comedi_device *dev,
struct comedi_devconfig *it)
{ … }
static struct comedi_driver pcl726_driver = …;
module_comedi_driver(…);
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;