Home
last modified time | relevance | path

Searched refs:_IOC_SIZESHIFT (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/arch/alpha/include/uapi/asm/
H A Dioctl.h28 #define _IOC_SIZESHIFT (_IOC_TYPESHIFT+_IOC_TYPEBITS) macro
29 #define _IOC_DIRSHIFT (_IOC_SIZESHIFT+_IOC_SIZEBITS)
45 ((size) << _IOC_SIZESHIFT)))
57 #define _IOC_SIZE(nr) (((nr) >> _IOC_SIZESHIFT) & _IOC_SIZEMASK)
64 #define IOCSIZE_MASK (_IOC_SIZEMASK << _IOC_SIZESHIFT)
65 #define IOCSIZE_SHIFT (_IOC_SIZESHIFT)
/openbmc/linux/arch/sparc/include/uapi/asm/
H A Dioctl.h32 #define _IOC_SIZESHIFT (_IOC_TYPESHIFT + _IOC_TYPEBITS) macro
33 #define _IOC_DIRSHIFT (_IOC_SIZESHIFT + _IOC_SIZEBITS)
43 ((size) << _IOC_SIZESHIFT))
59 0: (((nr) >> _IOC_SIZESHIFT) & _IOC_XSIZEMASK))
65 #define IOCSIZE_MASK (_IOC_XSIZEMASK << _IOC_SIZESHIFT)
66 #define IOCSIZE_SHIFT (_IOC_SIZESHIFT)
/openbmc/linux/include/uapi/asm-generic/
H A Dioctl.h46 #define _IOC_SIZESHIFT (_IOC_TYPESHIFT+_IOC_TYPEBITS) macro
47 #define _IOC_DIRSHIFT (_IOC_SIZESHIFT+_IOC_SIZEBITS)
73 ((size) << _IOC_SIZESHIFT))
97 #define _IOC_SIZE(nr) (((nr) >> _IOC_SIZESHIFT) & _IOC_SIZEMASK)
104 #define IOCSIZE_MASK (_IOC_SIZEMASK << _IOC_SIZESHIFT)
105 #define IOCSIZE_SHIFT (_IOC_SIZESHIFT)
/openbmc/u-boot/include/asm-generic/
H A Dioctl.h45 #define _IOC_SIZESHIFT (_IOC_TYPESHIFT+_IOC_TYPEBITS) macro
46 #define _IOC_DIRSHIFT (_IOC_SIZESHIFT+_IOC_SIZEBITS)
69 ((size) << _IOC_SIZESHIFT))
95 #define _IOC_SIZE(nr) (((nr) >> _IOC_SIZESHIFT) & _IOC_SIZEMASK)
102 #define IOCSIZE_MASK (_IOC_SIZEMASK << _IOC_SIZESHIFT)
103 #define IOCSIZE_SHIFT (_IOC_SIZESHIFT)
/openbmc/linux/rust/kernel/
H A Dioctl.rs22 | ((size as u32) << uapi::_IOC_SIZESHIFT) in _IOC()
71 ((nr >> uapi::_IOC_SIZESHIFT) & uapi::_IOC_SIZEMASK) as usize in _IOC_SIZE()
/openbmc/linux/drivers/misc/
H A Dphantom.c201 cmd &= ~(_IOC_SIZEMASK << _IOC_SIZESHIFT); in phantom_compat_ioctl()
202 cmd |= sizeof(void *) << _IOC_SIZESHIFT; in phantom_compat_ioctl()
/openbmc/linux/drivers/input/
H A Devdev.c1144 #define EVIOC_MASK_SIZE(nr) ((nr) & ~(_IOC_SIZEMASK << _IOC_SIZESHIFT)) in evdev_do_ioctl()