Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations | Functions | Variables
sis_drv.h File Reference
#include <drm/drm_mm.h>

Go to the source code of this file.

Data Structures

struct  drm_sis_private
 

Macros

#define DRIVER_AUTHOR   "SIS, Tungsten Graphics"
 
#define DRIVER_NAME   "sis"
 
#define DRIVER_DESC   "SIS 300/630/540 and XGI V3XE/V5/V8"
 
#define DRIVER_DATE   "20070626"
 
#define DRIVER_MAJOR   1
 
#define DRIVER_MINOR   3
 
#define DRIVER_PATCHLEVEL   0
 
#define SIS_BASE   (dev_priv->mmio)
 
#define SIS_READ(reg)   DRM_READ32(SIS_BASE, reg)
 
#define SIS_WRITE(reg, val)   DRM_WRITE32(SIS_BASE, reg, val)
 

Typedefs

typedef struct drm_sis_private drm_sis_private_t
 

Enumerations

enum  sis_family { SIS_OTHER = 0, SIS_CHIP_315 = 1 }
 

Functions

int sis_idle (struct drm_device *dev)
 
void sis_reclaim_buffers_locked (struct drm_device *dev, struct drm_file *file_priv)
 
void sis_lastclose (struct drm_device *dev)
 

Variables

struct drm_ioctl_desc sis_ioctls []
 
int sis_max_ioctl
 

Macro Definition Documentation

#define DRIVER_AUTHOR   "SIS, Tungsten Graphics"

Definition at line 34 of file sis_drv.h.

#define DRIVER_DATE   "20070626"

Definition at line 37 of file sis_drv.h.

#define DRIVER_DESC   "SIS 300/630/540 and XGI V3XE/V5/V8"

Definition at line 36 of file sis_drv.h.

#define DRIVER_MAJOR   1

Definition at line 38 of file sis_drv.h.

#define DRIVER_MINOR   3

Definition at line 39 of file sis_drv.h.

#define DRIVER_NAME   "sis"

Definition at line 35 of file sis_drv.h.

#define DRIVER_PATCHLEVEL   0

Definition at line 40 of file sis_drv.h.

#define SIS_BASE   (dev_priv->mmio)

Definition at line 50 of file sis_drv.h.

#define SIS_READ (   reg)    DRM_READ32(SIS_BASE, reg)

Definition at line 51 of file sis_drv.h.

#define SIS_WRITE (   reg,
  val 
)    DRM_WRITE32(SIS_BASE, reg, val)

Definition at line 52 of file sis_drv.h.

Typedef Documentation

Enumeration Type Documentation

enum sis_family
Enumerator:
SIS_OTHER 
SIS_CHIP_315 

Definition at line 42 of file sis_drv.h.

Function Documentation

int sis_idle ( struct drm_device dev)

Definition at line 244 of file sis_mm.c.

void sis_lastclose ( struct drm_device dev)

Definition at line 298 of file sis_mm.c.

void sis_reclaim_buffers_locked ( struct drm_device dev,
struct drm_file *  file_priv 
)

Definition at line 318 of file sis_mm.c.

Variable Documentation

struct drm_ioctl_desc sis_ioctls[]

Definition at line 358 of file sis_mm.c.

int sis_max_ioctl

Definition at line 367 of file sis_mm.c.