#include <linux/module.h>
#include <linux/comedi/comedi_pci.h>
#define PCI1723_AO_REG(x) …
#define PCI1723_BOARD_ID_REG …
#define PCI1723_BOARD_ID_MASK …
#define PCI1723_SYNC_CTRL_REG …
#define PCI1723_SYNC_CTRL(x) …
#define PCI1723_SYNC_CTRL_ASYNC …
#define PCI1723_SYNC_CTRL_SYNC …
#define PCI1723_CTRL_REG …
#define PCI1723_CTRL_BUSY …
#define PCI1723_CTRL_INIT …
#define PCI1723_CTRL_SELF …
#define PCI1723_CTRL_IDX(x) …
#define PCI1723_CTRL_RANGE(x) …
#define PCI1723_CTRL_SEL(x) …
#define PCI1723_CTRL_GAIN …
#define PCI1723_CTRL_OFFSET …
#define PCI1723_CTRL_CHAN(x) …
#define PCI1723_CALIB_CTRL_REG …
#define PCI1723_CALIB_CTRL_CS …
#define PCI1723_CALIB_CTRL_DAT …
#define PCI1723_CALIB_CTRL_CLK …
#define PCI1723_CALIB_STROBE_REG …
#define PCI1723_DIO_CTRL_REG …
#define PCI1723_DIO_CTRL_HDIO …
#define PCI1723_DIO_CTRL_LDIO …
#define PCI1723_DIO_DATA_REG …
#define PCI1723_CALIB_DATA_REG …
#define PCI1723_SYNC_STROBE_REG …
#define PCI1723_RESET_AO_STROBE_REG …
#define PCI1723_RESET_CALIB_STROBE_REG …
#define PCI1723_RANGE_STROBE_REG …
#define PCI1723_VREF_REG …
#define PCI1723_VREF(x) …
#define PCI1723_VREF_NEG10V …
#define PCI1723_VREF_0V …
#define PCI1723_VREF_POS10V …
static int pci1723_ao_insn_write(struct comedi_device *dev,
struct comedi_subdevice *s,
struct comedi_insn *insn,
unsigned int *data)
{ … }
static int pci1723_dio_insn_config(struct comedi_device *dev,
struct comedi_subdevice *s,
struct comedi_insn *insn,
unsigned int *data)
{ … }
static int pci1723_dio_insn_bits(struct comedi_device *dev,
struct comedi_subdevice *s,
struct comedi_insn *insn,
unsigned int *data)
{ … }
static int pci1723_auto_attach(struct comedi_device *dev,
unsigned long context_unused)
{ … }
static struct comedi_driver adv_pci1723_driver = …;
static int adv_pci1723_pci_probe(struct pci_dev *dev,
const struct pci_device_id *id)
{ … }
static const struct pci_device_id adv_pci1723_pci_table[] = …;
MODULE_DEVICE_TABLE(pci, adv_pci1723_pci_table);
static struct pci_driver adv_pci1723_pci_driver = …;
module_comedi_pci_driver(…);
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;