Linux Kernel
3.7.1
|
#include <linux/interrupt.h>
#include <linux/slab.h>
#include "../comedidev.h"
#include "comedi_fc.h"
#include "8255.h"
#include "8253.h"
Go to the source code of this file.
Data Structures | |
struct | dio200_board |
struct | dio200_layout_struct |
struct | dio200_private |
struct | dio200_subdev_8254 |
struct | dio200_subdev_intr |
Macros | |
#define | DIO200_DRIVER_NAME "amplc_dio200" |
#define | DO_ISA IS_ENABLED(CONFIG_COMEDI_AMPLC_DIO200_ISA) |
#define | DO_PCI IS_ENABLED(CONFIG_COMEDI_AMPLC_DIO200_PCI) |
#define | PCI_VENDOR_ID_AMPLICON 0x14dc |
#define | PCI_DEVICE_ID_AMPLICON_PCI272 0x000a |
#define | PCI_DEVICE_ID_AMPLICON_PCI215 0x000b |
#define | PCI_DEVICE_ID_INVALID 0xffff |
#define | DIO200_IO_SIZE 0x20 |
#define | DIO200_XCLK_SCE 0x18 /* Group X clock selection register */ |
#define | DIO200_YCLK_SCE 0x19 /* Group Y clock selection register */ |
#define | DIO200_ZCLK_SCE 0x1a /* Group Z clock selection register */ |
#define | DIO200_XGAT_SCE 0x1b /* Group X gate selection register */ |
#define | DIO200_YGAT_SCE 0x1c /* Group Y gate selection register */ |
#define | DIO200_ZGAT_SCE 0x1d /* Group Z gate selection register */ |
#define | DIO200_INT_SCE 0x1e /* Interrupt enable/status register */ |
#define | CLK_SCE(which, chan, source) (((which) << 5) | ((chan) << 3) | (source)) |
#define | GAT_SCE(which, chan, source) (((which) << 5) | ((chan) << 3) | (source)) |
#define | DIO200_MAX_SUBDEVS 7 |
#define | DIO200_MAX_ISNS 6 |
Enumerations | |
enum | dio200_bustype { isa_bustype, pci_bustype } |
enum | dio200_model { pc212e_model, pc214e_model, pc215e_model, pci215_model, pc218e_model, pc272e_model, pci272_model, anypci_model } |
enum | dio200_layout { pc215_layout, pc272_layout } |
enum | dio200_sdtype { sd_none, sd_intr, sd_8255, sd_8254 } |
Functions | |
module_comedi_driver (amplc_dio200_driver) | |
MODULE_AUTHOR ("Comedi http://www.comedi.org") | |
MODULE_DESCRIPTION ("Comedi low-level driver") | |
MODULE_LICENSE ("GPL") | |
Definition at line 246 of file amplc_dio200.c.
#define DIO200_DRIVER_NAME "amplc_dio200" |
Definition at line 217 of file amplc_dio200.c.
#define DIO200_INT_SCE 0x1e /* Interrupt enable/status register */ |
Definition at line 236 of file amplc_dio200.c.
#define DIO200_IO_SIZE 0x20 |
Definition at line 229 of file amplc_dio200.c.
#define DIO200_MAX_ISNS 6 |
Definition at line 363 of file amplc_dio200.c.
#define DIO200_MAX_SUBDEVS 7 |
Definition at line 362 of file amplc_dio200.c.
#define DIO200_XCLK_SCE 0x18 /* Group X clock selection register */ |
Definition at line 230 of file amplc_dio200.c.
#define DIO200_XGAT_SCE 0x1b /* Group X gate selection register */ |
Definition at line 233 of file amplc_dio200.c.
#define DIO200_YCLK_SCE 0x19 /* Group Y clock selection register */ |
Definition at line 231 of file amplc_dio200.c.
#define DIO200_YGAT_SCE 0x1c /* Group Y gate selection register */ |
Definition at line 234 of file amplc_dio200.c.
#define DIO200_ZCLK_SCE 0x1a /* Group Z clock selection register */ |
Definition at line 232 of file amplc_dio200.c.
#define DIO200_ZGAT_SCE 0x1d /* Group Z gate selection register */ |
Definition at line 235 of file amplc_dio200.c.
#define DO_ISA IS_ENABLED(CONFIG_COMEDI_AMPLC_DIO200_ISA) |
Definition at line 219 of file amplc_dio200.c.
#define DO_PCI IS_ENABLED(CONFIG_COMEDI_AMPLC_DIO200_PCI) |
Definition at line 220 of file amplc_dio200.c.
Definition at line 247 of file amplc_dio200.c.
#define PCI_DEVICE_ID_AMPLICON_PCI215 0x000b |
Definition at line 225 of file amplc_dio200.c.
#define PCI_DEVICE_ID_AMPLICON_PCI272 0x000a |
Definition at line 224 of file amplc_dio200.c.
#define PCI_DEVICE_ID_INVALID 0xffff |
Definition at line 226 of file amplc_dio200.c.
#define PCI_VENDOR_ID_AMPLICON 0x14dc |
Definition at line 223 of file amplc_dio200.c.
enum dio200_bustype |
Definition at line 267 of file amplc_dio200.c.
enum dio200_layout |
Definition at line 278 of file amplc_dio200.c.
enum dio200_model |
pc212e_model | |
pc214e_model | |
pc215e_model | |
pci215_model | |
pc218e_model | |
pc272e_model | |
pci272_model | |
anypci_model |
Definition at line 269 of file amplc_dio200.c.
enum dio200_sdtype |
Definition at line 360 of file amplc_dio200.c.
MODULE_AUTHOR | ( | "Comedi http://www.comedi.org" | ) |
module_comedi_driver | ( | amplc_dio200_driver | ) |
MODULE_LICENSE | ( | "GPL" | ) |