Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
pcl812.c File Reference
#include <linux/interrupt.h>
#include <linux/gfp.h>
#include "../comedidev.h"
#include <linux/delay.h>
#include <linux/ioport.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  pcl812_board
 
struct  pcl812_private
 

Macros

#define boardPCL812PG   0 /* and ACL-8112PG */
 
#define boardPCL813B   1
 
#define boardPCL812   2
 
#define boardPCL813   3
 
#define boardISO813   5
 
#define boardACL8113   6
 
#define boardACL8112   7 /* ACL-8112DG/HG, A-822PGL/PGH, A-823PGL/PGH */
 
#define boardACL8216   8 /* and ICP DAS A-826PG */
 
#define boardA821   9 /* PGH, PGL, PGL/NDA versions */
 
#define PCLx1x_IORANGE   16
 
#define PCL812_CTR0   0
 
#define PCL812_CTR1   1
 
#define PCL812_CTR2   2
 
#define PCL812_CTRCTL   3
 
#define PCL812_AD_LO   4
 
#define PCL812_DA1_LO   4
 
#define PCL812_AD_HI   5
 
#define PCL812_DA1_HI   5
 
#define PCL812_DA2_LO   6
 
#define PCL812_DI_LO   6
 
#define PCL812_DA2_HI   7
 
#define PCL812_DI_HI   7
 
#define PCL812_CLRINT   8
 
#define PCL812_GAIN   9
 
#define PCL812_MUX   10
 
#define PCL812_MODE   11
 
#define PCL812_CNTENABLE   10
 
#define PCL812_SOFTTRIG   12
 
#define PCL812_DO_LO   13
 
#define PCL812_DO_HI   14
 
#define PCL812_DRDY   0x10 /* =0 data ready */
 
#define ACL8216_STATUS   8 /* 5. bit signalize data ready */
 
#define ACL8216_DRDY   0x20 /* =0 data ready */
 
#define MAX_CHANLIST_LEN   256 /* length of scan list */
 
#define devpriv   ((struct pcl812_private *)dev->private)
 

Functions

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

Macro Definition Documentation

#define ACL8216_DRDY   0x20 /* =0 data ready */

Definition at line 161 of file pcl812.c.

#define ACL8216_STATUS   8 /* 5. bit signalize data ready */

Definition at line 159 of file pcl812.c.

#define boardA821   9 /* PGH, PGL, PGL/NDA versions */

Definition at line 132 of file pcl812.c.

#define boardACL8112   7 /* ACL-8112DG/HG, A-822PGL/PGH, A-823PGL/PGH */

Definition at line 130 of file pcl812.c.

#define boardACL8113   6

Definition at line 129 of file pcl812.c.

#define boardACL8216   8 /* and ICP DAS A-826PG */

Definition at line 131 of file pcl812.c.

#define boardISO813   5

Definition at line 128 of file pcl812.c.

#define boardPCL812   2

Definition at line 126 of file pcl812.c.

#define boardPCL812PG   0 /* and ACL-8112PG */

Definition at line 124 of file pcl812.c.

#define boardPCL813   3

Definition at line 127 of file pcl812.c.

#define boardPCL813B   1

Definition at line 125 of file pcl812.c.

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

Definition at line 372 of file pcl812.c.

#define MAX_CHANLIST_LEN   256 /* length of scan list */

Definition at line 163 of file pcl812.c.

#define PCL812_AD_HI   5

Definition at line 142 of file pcl812.c.

#define PCL812_AD_LO   4

Definition at line 140 of file pcl812.c.

#define PCL812_CLRINT   8

Definition at line 148 of file pcl812.c.

#define PCL812_CNTENABLE   10

Definition at line 152 of file pcl812.c.

#define PCL812_CTR0   0

Definition at line 136 of file pcl812.c.

#define PCL812_CTR1   1

Definition at line 137 of file pcl812.c.

#define PCL812_CTR2   2

Definition at line 138 of file pcl812.c.

#define PCL812_CTRCTL   3

Definition at line 139 of file pcl812.c.

#define PCL812_DA1_HI   5

Definition at line 143 of file pcl812.c.

#define PCL812_DA1_LO   4

Definition at line 141 of file pcl812.c.

#define PCL812_DA2_HI   7

Definition at line 146 of file pcl812.c.

#define PCL812_DA2_LO   6

Definition at line 144 of file pcl812.c.

#define PCL812_DI_HI   7

Definition at line 147 of file pcl812.c.

#define PCL812_DI_LO   6

Definition at line 145 of file pcl812.c.

#define PCL812_DO_HI   14

Definition at line 155 of file pcl812.c.

#define PCL812_DO_LO   13

Definition at line 154 of file pcl812.c.

#define PCL812_DRDY   0x10 /* =0 data ready */

Definition at line 157 of file pcl812.c.

#define PCL812_GAIN   9

Definition at line 149 of file pcl812.c.

#define PCL812_MODE   11

Definition at line 151 of file pcl812.c.

#define PCL812_MUX   10

Definition at line 150 of file pcl812.c.

#define PCL812_SOFTTRIG   12

Definition at line 153 of file pcl812.c.

#define PCLx1x_IORANGE   16

Definition at line 134 of file pcl812.c.

Function Documentation

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