Lines Matching full:ioctl

38 #include <asm/ioctl.h>
45 * drm_ioctl_t - DRM ioctl function type.
47 * @data: private pointer of the ioctl call
48 * @file_priv: DRM file this ioctl was made on
50 * This is the DRM ioctl typedef. Note that drm_ioctl() has alrady copied @data
52 * settings in the ioctl command code.
58 * drm_ioctl_compat_t - compatibility DRM ioctl function type.
60 * @cmd: ioctl command code
61 * @arg: DRM file this ioctl was made on
64 * New drivers shouldn't screw up the structure layout for their ioctl
74 * enum drm_ioctl_flags - DRM ioctl flags
77 * userspace can use a given ioctl.
83 * This is for ioctl which are used for rendering, and require that the
91 * This must be set for any ioctl which can change the modeset or
92 * display state. Userspace must call the ioctl through a primary node,
95 * Note that read-only modeset ioctl can also be called by
105 * DROPMASTER ioctl, which e.g. logind can call to force a non-behaving
118 * Do not use anywhere else than for the VBLANK_WAIT IOCTL, which is the
119 * only legacy IOCTL which needs this.
125 * This is used for all ioctl needed for rendering only, for drivers
127 * and hence it should be always set for any ioctl with DRM_AUTH set.
128 * Note though that read-only query ioctl might have this set, but have
135 * struct drm_ioctl_desc - DRM driver ioctl entry
136 * @cmd: ioctl command number, without flags
138 * @func: handler for this ioctl
153 * @ioctl: ioctl command suffix
154 * @_func: handler for the ioctl
157 * Small helper macro to create a &struct drm_ioctl_desc entry. The ioctl
161 #define DRM_IOCTL_DEF_DRV(ioctl, _func, _flags) \ argument
162 [DRM_IOCTL_NR(DRM_IOCTL_##ioctl) - DRM_COMMAND_BASE] = { \
163 .cmd = DRM_IOCTL_##ioctl, \
166 .name = #ioctl \