Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
pcl816.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  pcl816_board
 
struct  pcl816_private
 

Macros

#define DEBUG(x)   x
 
#define PCLx1x_RANGE   16
 
#define PCL816_CTR0   4
 
#define PCL816_CTR1   5
 
#define PCL816_CTR2   6
 
#define PCL816_CTRCTL   7
 
#define PCL816_RANGE   9
 
#define PCL816_CLRINT   10
 
#define PCL816_MUX   11
 
#define PCL816_CONTROL   12
 
#define PCL816_STATUS   13
 
#define PCL816_STATUS_DRDY_MASK   0x80
 
#define PCL816_AD_LO   8
 
#define PCL816_AD_HI   9
 
#define INT_TYPE_AI1_INT   1
 
#define INT_TYPE_AI1_DMA   2
 
#define INT_TYPE_AI3_INT   4
 
#define INT_TYPE_AI3_DMA   5
 
#define MAGIC_DMA_WORD   0x5a5a
 
#define devpriv   ((struct pcl816_private *)dev->private)
 

Functions

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

Macro Definition Documentation

#define DEBUG (   x)    x

Definition at line 47 of file pcl816.c.

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

Definition at line 129 of file pcl816.c.

#define INT_TYPE_AI1_DMA   2

Definition at line 82 of file pcl816.c.

#define INT_TYPE_AI1_INT   1

Definition at line 81 of file pcl816.c.

#define INT_TYPE_AI3_DMA   5

Definition at line 84 of file pcl816.c.

#define INT_TYPE_AI3_INT   4

Definition at line 83 of file pcl816.c.

#define MAGIC_DMA_WORD   0x5a5a

Definition at line 94 of file pcl816.c.

#define PCL816_AD_HI   9

Definition at line 78 of file pcl816.c.

#define PCL816_AD_LO   8

Definition at line 76 of file pcl816.c.

#define PCL816_CLRINT   10

Definition at line 65 of file pcl816.c.

#define PCL816_CONTROL   12

Definition at line 69 of file pcl816.c.

#define PCL816_CTR0   4

Definition at line 56 of file pcl816.c.

#define PCL816_CTR1   5

Definition at line 57 of file pcl816.c.

#define PCL816_CTR2   6

Definition at line 58 of file pcl816.c.

#define PCL816_CTRCTL   7

Definition at line 60 of file pcl816.c.

#define PCL816_MUX   11

Definition at line 67 of file pcl816.c.

#define PCL816_RANGE   9

Definition at line 63 of file pcl816.c.

#define PCL816_STATUS   13

Definition at line 72 of file pcl816.c.

#define PCL816_STATUS_DRDY_MASK   0x80

Definition at line 73 of file pcl816.c.

#define PCLx1x_RANGE   16

Definition at line 51 of file pcl816.c.

Function Documentation

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