Searched refs:MEGAIOC_MAGIC (Results 1 – 4 of 4) sorted by relevance
903 #define MEGAIOC_MAGIC 'm' macro906 #define MEGAIOCCMD _IOWR(MEGAIOC_MAGIC, 0, struct uioctl_t)911 #define MKADAP(adapno) (MEGAIOC_MAGIC << 8 | (adapno) )912 #define GETADAP(mkadap) ( (mkadap) ^ MEGAIOC_MAGIC << 8 )
659 #define MEGAIOC_MAGIC 'm' macro662 #define MEGAIOCCMD _IOWR(MEGAIOC_MAGIC, 0, struct uioctl_t)667 #define MKADAP(adapno) (MEGAIOC_MAGIC << 8 | (adapno) )668 #define GETADAP(mkadap) ( (mkadap) ^ MEGAIOC_MAGIC << 8 )
4232 if( (_IOC_TYPE(cmd) != MEGAIOC_MAGIC) && (cmd != USCSICMD) ) { in megadev_ioctl()
4809 if (_IOC_TYPE (cmd) != MEGAIOC_MAGIC)