GIODRV_IOC_MAGIC 16 arch/sh/include/mach-landisk/mach/gio.h #define GIODRV_IOCRESET _IO(GIODRV_IOC_MAGIC, 0) GIODRV_IOC_MAGIC 25 arch/sh/include/mach-landisk/mach/gio.h #define GIODRV_IOCSGIODATA1 _IOW(GIODRV_IOC_MAGIC, 1, unsigned char *) GIODRV_IOC_MAGIC 26 arch/sh/include/mach-landisk/mach/gio.h #define GIODRV_IOCGGIODATA1 _IOR(GIODRV_IOC_MAGIC, 2, unsigned char *) GIODRV_IOC_MAGIC 27 arch/sh/include/mach-landisk/mach/gio.h #define GIODRV_IOCSGIODATA2 _IOW(GIODRV_IOC_MAGIC, 3, unsigned short *) GIODRV_IOC_MAGIC 28 arch/sh/include/mach-landisk/mach/gio.h #define GIODRV_IOCGGIODATA2 _IOR(GIODRV_IOC_MAGIC, 4, unsigned short *) GIODRV_IOC_MAGIC 29 arch/sh/include/mach-landisk/mach/gio.h #define GIODRV_IOCSGIODATA4 _IOW(GIODRV_IOC_MAGIC, 5, unsigned long *) GIODRV_IOC_MAGIC 30 arch/sh/include/mach-landisk/mach/gio.h #define GIODRV_IOCGGIODATA4 _IOR(GIODRV_IOC_MAGIC, 6, unsigned long *) GIODRV_IOC_MAGIC 31 arch/sh/include/mach-landisk/mach/gio.h #define GIODRV_IOCSGIOSETADDR _IOW(GIODRV_IOC_MAGIC, 7, unsigned long *) GIODRV_IOC_MAGIC 32 arch/sh/include/mach-landisk/mach/gio.h #define GIODRV_IOCHARDRESET _IO(GIODRV_IOC_MAGIC, 8) /* debugging tool */