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
75 * enum drm_ioctl_flags - DRM ioctl flags
78 * userspace can use a given ioctl.
84 * This is for ioctl which are used for rendering, and require that the
92 * This must be set for any ioctl which can change the modeset or
93 * display state. Userspace must call the ioctl through a primary node,
96 * Note that read-only modeset ioctl can also be called by
106 * DROPMASTER ioctl, which e.g. logind can call to force a non-behaving
115 * This is used for all ioctl needed for rendering only, for drivers
117 * and hence it should be always set for any ioctl with DRM_AUTH set.
118 * Note though that read-only query ioctl might have this set, but have
125 * struct drm_ioctl_desc - DRM driver ioctl entry
126 * @cmd: ioctl command number, without flags
128 * @func: handler for this ioctl
143 * @ioctl: ioctl command suffix
144 * @_func: handler for the ioctl
147 * Small helper macro to create a &struct drm_ioctl_desc entry. The ioctl
151 #define DRM_IOCTL_DEF_DRV(ioctl, _func, _flags) \ argument
152 [DRM_IOCTL_NR(DRM_IOCTL_##ioctl) - DRM_COMMAND_BASE] = { \
153 .cmd = DRM_IOCTL_##ioctl, \
156 .name = #ioctl \