Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
ni_670x.c File Reference
#include <linux/interrupt.h>
#include <linux/slab.h>
#include "../comedidev.h"
#include "mite.h"

Go to the source code of this file.

Data Structures

struct  ni_670x_board
 
struct  ni_670x_private
 

Macros

#define AO_VALUE_OFFSET   0x00
 
#define AO_CHAN_OFFSET   0x0c
 
#define AO_STATUS_OFFSET   0x10
 
#define AO_CONTROL_OFFSET   0x10
 
#define DIO_PORT0_DIR_OFFSET   0x20
 
#define DIO_PORT0_DATA_OFFSET   0x24
 
#define DIO_PORT1_DIR_OFFSET   0x28
 
#define DIO_PORT1_DATA_OFFSET   0x2c
 
#define MISC_STATUS_OFFSET   0x14
 
#define MISC_CONTROL_OFFSET   0x14
 

Functions

 MODULE_DEVICE_TABLE (pci, ni_670x_pci_table)
 
 module_comedi_pci_driver (ni_670x_driver, ni_670x_pci_driver)
 
 MODULE_AUTHOR ("Comedi http://www.comedi.org")
 
 MODULE_DESCRIPTION ("Comedi low-level driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define AO_CHAN_OFFSET   0x0c

Definition at line 51 of file ni_670x.c.

#define AO_CONTROL_OFFSET   0x10

Definition at line 53 of file ni_670x.c.

#define AO_STATUS_OFFSET   0x10

Definition at line 52 of file ni_670x.c.

#define AO_VALUE_OFFSET   0x00

Definition at line 50 of file ni_670x.c.

#define DIO_PORT0_DATA_OFFSET   0x24

Definition at line 55 of file ni_670x.c.

#define DIO_PORT0_DIR_OFFSET   0x20

Definition at line 54 of file ni_670x.c.

#define DIO_PORT1_DATA_OFFSET   0x2c

Definition at line 57 of file ni_670x.c.

#define DIO_PORT1_DIR_OFFSET   0x28

Definition at line 56 of file ni_670x.c.

#define MISC_CONTROL_OFFSET   0x14

Definition at line 59 of file ni_670x.c.

#define MISC_STATUS_OFFSET   0x14

Definition at line 58 of file ni_670x.c.

Function Documentation

MODULE_AUTHOR ( "Comedi http://www.comedi.org"  )
module_comedi_pci_driver ( ni_670x_driver  ,
ni_670x_pci_driver   
)
MODULE_DESCRIPTION ( "Comedi low-level driver )
MODULE_DEVICE_TABLE ( pci  ,
ni_670x_pci_table   
)
MODULE_LICENSE ( "GPL"  )