Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
r128_cce.c File Reference
#include <linux/firmware.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <drm/drmP.h>
#include <drm/r128_drm.h>
#include "r128_drv.h"

Go to the source code of this file.

Macros

#define R128_FIFO_DEBUG   0
 
#define FIRMWARE_NAME   "r128/r128_cce.bin"
 
#define R128_BUFFER_USED   0xffffffff
 
#define R128_BUFFER_FREE   0
 

Functions

 MODULE_FIRMWARE (FIRMWARE_NAME)
 
int r128_do_cce_idle (drm_r128_private_t *dev_priv)
 
int r128_do_cleanup_cce (struct drm_device *dev)
 
int r128_cce_init (struct drm_device *dev, void *data, struct drm_file *file_priv)
 
int r128_cce_start (struct drm_device *dev, void *data, struct drm_file *file_priv)
 
int r128_cce_stop (struct drm_device *dev, void *data, struct drm_file *file_priv)
 
int r128_cce_reset (struct drm_device *dev, void *data, struct drm_file *file_priv)
 
int r128_cce_idle (struct drm_device *dev, void *data, struct drm_file *file_priv)
 
int r128_engine_reset (struct drm_device *dev, void *data, struct drm_file *file_priv)
 
int r128_fullscreen (struct drm_device *dev, void *data, struct drm_file *file_priv)
 
void r128_freelist_reset (struct drm_device *dev)
 
int r128_wait_ring (drm_r128_private_t *dev_priv, int n)
 
int r128_cce_buffers (struct drm_device *dev, void *data, struct drm_file *file_priv)
 

Macro Definition Documentation

#define FIRMWARE_NAME   "r128/r128_cce.bin"

Definition at line 43 of file r128_cce.c.

#define R128_BUFFER_FREE   0

Definition at line 762 of file r128_cce.c.

#define R128_BUFFER_USED   0xffffffff

Definition at line 761 of file r128_cce.c.

#define R128_FIFO_DEBUG   0

Definition at line 41 of file r128_cce.c.

Function Documentation

MODULE_FIRMWARE ( FIRMWARE_NAME  )
int r128_cce_buffers ( struct drm_device dev,
void data,
struct drm_file *  file_priv 
)

Definition at line 907 of file r128_cce.c.

int r128_cce_idle ( struct drm_device dev,
void data,
struct drm_file *  file_priv 
)

Definition at line 727 of file r128_cce.c.

int r128_cce_init ( struct drm_device dev,
void data,
struct drm_file *  file_priv 
)

Definition at line 630 of file r128_cce.c.

int r128_cce_reset ( struct drm_device dev,
void data,
struct drm_file *  file_priv 
)

Definition at line 710 of file r128_cce.c.

int r128_cce_start ( struct drm_device dev,
void data,
struct drm_file *  file_priv 
)

Definition at line 648 of file r128_cce.c.

int r128_cce_stop ( struct drm_device dev,
void data,
struct drm_file *  file_priv 
)

Definition at line 670 of file r128_cce.c.

int r128_do_cce_idle ( drm_r128_private_t dev_priv)

Definition at line 201 of file r128_cce.c.

int r128_do_cleanup_cce ( struct drm_device dev)

Definition at line 590 of file r128_cce.c.

int r128_engine_reset ( struct drm_device dev,
void data,
struct drm_file *  file_priv 
)

Definition at line 742 of file r128_cce.c.

void r128_freelist_reset ( struct drm_device dev)

Definition at line 848 of file r128_cce.c.

int r128_fullscreen ( struct drm_device dev,
void data,
struct drm_file *  file_priv 
)

Definition at line 753 of file r128_cce.c.

int r128_wait_ring ( drm_r128_private_t dev_priv,
int  n 
)

Definition at line 864 of file r128_cce.c.