Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs
r128_drm.h File Reference

Go to the source code of this file.

Data Structures

struct  drm_r128_context_regs_t
 
struct  drm_r128_texture_regs_t
 
struct  drm_r128_sarea
 
struct  drm_r128_init
 
struct  drm_r128_cce_stop
 
struct  drm_r128_clear
 
struct  drm_r128_vertex
 
struct  drm_r128_indices
 
struct  drm_r128_blit
 
struct  drm_r128_depth
 
struct  drm_r128_stipple
 
struct  drm_r128_indirect
 
struct  drm_r128_fullscreen
 
struct  drm_r128_getparam
 

Macros

#define __R128_SAREA_DEFINES__
 
#define R128_UPLOAD_CONTEXT   0x001
 
#define R128_UPLOAD_SETUP   0x002
 
#define R128_UPLOAD_TEX0   0x004
 
#define R128_UPLOAD_TEX1   0x008
 
#define R128_UPLOAD_TEX0IMAGES   0x010
 
#define R128_UPLOAD_TEX1IMAGES   0x020
 
#define R128_UPLOAD_CORE   0x040
 
#define R128_UPLOAD_MASKS   0x080
 
#define R128_UPLOAD_WINDOW   0x100
 
#define R128_UPLOAD_CLIPRECTS   0x200 /* handled client-side */
 
#define R128_REQUIRE_QUIESCENCE   0x400
 
#define R128_UPLOAD_ALL   0x7ff
 
#define R128_FRONT   0x1
 
#define R128_BACK   0x2
 
#define R128_DEPTH   0x4
 
#define R128_POINTS   0x1
 
#define R128_LINES   0x2
 
#define R128_LINE_STRIP   0x3
 
#define R128_TRIANGLES   0x4
 
#define R128_TRIANGLE_FAN   0x5
 
#define R128_TRIANGLE_STRIP   0x6
 
#define R128_BUFFER_SIZE   16384
 
#define R128_INDEX_PRIM_OFFSET   20
 
#define R128_HOSTDATA_BLIT_OFFSET   32
 
#define R128_NR_SAREA_CLIPRECTS   12
 
#define R128_LOCAL_TEX_HEAP   0
 
#define R128_AGP_TEX_HEAP   1
 
#define R128_NR_TEX_HEAPS   2
 
#define R128_NR_TEX_REGIONS   64
 
#define R128_LOG_TEX_GRANULARITY   16
 
#define R128_NR_CONTEXT_REGS   12
 
#define R128_MAX_TEXTURE_LEVELS   11
 
#define R128_MAX_TEXTURE_UNITS   2
 
#define DRM_R128_INIT   0x00
 
#define DRM_R128_CCE_START   0x01
 
#define DRM_R128_CCE_STOP   0x02
 
#define DRM_R128_CCE_RESET   0x03
 
#define DRM_R128_CCE_IDLE   0x04
 
#define DRM_R128_RESET   0x06
 
#define DRM_R128_SWAP   0x07
 
#define DRM_R128_CLEAR   0x08
 
#define DRM_R128_VERTEX   0x09
 
#define DRM_R128_INDICES   0x0a
 
#define DRM_R128_BLIT   0x0b
 
#define DRM_R128_DEPTH   0x0c
 
#define DRM_R128_STIPPLE   0x0d
 
#define DRM_R128_INDIRECT   0x0f
 
#define DRM_R128_FULLSCREEN   0x10
 
#define DRM_R128_CLEAR2   0x11
 
#define DRM_R128_GETPARAM   0x12
 
#define DRM_R128_FLIP   0x13
 
#define DRM_IOCTL_R128_INIT   DRM_IOW( DRM_COMMAND_BASE + DRM_R128_INIT, drm_r128_init_t)
 
#define DRM_IOCTL_R128_CCE_START   DRM_IO( DRM_COMMAND_BASE + DRM_R128_CCE_START)
 
#define DRM_IOCTL_R128_CCE_STOP   DRM_IOW( DRM_COMMAND_BASE + DRM_R128_CCE_STOP, drm_r128_cce_stop_t)
 
#define DRM_IOCTL_R128_CCE_RESET   DRM_IO( DRM_COMMAND_BASE + DRM_R128_CCE_RESET)
 
#define DRM_IOCTL_R128_CCE_IDLE   DRM_IO( DRM_COMMAND_BASE + DRM_R128_CCE_IDLE)
 
#define DRM_IOCTL_R128_RESET   DRM_IO( DRM_COMMAND_BASE + DRM_R128_RESET)
 
#define DRM_IOCTL_R128_SWAP   DRM_IO( DRM_COMMAND_BASE + DRM_R128_SWAP)
 
#define DRM_IOCTL_R128_CLEAR   DRM_IOW( DRM_COMMAND_BASE + DRM_R128_CLEAR, drm_r128_clear_t)
 
#define DRM_IOCTL_R128_VERTEX   DRM_IOW( DRM_COMMAND_BASE + DRM_R128_VERTEX, drm_r128_vertex_t)
 
#define DRM_IOCTL_R128_INDICES   DRM_IOW( DRM_COMMAND_BASE + DRM_R128_INDICES, drm_r128_indices_t)
 
#define DRM_IOCTL_R128_BLIT   DRM_IOW( DRM_COMMAND_BASE + DRM_R128_BLIT, drm_r128_blit_t)
 
#define DRM_IOCTL_R128_DEPTH   DRM_IOW( DRM_COMMAND_BASE + DRM_R128_DEPTH, drm_r128_depth_t)
 
#define DRM_IOCTL_R128_STIPPLE   DRM_IOW( DRM_COMMAND_BASE + DRM_R128_STIPPLE, drm_r128_stipple_t)
 
#define DRM_IOCTL_R128_INDIRECT   DRM_IOWR(DRM_COMMAND_BASE + DRM_R128_INDIRECT, drm_r128_indirect_t)
 
#define DRM_IOCTL_R128_FULLSCREEN   DRM_IOW( DRM_COMMAND_BASE + DRM_R128_FULLSCREEN, drm_r128_fullscreen_t)
 
#define DRM_IOCTL_R128_CLEAR2   DRM_IOW( DRM_COMMAND_BASE + DRM_R128_CLEAR2, drm_r128_clear2_t)
 
#define DRM_IOCTL_R128_GETPARAM   DRM_IOWR( DRM_COMMAND_BASE + DRM_R128_GETPARAM, drm_r128_getparam_t)
 
#define DRM_IOCTL_R128_FLIP   DRM_IO( DRM_COMMAND_BASE + DRM_R128_FLIP)
 
#define R128_PARAM_IRQ_NR   1
 

Typedefs

typedef struct drm_r128_sarea drm_r128_sarea_t
 
typedef struct drm_r128_init drm_r128_init_t
 
typedef struct drm_r128_cce_stop drm_r128_cce_stop_t
 
typedef struct drm_r128_clear drm_r128_clear_t
 
typedef struct drm_r128_vertex drm_r128_vertex_t
 
typedef struct drm_r128_indices drm_r128_indices_t
 
typedef struct drm_r128_blit drm_r128_blit_t
 
typedef struct drm_r128_depth drm_r128_depth_t
 
typedef struct drm_r128_stipple drm_r128_stipple_t
 
typedef struct drm_r128_indirect drm_r128_indirect_t
 
typedef struct drm_r128_fullscreen drm_r128_fullscreen_t
 
typedef struct drm_r128_getparam drm_r128_getparam_t
 

Macro Definition Documentation

#define __R128_SAREA_DEFINES__

Definition at line 40 of file r128_drm.h.

#define DRM_IOCTL_R128_BLIT   DRM_IOW( DRM_COMMAND_BASE + DRM_R128_BLIT, drm_r128_blit_t)

Definition at line 210 of file r128_drm.h.

#define DRM_IOCTL_R128_CCE_IDLE   DRM_IO( DRM_COMMAND_BASE + DRM_R128_CCE_IDLE)

Definition at line 203 of file r128_drm.h.

#define DRM_IOCTL_R128_CCE_RESET   DRM_IO( DRM_COMMAND_BASE + DRM_R128_CCE_RESET)

Definition at line 202 of file r128_drm.h.

#define DRM_IOCTL_R128_CCE_START   DRM_IO( DRM_COMMAND_BASE + DRM_R128_CCE_START)

Definition at line 200 of file r128_drm.h.

#define DRM_IOCTL_R128_CCE_STOP   DRM_IOW( DRM_COMMAND_BASE + DRM_R128_CCE_STOP, drm_r128_cce_stop_t)

Definition at line 201 of file r128_drm.h.

#define DRM_IOCTL_R128_CLEAR   DRM_IOW( DRM_COMMAND_BASE + DRM_R128_CLEAR, drm_r128_clear_t)

Definition at line 207 of file r128_drm.h.

#define DRM_IOCTL_R128_CLEAR2   DRM_IOW( DRM_COMMAND_BASE + DRM_R128_CLEAR2, drm_r128_clear2_t)

Definition at line 216 of file r128_drm.h.

#define DRM_IOCTL_R128_DEPTH   DRM_IOW( DRM_COMMAND_BASE + DRM_R128_DEPTH, drm_r128_depth_t)

Definition at line 211 of file r128_drm.h.

#define DRM_IOCTL_R128_FLIP   DRM_IO( DRM_COMMAND_BASE + DRM_R128_FLIP)

Definition at line 218 of file r128_drm.h.

#define DRM_IOCTL_R128_FULLSCREEN   DRM_IOW( DRM_COMMAND_BASE + DRM_R128_FULLSCREEN, drm_r128_fullscreen_t)

Definition at line 215 of file r128_drm.h.

#define DRM_IOCTL_R128_GETPARAM   DRM_IOWR( DRM_COMMAND_BASE + DRM_R128_GETPARAM, drm_r128_getparam_t)

Definition at line 217 of file r128_drm.h.

#define DRM_IOCTL_R128_INDICES   DRM_IOW( DRM_COMMAND_BASE + DRM_R128_INDICES, drm_r128_indices_t)

Definition at line 209 of file r128_drm.h.

#define DRM_IOCTL_R128_INDIRECT   DRM_IOWR(DRM_COMMAND_BASE + DRM_R128_INDIRECT, drm_r128_indirect_t)

Definition at line 214 of file r128_drm.h.

#define DRM_IOCTL_R128_INIT   DRM_IOW( DRM_COMMAND_BASE + DRM_R128_INIT, drm_r128_init_t)

Definition at line 199 of file r128_drm.h.

#define DRM_IOCTL_R128_RESET   DRM_IO( DRM_COMMAND_BASE + DRM_R128_RESET)

Definition at line 205 of file r128_drm.h.

#define DRM_IOCTL_R128_STIPPLE   DRM_IOW( DRM_COMMAND_BASE + DRM_R128_STIPPLE, drm_r128_stipple_t)

Definition at line 212 of file r128_drm.h.

#define DRM_IOCTL_R128_SWAP   DRM_IO( DRM_COMMAND_BASE + DRM_R128_SWAP)

Definition at line 206 of file r128_drm.h.

#define DRM_IOCTL_R128_VERTEX   DRM_IOW( DRM_COMMAND_BASE + DRM_R128_VERTEX, drm_r128_vertex_t)

Definition at line 208 of file r128_drm.h.

#define DRM_R128_BLIT   0x0b

Definition at line 189 of file r128_drm.h.

#define DRM_R128_CCE_IDLE   0x04

Definition at line 182 of file r128_drm.h.

#define DRM_R128_CCE_RESET   0x03

Definition at line 181 of file r128_drm.h.

#define DRM_R128_CCE_START   0x01

Definition at line 179 of file r128_drm.h.

#define DRM_R128_CCE_STOP   0x02

Definition at line 180 of file r128_drm.h.

#define DRM_R128_CLEAR   0x08

Definition at line 186 of file r128_drm.h.

#define DRM_R128_CLEAR2   0x11

Definition at line 195 of file r128_drm.h.

#define DRM_R128_DEPTH   0x0c

Definition at line 190 of file r128_drm.h.

#define DRM_R128_FLIP   0x13

Definition at line 197 of file r128_drm.h.

#define DRM_R128_FULLSCREEN   0x10

Definition at line 194 of file r128_drm.h.

#define DRM_R128_GETPARAM   0x12

Definition at line 196 of file r128_drm.h.

#define DRM_R128_INDICES   0x0a

Definition at line 188 of file r128_drm.h.

#define DRM_R128_INDIRECT   0x0f

Definition at line 193 of file r128_drm.h.

#define DRM_R128_INIT   0x00

Definition at line 178 of file r128_drm.h.

#define DRM_R128_RESET   0x06

Definition at line 184 of file r128_drm.h.

#define DRM_R128_STIPPLE   0x0d

Definition at line 191 of file r128_drm.h.

#define DRM_R128_SWAP   0x07

Definition at line 185 of file r128_drm.h.

#define DRM_R128_VERTEX   0x09

Definition at line 187 of file r128_drm.h.

#define R128_AGP_TEX_HEAP   1

Definition at line 87 of file r128_drm.h.

#define R128_BACK   0x2

Definition at line 58 of file r128_drm.h.

#define R128_BUFFER_SIZE   16384

Definition at line 72 of file r128_drm.h.

#define R128_DEPTH   0x4

Definition at line 59 of file r128_drm.h.

#define R128_FRONT   0x1

Definition at line 57 of file r128_drm.h.

#define R128_HOSTDATA_BLIT_OFFSET   32

Definition at line 77 of file r128_drm.h.

#define R128_INDEX_PRIM_OFFSET   20

Definition at line 76 of file r128_drm.h.

#define R128_LINE_STRIP   0x3

Definition at line 65 of file r128_drm.h.

#define R128_LINES   0x2

Definition at line 64 of file r128_drm.h.

#define R128_LOCAL_TEX_HEAP   0

Definition at line 86 of file r128_drm.h.

#define R128_LOG_TEX_GRANULARITY   16

Definition at line 90 of file r128_drm.h.

#define R128_MAX_TEXTURE_LEVELS   11

Definition at line 94 of file r128_drm.h.

#define R128_MAX_TEXTURE_UNITS   2

Definition at line 95 of file r128_drm.h.

#define R128_NR_CONTEXT_REGS   12

Definition at line 92 of file r128_drm.h.

#define R128_NR_SAREA_CLIPRECTS   12

Definition at line 81 of file r128_drm.h.

#define R128_NR_TEX_HEAPS   2

Definition at line 88 of file r128_drm.h.

#define R128_NR_TEX_REGIONS   64

Definition at line 89 of file r128_drm.h.

#define R128_PARAM_IRQ_NR   1

Definition at line 319 of file r128_drm.h.

#define R128_POINTS   0x1

Definition at line 63 of file r128_drm.h.

#define R128_REQUIRE_QUIESCENCE   0x400

Definition at line 54 of file r128_drm.h.

#define R128_TRIANGLE_FAN   0x5

Definition at line 67 of file r128_drm.h.

#define R128_TRIANGLE_STRIP   0x6

Definition at line 68 of file r128_drm.h.

#define R128_TRIANGLES   0x4

Definition at line 66 of file r128_drm.h.

#define R128_UPLOAD_ALL   0x7ff

Definition at line 55 of file r128_drm.h.

#define R128_UPLOAD_CLIPRECTS   0x200 /* handled client-side */

Definition at line 53 of file r128_drm.h.

#define R128_UPLOAD_CONTEXT   0x001

Definition at line 44 of file r128_drm.h.

#define R128_UPLOAD_CORE   0x040

Definition at line 50 of file r128_drm.h.

#define R128_UPLOAD_MASKS   0x080

Definition at line 51 of file r128_drm.h.

#define R128_UPLOAD_SETUP   0x002

Definition at line 45 of file r128_drm.h.

#define R128_UPLOAD_TEX0   0x004

Definition at line 46 of file r128_drm.h.

#define R128_UPLOAD_TEX0IMAGES   0x010

Definition at line 48 of file r128_drm.h.

#define R128_UPLOAD_TEX1   0x008

Definition at line 47 of file r128_drm.h.

#define R128_UPLOAD_TEX1IMAGES   0x020

Definition at line 49 of file r128_drm.h.

#define R128_UPLOAD_WINDOW   0x100

Definition at line 52 of file r128_drm.h.

Typedef Documentation