_IOC_TYPESHIFT 28 arch/alpha/include/uapi/asm/ioctl.h #define _IOC_SIZESHIFT (_IOC_TYPESHIFT+_IOC_TYPEBITS) _IOC_TYPESHIFT 43 arch/alpha/include/uapi/asm/ioctl.h ((type) << _IOC_TYPESHIFT) | \ _IOC_TYPESHIFT 55 arch/alpha/include/uapi/asm/ioctl.h #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) _IOC_TYPESHIFT 32 arch/sparc/include/uapi/asm/ioctl.h #define _IOC_SIZESHIFT (_IOC_TYPESHIFT + _IOC_TYPEBITS) _IOC_TYPESHIFT 41 arch/sparc/include/uapi/asm/ioctl.h ((type) << _IOC_TYPESHIFT) | \ _IOC_TYPESHIFT 55 arch/sparc/include/uapi/asm/ioctl.h #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK) _IOC_TYPESHIFT 46 include/uapi/asm-generic/ioctl.h #define _IOC_SIZESHIFT (_IOC_TYPESHIFT+_IOC_TYPEBITS) _IOC_TYPESHIFT 71 include/uapi/asm-generic/ioctl.h ((type) << _IOC_TYPESHIFT) | \ _IOC_TYPESHIFT 95 include/uapi/asm-generic/ioctl.h #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK)