Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
addi_common.h File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/ioport.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/timex.h>
#include <linux/timer.h>
#include <linux/pci.h>
#include <linux/io.h>
#include <linux/kmod.h>
#include <linux/uaccess.h>
#include "../../comedidev.h"
#include "addi_amcc_s5933.h"

Go to the source code of this file.

Data Structures

struct  addi_board
 
union  str_ModuleInfo
 
struct  addi_private
 

Macros

#define ERROR   -1
 
#define SUCCESS   1
 
#define LOBYTE(W)   (unsigned char)((W) & 0xFF)
 
#define HIBYTE(W)   (unsigned char)(((W) >> 8) & 0xFF)
 
#define MAKEWORD(H, L)   (unsigned short)((L) | ((H) << 8))
 
#define LOWORD(W)   (unsigned short)((W) & 0xFFFF)
 
#define HIWORD(W)   (unsigned short)(((W) >> 16) & 0xFFFF)
 
#define MAKEDWORD(H, L)   (unsigned int)((L) | ((H) << 16))
 
#define ADDI_ENABLE   1
 
#define ADDI_DISABLE   0
 
#define APCI1710_SAVE_INTERRUPT   1
 
#define ADDIDATA_EEPROM   1
 
#define ADDIDATA_NO_EEPROM   0
 
#define ADDIDATA_93C76   "93C76"
 
#define ADDIDATA_S5920   "S5920"
 
#define ADDIDATA_S5933   "S5933"
 
#define ADDIDATA_9054   "9054"
 
#define ADDIDATA_ENABLE   1
 
#define ADDIDATA_DISABLE   0
 

Macro Definition Documentation

#define ADDI_DISABLE   0

Definition at line 47 of file addi_common.h.

#define ADDI_ENABLE   1

Definition at line 46 of file addi_common.h.

#define ADDIDATA_9054   "9054"

Definition at line 55 of file addi_common.h.

#define ADDIDATA_93C76   "93C76"

Definition at line 52 of file addi_common.h.

#define ADDIDATA_DISABLE   0

Definition at line 59 of file addi_common.h.

#define ADDIDATA_EEPROM   1

Definition at line 50 of file addi_common.h.

#define ADDIDATA_ENABLE   1

Definition at line 58 of file addi_common.h.

#define ADDIDATA_NO_EEPROM   0

Definition at line 51 of file addi_common.h.

#define ADDIDATA_S5920   "S5920"

Definition at line 53 of file addi_common.h.

#define ADDIDATA_S5933   "S5933"

Definition at line 54 of file addi_common.h.

#define APCI1710_SAVE_INTERRUPT   1

Definition at line 48 of file addi_common.h.

#define ERROR   -1

Definition at line 36 of file addi_common.h.

#define HIBYTE (   W)    (unsigned char)(((W) >> 8) & 0xFF)

Definition at line 40 of file addi_common.h.

#define HIWORD (   W)    (unsigned short)(((W) >> 16) & 0xFFFF)

Definition at line 43 of file addi_common.h.

#define LOBYTE (   W)    (unsigned char)((W) & 0xFF)

Definition at line 39 of file addi_common.h.

#define LOWORD (   W)    (unsigned short)((W) & 0xFFFF)

Definition at line 42 of file addi_common.h.

#define MAKEDWORD (   H,
  L 
)    (unsigned int)((L) | ((H) << 16))

Definition at line 44 of file addi_common.h.

#define MAKEWORD (   H,
  L 
)    (unsigned short)((L) | ((H) << 8))

Definition at line 41 of file addi_common.h.

#define SUCCESS   1

Definition at line 37 of file addi_common.h.