Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
cb_das16_cs.c File Reference
#include <linux/interrupt.h>
#include <linux/slab.h>
#include "../comedidev.h"
#include <linux/delay.h>
#include <pcmcia/cistpl.h>
#include <pcmcia/ds.h>
#include "comedi_fc.h"
#include "8253.h"

Go to the source code of this file.

Data Structures

struct  das16cs_board
 
struct  das16cs_private
 

Macros

#define DAS16CS_SIZE   18
 
#define DAS16CS_ADC_DATA   0
 
#define DAS16CS_DIO_MUX   2
 
#define DAS16CS_MISC1   4
 
#define DAS16CS_MISC2   6
 
#define DAS16CS_CTR0   8
 
#define DAS16CS_CTR1   10
 
#define DAS16CS_CTR2   12
 
#define DAS16CS_CTR_CONTROL   14
 
#define DAS16CS_DIO   16
 
#define TIMEOUT   1000
 
#define MAX_SPEED   10000 /* in nanoseconds */
 
#define MIN_SPEED   1000000000 /* in nanoseconds */
 

Functions

 MODULE_DEVICE_TABLE (pcmcia, das16cs_id_table)
 
 module_init (das16cs_init)
 
 module_exit (das16cs_exit)
 
 MODULE_AUTHOR ("David A. Schleef <ds@schleef.org>")
 
 MODULE_DESCRIPTION ("Comedi driver for Computer Boards PC-CARD DAS16/16")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define DAS16CS_ADC_DATA   0

Definition at line 54 of file cb_das16_cs.c.

#define DAS16CS_CTR0   8

Definition at line 58 of file cb_das16_cs.c.

#define DAS16CS_CTR1   10

Definition at line 59 of file cb_das16_cs.c.

#define DAS16CS_CTR2   12

Definition at line 60 of file cb_das16_cs.c.

#define DAS16CS_CTR_CONTROL   14

Definition at line 61 of file cb_das16_cs.c.

#define DAS16CS_DIO   16

Definition at line 62 of file cb_das16_cs.c.

#define DAS16CS_DIO_MUX   2

Definition at line 55 of file cb_das16_cs.c.

#define DAS16CS_MISC1   4

Definition at line 56 of file cb_das16_cs.c.

#define DAS16CS_MISC2   6

Definition at line 57 of file cb_das16_cs.c.

#define DAS16CS_SIZE   18

Definition at line 52 of file cb_das16_cs.c.

#define MAX_SPEED   10000 /* in nanoseconds */
#define MIN_SPEED   1000000000 /* in nanoseconds */
#define TIMEOUT   1000

Function Documentation

MODULE_AUTHOR ( "David A. Schleef <ds@schleef.org>"  )
MODULE_DESCRIPTION ( "Comedi driver for Computer Boards PC-CARD DAS16/16"  )
MODULE_DEVICE_TABLE ( pcmcia  ,
das16cs_id_table   
)
module_exit ( das16cs_exit  )
module_init ( das16cs_init  )
MODULE_LICENSE ( "GPL"  )