Linux Kernel
3.7.1
|
#include <linux/interrupt.h>
#include <linux/slab.h>
#include "../comedidev.h"
#include "pcm_common.h"
#include <linux/pci.h>
Go to the source code of this file.
Data Structures | |
struct | pcmmio_board |
struct | pcmmio_subdev_private |
struct | pcmmio_private |
Functions | |
module_comedi_driver (pcmmio_driver) | |
MODULE_AUTHOR ("Comedi http://www.comedi.org") | |
MODULE_DESCRIPTION ("Comedi low-level driver") | |
MODULE_LICENSE ("GPL") | |
#define CALC_N_DIO_SUBDEVS | ( | nchans | ) | ((nchans)/MAX_CHANS_PER_SUBDEV + (!!((nchans)%MAX_CHANS_PER_SUBDEV)) /*+ (nchans > INTR_CHANS_PER_ASIC ? 2 : 1)*/) |
#define CHANS_PER_ASIC (CHANS_PER_PORT*PORTS_PER_ASIC) |
#define devpriv ((struct pcmmio_private *)dev->private) |
#define INTR_PORTS_PER_SUBDEV (INTR_CHANS_PER_ASIC/CHANS_PER_PORT) |
#define MAX_ASICS (MAX_DIO_CHANS/CHANS_PER_ASIC) |
#define MAX_DIO_CHANS (PORTS_PER_ASIC*1*CHANS_PER_PORT) |
#define PCMMIO48_IOSIZE ASIC_IOSIZE |
#define PORTS_PER_SUBDEV (MAX_CHANS_PER_SUBDEV/CHANS_PER_PORT) |
#define REG_LOCK_MASK (~(REG_PAGE_MASK)) |
#define REG_PAGELOCK |
#define subpriv ((struct pcmmio_subdev_private *)s->private) |
MODULE_AUTHOR | ( | "Comedi http://www.comedi.org" | ) |
module_comedi_driver | ( | pcmmio_driver | ) |
MODULE_LICENSE | ( | "GPL" | ) |