Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
gio.h File Reference
#include <linux/ioctl.h>

Go to the source code of this file.

Macros

#define VERSION_STR   "1.00"
 
#define GIO_DRIVER_NAME   "/dev/giodrv"
 
#define GIODRV_IOC_MAGIC   'k'
 
#define GIODRV_IOCRESET   _IO(GIODRV_IOC_MAGIC, 0)
 
#define GIODRV_IOCSGIODATA1   _IOW(GIODRV_IOC_MAGIC, 1, unsigned char *)
 
#define GIODRV_IOCGGIODATA1   _IOR(GIODRV_IOC_MAGIC, 2, unsigned char *)
 
#define GIODRV_IOCSGIODATA2   _IOW(GIODRV_IOC_MAGIC, 3, unsigned short *)
 
#define GIODRV_IOCGGIODATA2   _IOR(GIODRV_IOC_MAGIC, 4, unsigned short *)
 
#define GIODRV_IOCSGIODATA4   _IOW(GIODRV_IOC_MAGIC, 5, unsigned long *)
 
#define GIODRV_IOCGGIODATA4   _IOR(GIODRV_IOC_MAGIC, 6, unsigned long *)
 
#define GIODRV_IOCSGIOSETADDR   _IOW(GIODRV_IOC_MAGIC, 7, unsigned long *)
 
#define GIODRV_IOCHARDRESET   _IO(GIODRV_IOC_MAGIC, 8) /* debugging tool */
 
#define GIODRV_IOC_MAXNR   8
 
#define GIO_READ   0x00000000
 
#define GIO_WRITE   0x00000001
 

Macro Definition Documentation

#define GIO_DRIVER_NAME   "/dev/giodrv"

Definition at line 10 of file gio.h.

#define GIO_READ   0x00000000

Definition at line 34 of file gio.h.

#define GIO_WRITE   0x00000001

Definition at line 35 of file gio.h.

#define GIODRV_IOC_MAGIC   'k'

Definition at line 13 of file gio.h.

#define GIODRV_IOC_MAXNR   8

Definition at line 32 of file gio.h.

#define GIODRV_IOCGGIODATA1   _IOR(GIODRV_IOC_MAGIC, 2, unsigned char *)

Definition at line 25 of file gio.h.

#define GIODRV_IOCGGIODATA2   _IOR(GIODRV_IOC_MAGIC, 4, unsigned short *)

Definition at line 27 of file gio.h.

#define GIODRV_IOCGGIODATA4   _IOR(GIODRV_IOC_MAGIC, 6, unsigned long *)

Definition at line 29 of file gio.h.

#define GIODRV_IOCHARDRESET   _IO(GIODRV_IOC_MAGIC, 8) /* debugging tool */

Definition at line 31 of file gio.h.

#define GIODRV_IOCRESET   _IO(GIODRV_IOC_MAGIC, 0)

Definition at line 15 of file gio.h.

#define GIODRV_IOCSGIODATA1   _IOW(GIODRV_IOC_MAGIC, 1, unsigned char *)

Definition at line 24 of file gio.h.

#define GIODRV_IOCSGIODATA2   _IOW(GIODRV_IOC_MAGIC, 3, unsigned short *)

Definition at line 26 of file gio.h.

#define GIODRV_IOCSGIODATA4   _IOW(GIODRV_IOC_MAGIC, 5, unsigned long *)

Definition at line 28 of file gio.h.

#define GIODRV_IOCSGIOSETADDR   _IOW(GIODRV_IOC_MAGIC, 7, unsigned long *)

Definition at line 30 of file gio.h.

#define VERSION_STR   "1.00"

Definition at line 7 of file gio.h.