Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
ni_labpc.h File Reference

Go to the source code of this file.

Data Structures

struct  labpc_board_struct
 
struct  labpc_private
 

Macros

#define EEPROM_SIZE   256 /* 256 byte eeprom */
 
#define NUM_AO_CHAN   2 /* boards have two analog output channels */
 

Enumerations

enum  labpc_bustype { isa_bustype, pci_bustype, pcmcia_bustype }
 
enum  labpc_register_layout { labpc_plus_layout, labpc_1200_layout }
 
enum  transfer_type { fifo_not_empty_transfer, fifo_half_full_transfer, isa_dma_transfer }
 

Functions

int labpc_common_attach (struct comedi_device *dev, unsigned long iobase, unsigned int irq, unsigned int dma)
 
void labpc_common_detach (struct comedi_device *dev)
 

Variables

const int labpc_1200_is_unipolar []
 
const int labpc_1200_ai_gain_bits []
 
struct comedi_lrange range_labpc_1200_ai
 

Macro Definition Documentation

#define EEPROM_SIZE   256 /* 256 byte eeprom */

Definition at line 27 of file ni_labpc.h.

#define NUM_AO_CHAN   2 /* boards have two analog output channels */

Definition at line 28 of file ni_labpc.h.

Enumeration Type Documentation

Enumerator:
isa_bustype 
pci_bustype 
pcmcia_bustype 

Definition at line 30 of file ni_labpc.h.

Enumerator:
labpc_plus_layout 
labpc_1200_layout 

Definition at line 31 of file ni_labpc.h.

Enumerator:
fifo_not_empty_transfer 
fifo_half_full_transfer 
isa_dma_transfer 

Definition at line 32 of file ni_labpc.h.

Function Documentation

int labpc_common_attach ( struct comedi_device dev,
unsigned long  iobase,
unsigned int  irq,
unsigned int  dma 
)

Definition at line 504 of file ni_labpc.c.

void labpc_common_detach ( struct comedi_device dev)

Definition at line 771 of file ni_labpc.c.

Variable Documentation

const int labpc_1200_ai_gain_bits[]

Definition at line 350 of file ni_labpc.c.

const int labpc_1200_is_unipolar[]

Definition at line 331 of file ni_labpc.c.

struct comedi_lrange range_labpc_1200_ai

Definition at line 368 of file ni_labpc.c.