|
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 | pcmuio_board |
| struct | pcmuio_subdev_private |
| struct | pcmuio_private |
Functions | |
| module_comedi_driver (pcmuio_driver) | |
| MODULE_AUTHOR ("Comedi http://www.comedi.org") | |
| MODULE_DESCRIPTION ("Comedi low-level driver") | |
| MODULE_LICENSE ("GPL") | |
| #define CALC_N_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 pcmuio_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*2*CHANS_PER_PORT) |
| #define PCMUIO48_IOSIZE ASIC_IOSIZE |
| #define PCMUIO96_IOSIZE (ASIC_IOSIZE*2) |
| #define PORTS_PER_SUBDEV (MAX_CHANS_PER_SUBDEV/CHANS_PER_PORT) |
| #define REG_LOCK_MASK ~(REG_PAGE_MASK) |
| #define REG_PAGELOCK |
| #define subpriv ((struct pcmuio_subdev_private *)s->private) |
| MODULE_AUTHOR | ( | "Comedi http://www.comedi.org" | ) |
| module_comedi_driver | ( | pcmuio_driver | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
1.8.2