Go to the source code of this file.
#define CHAN_ARRAY_CLEAR |
( |
|
array, |
|
|
|
index |
|
) |
| (((array)[(index)/8] &= ~(1 << ((index) & 0x7)))) |
#define CHAN_ARRAY_SET |
( |
|
array, |
|
|
|
index |
|
) |
| (((array)[(index)/8] |= 1 << ((index) & 0x7))) |
#define CHAN_ARRAY_TEST |
( |
|
array, |
|
|
|
index |
|
) |
| (((array)[(index)/8] >> ((index) & 0x7)) & 0x1) |
#define DMA0_ACTIVE 0x02 /* DMA0 is active */ |
#define DMA1_ACTIVE 0x04 /* DMA1 is active */ |
Value:(\
PLX_LOCAL_BUS_16_WIDE_BITS \
Definition at line 180 of file rtd520.c.
#define DMA_TRANSFER_BITS |
#define DRV_NAME "rtd520" |
#define LAS0_PCISIZE 0x200 |
#define LAS1_PCISIZE 0x10 |
#define LCFG_PCISIZE 0x100 |
#define PCI_VENDOR_ID_RTD 0x1435 |
#define RTD_ADC_TIMEOUT 2000 /* in usec */ |
#define RTD_CLOCK_RATE 8000000 /* 8Mhz onboard clock */ |
#define RTD_DAC_TIMEOUT 2000 /* in usec */ |
#define RTD_DMA_TIMEOUT 1000 /* in usec */ |
#define RTD_MAX_SPEED 1625 /* when sampling, in nanoseconds */ |
#define RTD_MAX_SPEED_1 875 /* if single channel, in nanoseconds */ |
#define RTD_MIN_SPEED 2097151875 /* (24bit counter) in nanoseconds */ |
#define RTD_MIN_SPEED_1 5000000 /* 200Hz, in nanoseconds */ |
#define SEND_EOS 0x01 /* send End Of Scan events */ |
#define TRANS_TARGET_PERIOD 10000000 /* 10 ms (in nanoseconds) */ |
#define WAIT_QUIETLY udelay(1) |
MODULE_AUTHOR |
( |
"Comedi http://www.comedi.org" |
| ) |
|
module_comedi_pci_driver |
( |
rtd520_driver |
, |
|
|
rtd520_pci_driver |
|
|
) |
| |
MODULE_DEVICE_TABLE |
( |
pci |
, |
|
|
rtd520_pci_table |
|
|
) |
| |