Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
ni_mio_cs.c File Reference
#include "../comedidev.h"
#include <linux/delay.h>
#include "ni_stc.h"
#include "8255.h"
#include <pcmcia/cistpl.h>
#include <pcmcia/ds.h>
#include "ni_mio_common.c"

Go to the source code of this file.

Data Structures

struct  ni_private
 

Macros

#define ATMIO   1
 
#define NI_SIZE   0x20
 
#define MAX_N_CALDACS   32
 
#define interrupt_pin(a)   0
 
#define IRQ_POLARITY   1
 
#define NI_E_IRQ_FLAGS   IRQF_SHARED
 
#define devpriv   ((struct ni_private *)dev->private)
 
#define ni_writel(a, b)   (outl((a), (b)+dev->iobase))
 
#define ni_readl(a)   (inl((a)+dev->iobase))
 
#define ni_writew(a, b)   (outw((a), (b)+dev->iobase))
 
#define ni_readw(a)   (inw((a)+dev->iobase))
 
#define ni_writeb(a, b)   (outb((a), (b)+dev->iobase))
 
#define ni_readb(a)   (inb((a)+dev->iobase))
 

Macro Definition Documentation

#define ATMIO   1

Definition at line 56 of file ni_mio_cs.c.

#define devpriv   ((struct ni_private *)dev->private)

Definition at line 180 of file ni_mio_cs.c.

#define interrupt_pin (   a)    0

Definition at line 168 of file ni_mio_cs.c.

#define IRQ_POLARITY   1

Definition at line 170 of file ni_mio_cs.c.

#define MAX_N_CALDACS   32

Definition at line 65 of file ni_mio_cs.c.

#define NI_E_IRQ_FLAGS   IRQF_SHARED

Definition at line 172 of file ni_mio_cs.c.

#define ni_readb (   a)    (inb((a)+dev->iobase))

Definition at line 189 of file ni_mio_cs.c.

#define ni_readl (   a)    (inl((a)+dev->iobase))

Definition at line 185 of file ni_mio_cs.c.

#define ni_readw (   a)    (inw((a)+dev->iobase))

Definition at line 187 of file ni_mio_cs.c.

#define NI_SIZE   0x20

Definition at line 63 of file ni_mio_cs.c.

#define ni_writeb (   a,
  b 
)    (outb((a), (b)+dev->iobase))

Definition at line 188 of file ni_mio_cs.c.

#define ni_writel (   a,
  b 
)    (outl((a), (b)+dev->iobase))

Definition at line 184 of file ni_mio_cs.c.

#define ni_writew (   a,
  b 
)    (outw((a), (b)+dev->iobase))

Definition at line 186 of file ni_mio_cs.c.