Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
pcl818.c File Reference
#include "../comedidev.h"
#include <linux/ioport.h>
#include <linux/mc146818rtc.h>
#include <linux/gfp.h>
#include <linux/delay.h>
#include <linux/io.h>
#include <asm/dma.h>
#include "comedi_fc.h"
#include "8253.h"

Go to the source code of this file.

Data Structures

struct  pcl818_board
 
struct  pcl818_private
 

Macros

#define boardPCL818L   0
 
#define boardPCL818H   1
 
#define boardPCL818HD   2
 
#define boardPCL818HG   3
 
#define boardPCL818   4
 
#define boardPCL718   5
 
#define PCLx1x_RANGE   16
 
#define PCLx1xFIFO_RANGE   32
 
#define PCL818_CLRINT   8
 
#define PCL818_STATUS   8
 
#define PCL818_RANGE   1
 
#define PCL818_MUX   2
 
#define PCL818_CONTROL   9
 
#define PCL818_CNTENABLE   10
 
#define PCL818_AD_LO   0
 
#define PCL818_AD_HI   1
 
#define PCL818_DA_LO   4
 
#define PCL818_DA_HI   5
 
#define PCL818_DI_LO   3
 
#define PCL818_DI_HI   11
 
#define PCL818_DO_LO   3
 
#define PCL818_DO_HI   11
 
#define PCL718_DA2_LO   6
 
#define PCL718_DA2_HI   7
 
#define PCL818_CTR0   12
 
#define PCL818_CTR1   13
 
#define PCL818_CTR2   14
 
#define PCL818_CTRCTL   15
 
#define PCL818_FI_ENABLE   6
 
#define PCL818_FI_INTCLR   20
 
#define PCL818_FI_FLUSH   25
 
#define PCL818_FI_STATUS   25
 
#define PCL818_FI_DATALO   23
 
#define PCL818_FI_DATAHI   23
 
#define INT_TYPE_AI1_INT   1
 
#define INT_TYPE_AI1_DMA   2
 
#define INT_TYPE_AI1_FIFO   3
 
#define INT_TYPE_AI3_INT   4
 
#define INT_TYPE_AI3_DMA   5
 
#define INT_TYPE_AI3_FIFO   6
 
#define MAGIC_DMA_WORD   0x5a5a
 
#define devpriv   ((struct pcl818_private *)dev->private)
 

Functions

 module_comedi_driver (pcl818_driver)
 
 MODULE_AUTHOR ("Comedi http://www.comedi.org")
 
 MODULE_DESCRIPTION ("Comedi low-level driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define boardPCL718   5

Definition at line 122 of file pcl818.c.

#define boardPCL818   4

Definition at line 121 of file pcl818.c.

#define boardPCL818H   1

Definition at line 118 of file pcl818.c.

#define boardPCL818HD   2

Definition at line 119 of file pcl818.c.

#define boardPCL818HG   3

Definition at line 120 of file pcl818.c.

#define boardPCL818L   0

Definition at line 117 of file pcl818.c.

#define devpriv   ((struct pcl818_private *)dev->private)

Definition at line 329 of file pcl818.c.

#define INT_TYPE_AI1_DMA   2

Definition at line 179 of file pcl818.c.

#define INT_TYPE_AI1_FIFO   3

Definition at line 180 of file pcl818.c.

#define INT_TYPE_AI1_INT   1

Definition at line 178 of file pcl818.c.

#define INT_TYPE_AI3_DMA   5

Definition at line 182 of file pcl818.c.

#define INT_TYPE_AI3_FIFO   6

Definition at line 183 of file pcl818.c.

#define INT_TYPE_AI3_INT   4

Definition at line 181 of file pcl818.c.

#define MAGIC_DMA_WORD   0x5a5a

Definition at line 198 of file pcl818.c.

#define PCL718_DA2_HI   7

Definition at line 157 of file pcl818.c.

#define PCL718_DA2_LO   6

Definition at line 156 of file pcl818.c.

#define PCL818_AD_HI   1

Definition at line 145 of file pcl818.c.

#define PCL818_AD_LO   0

Definition at line 143 of file pcl818.c.

#define PCL818_CLRINT   8

Definition at line 130 of file pcl818.c.

#define PCL818_CNTENABLE   10

Definition at line 140 of file pcl818.c.

#define PCL818_CONTROL   9

Definition at line 138 of file pcl818.c.

#define PCL818_CTR0   12

Definition at line 159 of file pcl818.c.

#define PCL818_CTR1   13

Definition at line 160 of file pcl818.c.

#define PCL818_CTR2   14

Definition at line 161 of file pcl818.c.

#define PCL818_CTRCTL   15

Definition at line 163 of file pcl818.c.

#define PCL818_DA_HI   5

Definition at line 148 of file pcl818.c.

#define PCL818_DA_LO   4

Definition at line 147 of file pcl818.c.

#define PCL818_DI_HI   11

Definition at line 151 of file pcl818.c.

#define PCL818_DI_LO   3

Definition at line 150 of file pcl818.c.

#define PCL818_DO_HI   11

Definition at line 154 of file pcl818.c.

#define PCL818_DO_LO   3

Definition at line 153 of file pcl818.c.

#define PCL818_FI_DATAHI   23

Definition at line 175 of file pcl818.c.

#define PCL818_FI_DATALO   23

Definition at line 174 of file pcl818.c.

#define PCL818_FI_ENABLE   6

Definition at line 166 of file pcl818.c.

#define PCL818_FI_FLUSH   25

Definition at line 170 of file pcl818.c.

#define PCL818_FI_INTCLR   20

Definition at line 168 of file pcl818.c.

#define PCL818_FI_STATUS   25

Definition at line 172 of file pcl818.c.

#define PCL818_MUX   2

Definition at line 136 of file pcl818.c.

#define PCL818_RANGE   1

Definition at line 134 of file pcl818.c.

#define PCL818_STATUS   8

Definition at line 132 of file pcl818.c.

#define PCLx1x_RANGE   16

Definition at line 125 of file pcl818.c.

#define PCLx1xFIFO_RANGE   32

Definition at line 127 of file pcl818.c.

Function Documentation

MODULE_AUTHOR ( "Comedi http://www.comedi.org"  )
module_comedi_driver ( pcl818_driver  )
MODULE_DESCRIPTION ( "Comedi low-level driver )
MODULE_LICENSE ( "GPL"  )