Linux Kernel
3.7.1
|
#include <linux/interrupt.h>
#include "../comedidev.h"
#include <linux/ioport.h>
#include "am9513.h"
Go to the source code of this file.
Data Structures | |
struct | rti800_board |
struct | rti800_private |
Macros | |
#define | RTI800_SIZE 16 |
#define | RTI800_CSR 0 |
#define | RTI800_MUXGAIN 1 |
#define | RTI800_CONVERT 2 |
#define | RTI800_ADCLO 3 |
#define | RTI800_ADCHI 4 |
#define | RTI800_DAC0LO 5 |
#define | RTI800_DAC0HI 6 |
#define | RTI800_DAC1LO 7 |
#define | RTI800_DAC1HI 8 |
#define | RTI800_CLRFLAGS 9 |
#define | RTI800_DI 10 |
#define | RTI800_DO 11 |
#define | RTI800_9513A_DATA 12 |
#define | RTI800_9513A_CNTRL 13 |
#define | RTI800_9513A_STATUS 13 |
#define | RTI800_BUSY 0x80 |
#define | RTI800_DONE 0x40 |
#define | RTI800_OVERRUN 0x20 |
#define | RTI800_TCR 0x10 |
#define | RTI800_DMA_ENAB 0x08 |
#define | RTI800_INTR_TC 0x04 |
#define | RTI800_INTR_EC 0x02 |
#define | RTI800_INTR_OVRN 0x01 |
#define | Am9513_8BITBUS |
#define | Am9513_output_control(a) outb(a, dev->iobase+RTI800_9513A_CNTRL) |
#define | Am9513_output_data(a) outb(a, dev->iobase+RTI800_9513A_DATA) |
#define | Am9513_input_data() inb(dev->iobase+RTI800_9513A_DATA) |
#define | Am9513_input_status() inb(dev->iobase+RTI800_9513A_STATUS) |
#define | devpriv ((struct rti800_private *)dev->private) |
#define | RTI800_TIMEOUT 100 |
Functions | |
module_comedi_driver (rti800_driver) | |
MODULE_AUTHOR ("Comedi http://www.comedi.org") | |
MODULE_DESCRIPTION ("Comedi low-level driver") | |
MODULE_LICENSE ("GPL") | |
#define Am9513_input_data | ( | ) | inb(dev->iobase+RTI800_9513A_DATA) |
#define Am9513_input_status | ( | ) | inb(dev->iobase+RTI800_9513A_STATUS) |
#define devpriv ((struct rti800_private *)dev->private) |
MODULE_AUTHOR | ( | "Comedi http://www.comedi.org" | ) |
module_comedi_driver | ( | rti800_driver | ) |
MODULE_LICENSE | ( | "GPL" | ) |