RTXI 1.3
comedi/comedi/drivers/addi-data/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 <asm/io.h>
#include <linux/comedidev.h>
#include "addi_amcc_s5933.h"
#include <linux/kmod.h>
#include <asm/uaccess.h>

Go to the source code of this file.

Classes

struct  boardtype
union  str_ModuleInfo
struct  addi_private

Defines

#define ERROR   -1
#define SUCCESS   1
#define LOBYTE(W)   (BYTE )((W)&0xFF)
#define HIBYTE(W)   (BYTE )(((W)>>8)&0xFF)
#define MAKEWORD(H, L)   (USHORT )((L)|( (H)<<8) )
#define LOWORD(W)   (USHORT )((W)&0xFFFF)
#define HIWORD(W)   (USHORT )(((W)>>16)&0xFFFF)
#define MAKEDWORD(H, L)   (UINT )((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

Typedefs

typedef void VOID
typedef void * PVOID
typedef char CHAR
typedef char * PCHAR
typedef const CHARPCSTR
typedef unsigned char BYTE
typedef unsigned char * PBYTE
typedef short SHORT
typedef short * PSHORT
typedef unsigned short USHORT
typedef unsigned short * PUSHORT
typedef unsigned short WORD
typedef unsigned short * PWORD
typedef int INT
typedef int * PINT
typedef unsigned int UINT
typedef unsigned int * PUINT
typedef int LONG
typedef int * PLONG
typedef unsigned int ULONG
typedef unsigned int * PULONG
typedef unsigned int DWORD
typedef unsigned int * PDWORD
typedef unsigned long ULONG_PTR
typedef const comedi_lrangePCRANGE

Define Documentation

#define ADDI_DISABLE   0

Definition at line 90 of file addi_common.h.

#define ADDI_ENABLE   1

Definition at line 89 of file addi_common.h.

#define ADDIDATA_9054   "9054"

Definition at line 98 of file addi_common.h.

#define ADDIDATA_93C76   "93C76"

Definition at line 95 of file addi_common.h.

#define ADDIDATA_DISABLE   0

Definition at line 102 of file addi_common.h.

#define ADDIDATA_EEPROM   1

Definition at line 93 of file addi_common.h.

#define ADDIDATA_ENABLE   1

Definition at line 101 of file addi_common.h.

#define ADDIDATA_NO_EEPROM   0

Definition at line 94 of file addi_common.h.

#define ADDIDATA_S5920   "S5920"

Definition at line 96 of file addi_common.h.

#define ADDIDATA_S5933   "S5933"

Definition at line 97 of file addi_common.h.

#define APCI1710_SAVE_INTERRUPT   1

Definition at line 91 of file addi_common.h.

#define ERROR   -1

Copyright (C) 2004,2005  ADDI-DATA GmbH for the source code of this module. 
        
        ADDI-DATA GmbH 
        Dieselstrasse 3 
        D-77833 Ottersweier 
        Tel: +19(0)7223/9493-0 
        Fax: +49(0)7223/9493-92 
        http://www.addi-data-com 
        info@addi-data.com 

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

You shoud also find the complete GPL in the COPYING file accompanying this source code.

Definition at line 62 of file addi_common.h.

#define HIBYTE (   W)    (BYTE )(((W)>>8)&0xFF)

Definition at line 83 of file addi_common.h.

#define HIWORD (   W)    (USHORT )(((W)>>16)&0xFFFF)

Definition at line 86 of file addi_common.h.

#define LOBYTE (   W)    (BYTE )((W)&0xFF)

Definition at line 82 of file addi_common.h.

#define LOWORD (   W)    (USHORT )((W)&0xFFFF)

Definition at line 85 of file addi_common.h.

#define MAKEDWORD (   H,
 
)    (UINT )((L)|( (H)<<16) )

Definition at line 87 of file addi_common.h.

#define MAKEWORD (   H,
 
)    (USHORT )((L)|( (H)<<8) )

Definition at line 84 of file addi_common.h.

#define SUCCESS   1

Definition at line 63 of file addi_common.h.


Typedef Documentation

typedef unsigned char BYTE

Definition at line 70 of file addi_common.h.

typedef char CHAR

Definition at line 68 of file addi_common.h.

typedef unsigned int DWORD

Definition at line 78 of file addi_common.h.

typedef int INT

Definition at line 74 of file addi_common.h.

typedef int LONG

Definition at line 76 of file addi_common.h.

typedef unsigned char * PBYTE

Definition at line 70 of file addi_common.h.

typedef char * PCHAR

Definition at line 68 of file addi_common.h.

typedef const comedi_lrange* PCRANGE

Definition at line 81 of file addi_common.h.

typedef const CHAR* PCSTR

Definition at line 69 of file addi_common.h.

typedef unsigned int * PDWORD

Definition at line 78 of file addi_common.h.

typedef int * PINT

Definition at line 74 of file addi_common.h.

typedef int * PLONG

Definition at line 76 of file addi_common.h.

typedef short * PSHORT

Definition at line 71 of file addi_common.h.

typedef unsigned int * PUINT

Definition at line 74 of file addi_common.h.

typedef unsigned int * PULONG

Definition at line 77 of file addi_common.h.

typedef unsigned short * PUSHORT

Definition at line 72 of file addi_common.h.

typedef void * PVOID

Definition at line 67 of file addi_common.h.

typedef unsigned short * PWORD

Definition at line 73 of file addi_common.h.

typedef short SHORT

Definition at line 71 of file addi_common.h.

typedef unsigned int UINT

Definition at line 74 of file addi_common.h.

typedef unsigned int ULONG

Definition at line 77 of file addi_common.h.

typedef unsigned long ULONG_PTR

Definition at line 79 of file addi_common.h.

typedef unsigned short USHORT

Definition at line 72 of file addi_common.h.

typedef void VOID

Definition at line 67 of file addi_common.h.

typedef unsigned short WORD

Definition at line 73 of file addi_common.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines