Linux Kernel
3.7.1
|
#include <linux/compat.h>
#include <linux/ratelimit.h>
#include <linux/export.h>
#include <drm/drmP.h>
#include <drm/drm_core.h>
Go to the source code of this file.
Data Structures | |
struct | drm_version_32 |
struct | drm_unique32 |
struct | drm_map32 |
struct | drm_client32 |
struct | drm_stats32 |
struct | drm_buf_desc32 |
struct | drm_buf_info32 |
struct | drm_buf_pub32 |
struct | drm_buf_map32 |
struct | drm_buf_free32 |
struct | drm_ctx_priv_map32 |
struct | drm_ctx_res32 |
struct | drm_dma32 |
struct | drm_scatter_gather32 |
struct | drm_wait_vblank_request32 |
struct | drm_wait_vblank_reply32 |
union | drm_wait_vblank32 |
Macros | |
#define | DRM_IOCTL_VERSION32 DRM_IOWR(0x00, drm_version32_t) |
#define | DRM_IOCTL_GET_UNIQUE32 DRM_IOWR(0x01, drm_unique32_t) |
#define | DRM_IOCTL_GET_MAP32 DRM_IOWR(0x04, drm_map32_t) |
#define | DRM_IOCTL_GET_CLIENT32 DRM_IOWR(0x05, drm_client32_t) |
#define | DRM_IOCTL_GET_STATS32 DRM_IOR( 0x06, drm_stats32_t) |
#define | DRM_IOCTL_SET_UNIQUE32 DRM_IOW( 0x10, drm_unique32_t) |
#define | DRM_IOCTL_ADD_MAP32 DRM_IOWR(0x15, drm_map32_t) |
#define | DRM_IOCTL_ADD_BUFS32 DRM_IOWR(0x16, drm_buf_desc32_t) |
#define | DRM_IOCTL_MARK_BUFS32 DRM_IOW( 0x17, drm_buf_desc32_t) |
#define | DRM_IOCTL_INFO_BUFS32 DRM_IOWR(0x18, drm_buf_info32_t) |
#define | DRM_IOCTL_MAP_BUFS32 DRM_IOWR(0x19, drm_buf_map32_t) |
#define | DRM_IOCTL_FREE_BUFS32 DRM_IOW( 0x1a, drm_buf_free32_t) |
#define | DRM_IOCTL_RM_MAP32 DRM_IOW( 0x1b, drm_map32_t) |
#define | DRM_IOCTL_SET_SAREA_CTX32 DRM_IOW( 0x1c, drm_ctx_priv_map32_t) |
#define | DRM_IOCTL_GET_SAREA_CTX32 DRM_IOWR(0x1d, drm_ctx_priv_map32_t) |
#define | DRM_IOCTL_RES_CTX32 DRM_IOWR(0x26, drm_ctx_res32_t) |
#define | DRM_IOCTL_DMA32 DRM_IOWR(0x29, drm_dma32_t) |
#define | DRM_IOCTL_AGP_ENABLE32 DRM_IOW( 0x32, drm_agp_mode32_t) |
#define | DRM_IOCTL_AGP_INFO32 DRM_IOR( 0x33, drm_agp_info32_t) |
#define | DRM_IOCTL_AGP_ALLOC32 DRM_IOWR(0x34, drm_agp_buffer32_t) |
#define | DRM_IOCTL_AGP_FREE32 DRM_IOW( 0x35, drm_agp_buffer32_t) |
#define | DRM_IOCTL_AGP_BIND32 DRM_IOW( 0x36, drm_agp_binding32_t) |
#define | DRM_IOCTL_AGP_UNBIND32 DRM_IOW( 0x37, drm_agp_binding32_t) |
#define | DRM_IOCTL_SG_ALLOC32 DRM_IOW( 0x38, drm_scatter_gather32_t) |
#define | DRM_IOCTL_SG_FREE32 DRM_IOW( 0x39, drm_scatter_gather32_t) |
#define | DRM_IOCTL_UPDATE_DRAW32 DRM_IOW( 0x3f, drm_update_draw32_t) |
#define | DRM_IOCTL_WAIT_VBLANK32 DRM_IOWR(0x3a, drm_wait_vblank32_t) |
Typedefs | |
typedef struct drm_version_32 | drm_version32_t |
typedef struct drm_unique32 | drm_unique32_t |
typedef struct drm_map32 | drm_map32_t |
typedef struct drm_client32 | drm_client32_t |
typedef struct drm_stats32 | drm_stats32_t |
typedef struct drm_buf_desc32 | drm_buf_desc32_t |
typedef struct drm_buf_info32 | drm_buf_info32_t |
typedef struct drm_buf_pub32 | drm_buf_pub32_t |
typedef struct drm_buf_map32 | drm_buf_map32_t |
typedef struct drm_buf_free32 | drm_buf_free32_t |
typedef struct drm_ctx_priv_map32 | drm_ctx_priv_map32_t |
typedef struct drm_ctx_res32 | drm_ctx_res32_t |
typedef struct drm_dma32 | drm_dma32_t |
typedef struct drm_scatter_gather32 | drm_scatter_gather32_t |
typedef union drm_wait_vblank32 | drm_wait_vblank32_t |
Functions | |
long | drm_compat_ioctl (struct file *filp, unsigned int cmd, unsigned long arg) |
EXPORT_SYMBOL (drm_compat_ioctl) | |
Variables | |
drm_ioctl_compat_t * | drm_compat_ioctls [] |
32-bit ioctl compatibility routines for the DRM.
Copyright (C) Paul Mackerras 2005. All Rights Reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Definition in file drm_ioc32.c.
#define DRM_IOCTL_ADD_BUFS32 DRM_IOWR(0x16, drm_buf_desc32_t) |
Definition at line 45 of file drm_ioc32.c.
#define DRM_IOCTL_ADD_MAP32 DRM_IOWR(0x15, drm_map32_t) |
Definition at line 44 of file drm_ioc32.c.
#define DRM_IOCTL_AGP_ALLOC32 DRM_IOWR(0x34, drm_agp_buffer32_t) |
Definition at line 61 of file drm_ioc32.c.
#define DRM_IOCTL_AGP_BIND32 DRM_IOW( 0x36, drm_agp_binding32_t) |
Definition at line 63 of file drm_ioc32.c.
#define DRM_IOCTL_AGP_ENABLE32 DRM_IOW( 0x32, drm_agp_mode32_t) |
Definition at line 59 of file drm_ioc32.c.
#define DRM_IOCTL_AGP_FREE32 DRM_IOW( 0x35, drm_agp_buffer32_t) |
Definition at line 62 of file drm_ioc32.c.
#define DRM_IOCTL_AGP_INFO32 DRM_IOR( 0x33, drm_agp_info32_t) |
Definition at line 60 of file drm_ioc32.c.
#define DRM_IOCTL_AGP_UNBIND32 DRM_IOW( 0x37, drm_agp_binding32_t) |
Definition at line 64 of file drm_ioc32.c.
#define DRM_IOCTL_DMA32 DRM_IOWR(0x29, drm_dma32_t) |
Definition at line 57 of file drm_ioc32.c.
#define DRM_IOCTL_FREE_BUFS32 DRM_IOW( 0x1a, drm_buf_free32_t) |
Definition at line 49 of file drm_ioc32.c.
#define DRM_IOCTL_GET_CLIENT32 DRM_IOWR(0x05, drm_client32_t) |
Definition at line 40 of file drm_ioc32.c.
#define DRM_IOCTL_GET_MAP32 DRM_IOWR(0x04, drm_map32_t) |
Definition at line 39 of file drm_ioc32.c.
#define DRM_IOCTL_GET_SAREA_CTX32 DRM_IOWR(0x1d, drm_ctx_priv_map32_t) |
Definition at line 54 of file drm_ioc32.c.
#define DRM_IOCTL_GET_STATS32 DRM_IOR( 0x06, drm_stats32_t) |
Definition at line 41 of file drm_ioc32.c.
#define DRM_IOCTL_GET_UNIQUE32 DRM_IOWR(0x01, drm_unique32_t) |
Definition at line 38 of file drm_ioc32.c.
#define DRM_IOCTL_INFO_BUFS32 DRM_IOWR(0x18, drm_buf_info32_t) |
Definition at line 47 of file drm_ioc32.c.
#define DRM_IOCTL_MAP_BUFS32 DRM_IOWR(0x19, drm_buf_map32_t) |
Definition at line 48 of file drm_ioc32.c.
#define DRM_IOCTL_MARK_BUFS32 DRM_IOW( 0x17, drm_buf_desc32_t) |
Definition at line 46 of file drm_ioc32.c.
#define DRM_IOCTL_RES_CTX32 DRM_IOWR(0x26, drm_ctx_res32_t) |
Definition at line 56 of file drm_ioc32.c.
#define DRM_IOCTL_RM_MAP32 DRM_IOW( 0x1b, drm_map32_t) |
Definition at line 51 of file drm_ioc32.c.
#define DRM_IOCTL_SET_SAREA_CTX32 DRM_IOW( 0x1c, drm_ctx_priv_map32_t) |
Definition at line 53 of file drm_ioc32.c.
#define DRM_IOCTL_SET_UNIQUE32 DRM_IOW( 0x10, drm_unique32_t) |
Definition at line 43 of file drm_ioc32.c.
#define DRM_IOCTL_SG_ALLOC32 DRM_IOW( 0x38, drm_scatter_gather32_t) |
Definition at line 66 of file drm_ioc32.c.
#define DRM_IOCTL_SG_FREE32 DRM_IOW( 0x39, drm_scatter_gather32_t) |
Definition at line 67 of file drm_ioc32.c.
#define DRM_IOCTL_UPDATE_DRAW32 DRM_IOW( 0x3f, drm_update_draw32_t) |
Definition at line 69 of file drm_ioc32.c.
#define DRM_IOCTL_VERSION32 DRM_IOWR(0x00, drm_version32_t) |
Definition at line 37 of file drm_ioc32.c.
#define DRM_IOCTL_WAIT_VBLANK32 DRM_IOWR(0x3a, drm_wait_vblank32_t) |
Definition at line 71 of file drm_ioc32.c.
typedef struct drm_buf_desc32 drm_buf_desc32_t |
typedef struct drm_buf_free32 drm_buf_free32_t |
typedef struct drm_buf_info32 drm_buf_info32_t |
typedef struct drm_buf_map32 drm_buf_map32_t |
typedef struct drm_buf_pub32 drm_buf_pub32_t |
typedef struct drm_client32 drm_client32_t |
typedef struct drm_ctx_res32 drm_ctx_res32_t |
typedef struct drm_dma32 drm_dma32_t |
typedef struct drm_map32 drm_map32_t |
typedef struct drm_stats32 drm_stats32_t |
typedef struct drm_unique32 drm_unique32_t |
typedef struct drm_version_32 drm_version32_t |
typedef union drm_wait_vblank32 drm_wait_vblank32_t |
Called whenever a 32-bit process running under a 64-bit kernel performs an ioctl on /dev/drm.
file_priv | DRM file private. |
cmd | command. |
arg | user argument. |
Definition at line 1062 of file drm_ioc32.c.
EXPORT_SYMBOL | ( | drm_compat_ioctl | ) |
drm_ioctl_compat_t* drm_compat_ioctls[] |
Definition at line 1019 of file drm_ioc32.c.