Lines Matching refs:nr
89 #define DRM_IOC(dir, group, nr, size) _IOC(dir, group, nr, size)
104 #define DRM_IOC(dir, group, nr, size) _IOC(dir, group, nr, size)
109 #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK)
130 #define _IOC(dir, type, nr, size) \
133 ((nr) << _IOC_NRSHIFT) | \
138 #define _IO(type, nr) _IOC(_IOC_NONE, (type), (nr), 0)
139 #define _IOR(type, nr, size) _IOC(_IOC_READ, (type), (nr), sizeof (size))
140 #define _IOW(type, nr, size) _IOC(_IOC_WRITE, (type), (nr), sizeof (size))
141 #define _IOWR(type, nr, size) _IOC(_IOC_READ|_IOC_WRITE, \
142 (type), (nr), sizeof (size))
144 #define _IOC_DIR(nr) (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK)
145 #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK)
146 #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK)
147 #define _IOC_SIZE(nr) (((nr) >> _IOC_SIZESHIFT) & _IOC_SIZEMASK)
161 #define DRM_IOC(dir, group, nr, size) _IOC(dir, group, nr, size)
747 #define DRM_IO(nr) _IO(DRM_IOCTL_BASE,nr)
748 #define DRM_IOR(nr,type) _IOR(DRM_IOCTL_BASE,nr,type)
749 #define DRM_IOW(nr,type) _IOW(DRM_IOCTL_BASE,nr,type)
750 #define DRM_IOWR(nr,type) _IOWR(DRM_IOCTL_BASE,nr,type)