Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
pcm3724.c File Reference
#include "../comedidev.h"
#include <linux/ioport.h>
#include <linux/delay.h>
#include "8255.h"

Go to the source code of this file.

Data Structures

struct  pcm3724_board
 
struct  priv_pcm3724
 

Macros

#define PCM3724_SIZE   16
 
#define SIZE_8255   4
 
#define BUF_C0   0x1
 
#define BUF_B0   0x2
 
#define BUF_A0   0x4
 
#define BUF_C1   0x8
 
#define BUF_B1   0x10
 
#define BUF_A1   0x20
 
#define GATE_A0   0x4
 
#define GATE_B0   0x2
 
#define GATE_C0   0x1
 
#define GATE_A1   0x20
 
#define GATE_B1   0x10
 
#define GATE_C1   0x8
 
#define CR_CW   0x80
 
#define _8255_CR   3
 
#define CR_B_IO   0x02
 
#define CR_B_MODE   0x04
 
#define CR_C_IO   0x09
 
#define CR_A_IO   0x10
 
#define CR_A_MODE(a)   ((a)<<5)
 
#define CR_CW   0x80
 

Functions

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

Macro Definition Documentation

#define _8255_CR   3

Definition at line 57 of file pcm3724.c.

#define BUF_A0   0x4

Definition at line 43 of file pcm3724.c.

#define BUF_A1   0x20

Definition at line 46 of file pcm3724.c.

#define BUF_B0   0x2

Definition at line 42 of file pcm3724.c.

#define BUF_B1   0x10

Definition at line 45 of file pcm3724.c.

#define BUF_C0   0x1

Definition at line 41 of file pcm3724.c.

#define BUF_C1   0x8

Definition at line 44 of file pcm3724.c.

#define CR_A_IO   0x10

Definition at line 61 of file pcm3724.c.

#define CR_A_MODE (   a)    ((a)<<5)

Definition at line 62 of file pcm3724.c.

#define CR_B_IO   0x02

Definition at line 58 of file pcm3724.c.

#define CR_B_MODE   0x04

Definition at line 59 of file pcm3724.c.

#define CR_C_IO   0x09

Definition at line 60 of file pcm3724.c.

#define CR_CW   0x80

Definition at line 63 of file pcm3724.c.

#define CR_CW   0x80

Definition at line 63 of file pcm3724.c.

#define GATE_A0   0x4

Definition at line 48 of file pcm3724.c.

#define GATE_A1   0x20

Definition at line 51 of file pcm3724.c.

#define GATE_B0   0x2

Definition at line 49 of file pcm3724.c.

#define GATE_B1   0x10

Definition at line 52 of file pcm3724.c.

#define GATE_C0   0x1

Definition at line 50 of file pcm3724.c.

#define GATE_C1   0x8

Definition at line 53 of file pcm3724.c.

#define PCM3724_SIZE   16

Definition at line 38 of file pcm3724.c.

#define SIZE_8255   4

Definition at line 39 of file pcm3724.c.

Function Documentation

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