linux/drivers/comedi/drivers/mf6x4.c

// SPDX-License-Identifier: GPL-2.0+
/*
 *  comedi/drivers/mf6x4.c
 *  Driver for Humusoft MF634 and MF624 Data acquisition cards
 *
 *  COMEDI - Linux Control and Measurement Device Interface
 *  Copyright (C) 2000 David A. Schleef <[email protected]>
 */
/*
 * Driver: mf6x4
 * Description: Humusoft MF634 and MF624 Data acquisition card driver
 * Devices: [Humusoft] MF634 (mf634), MF624 (mf624)
 * Author: Rostislav Lisovy <[email protected]>
 * Status: works
 * Updated:
 * Configuration Options: none
 */

#include <linux/module.h>
#include <linux/delay.h>
#include <linux/comedi/comedi_pci.h>

/* Registers present in BAR0 memory region */
#define MF624_GPIOC_REG

#define MF6X4_GPIOC_EOLC
#define MF6X4_GPIOC_LDAC
#define MF6X4_GPIOC_DACEN

/* BAR1 registers */
#define MF6X4_ADDATA_REG
#define MF6X4_ADCTRL_REG
#define MF6X4_ADCTRL_CHAN(x)
#define MF6X4_DIN_REG
#define MF6X4_DIN_MASK
#define MF6X4_DOUT_REG
#define MF6X4_ADSTART_REG
#define MF6X4_DAC_REG(x)

/* BAR2 registers */
#define MF634_GPIOC_REG

enum mf6x4_boardid {};

struct mf6x4_board {};

static const struct mf6x4_board mf6x4_boards[] =;

struct mf6x4_private {};

static int mf6x4_di_insn_bits(struct comedi_device *dev,
			      struct comedi_subdevice *s,
			      struct comedi_insn *insn,
			      unsigned int *data)
{}

static int mf6x4_do_insn_bits(struct comedi_device *dev,
			      struct comedi_subdevice *s,
			      struct comedi_insn *insn,
			      unsigned int *data)
{}

static int mf6x4_ai_eoc(struct comedi_device *dev,
			struct comedi_subdevice *s,
			struct comedi_insn *insn,
			unsigned long context)
{}

static int mf6x4_ai_insn_read(struct comedi_device *dev,
			      struct comedi_subdevice *s,
			      struct comedi_insn *insn,
			      unsigned int *data)
{}

static int mf6x4_ao_insn_write(struct comedi_device *dev,
			       struct comedi_subdevice *s,
			       struct comedi_insn *insn,
			       unsigned int *data)
{}

static int mf6x4_auto_attach(struct comedi_device *dev, unsigned long context)
{}

static void mf6x4_detach(struct comedi_device *dev)
{}

static struct comedi_driver mf6x4_driver =;

static int mf6x4_pci_probe(struct pci_dev *dev, const struct pci_device_id *id)
{}

static const struct pci_device_id mf6x4_pci_table[] =;
MODULE_DEVICE_TABLE(pci, mf6x4_pci_table);

static struct pci_driver mf6x4_pci_driver =;

module_comedi_pci_driver();

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