Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | dt2801_board |
struct | dt2801_private |
Macros | |
#define | DT2801_TIMEOUT 1000 |
#define | DT2801_MAX_DMA_SIZE (64 * 1024) |
#define | DT2801_IOSIZE 2 |
#define | DT_C_RESET 0x0 |
#define | DT_C_CLEAR_ERR 0x1 |
#define | DT_C_READ_ERRREG 0x2 |
#define | DT_C_SET_CLOCK 0x3 |
#define | DT_C_TEST 0xb |
#define | DT_C_STOP 0xf |
#define | DT_C_SET_DIGIN 0x4 |
#define | DT_C_SET_DIGOUT 0x5 |
#define | DT_C_READ_DIG 0x6 |
#define | DT_C_WRITE_DIG 0x7 |
#define | DT_C_WRITE_DAIM 0x8 |
#define | DT_C_SET_DA 0x9 |
#define | DT_C_WRITE_DA 0xa |
#define | DT_C_READ_ADIM 0xc |
#define | DT_C_SET_AD 0xd |
#define | DT_C_READ_AD 0xe |
#define | DT_MOD_DMA (1<<4) |
#define | DT_MOD_CONT (1<<5) |
#define | DT_MOD_EXTCLK (1<<6) |
#define | DT_MOD_EXTTRIG (1<<7) |
#define | DT_S_DATA_OUT_READY (1<<0) |
#define | DT_S_DATA_IN_FULL (1<<1) |
#define | DT_S_READY (1<<2) |
#define | DT_S_COMMAND (1<<3) |
#define | DT_S_COMPOSITE_ERROR (1<<7) |
#define | DT2801_DATA 0 |
#define | DT2801_STATUS 1 |
#define | DT2801_CMD 1 |
#define | boardtype (*(const struct dt2801_board *)dev->board_ptr) |
#define | devpriv ((struct dt2801_private *)dev->private) |
Functions | |
module_comedi_driver (dt2801_driver) | |
MODULE_AUTHOR ("Comedi http://www.comedi.org") | |
MODULE_DESCRIPTION ("Comedi low-level driver") | |
MODULE_LICENSE ("GPL") | |
#define boardtype (*(const struct dt2801_board *)dev->board_ptr) |
#define devpriv ((struct dt2801_private *)dev->private) |
MODULE_AUTHOR | ( | "Comedi http://www.comedi.org" | ) |
module_comedi_driver | ( | dt2801_driver | ) |
MODULE_LICENSE | ( | "GPL" | ) |