Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
wmt_ge_rops.c File Reference
#include <linux/module.h>
#include <linux/fb.h>
#include <linux/platform_device.h>
#include "fb_draw.h"

Go to the source code of this file.

Macros

#define GE_COMMAND_OFF   0x00
 
#define GE_DEPTH_OFF   0x04
 
#define GE_HIGHCOLOR_OFF   0x08
 
#define GE_ROPCODE_OFF   0x14
 
#define GE_FIRE_OFF   0x18
 
#define GE_SRCBASE_OFF   0x20
 
#define GE_SRCDISPW_OFF   0x24
 
#define GE_SRCDISPH_OFF   0x28
 
#define GE_SRCAREAX_OFF   0x2c
 
#define GE_SRCAREAY_OFF   0x30
 
#define GE_SRCAREAW_OFF   0x34
 
#define GE_SRCAREAH_OFF   0x38
 
#define GE_DESTBASE_OFF   0x3c
 
#define GE_DESTDISPW_OFF   0x40
 
#define GE_DESTDISPH_OFF   0x44
 
#define GE_DESTAREAX_OFF   0x48
 
#define GE_DESTAREAY_OFF   0x4c
 
#define GE_DESTAREAW_OFF   0x50
 
#define GE_DESTAREAH_OFF   0x54
 
#define GE_PAT0C_OFF   0x88 /* Pattern 0 color */
 
#define GE_ENABLE_OFF   0xec
 
#define GE_INTEN_OFF   0xf0
 
#define GE_STATUS_OFF   0xf8
 

Functions

void wmt_ge_fillrect (struct fb_info *p, const struct fb_fillrect *rect)
 
 EXPORT_SYMBOL_GPL (wmt_ge_fillrect)
 
void wmt_ge_copyarea (struct fb_info *p, const struct fb_copyarea *area)
 
 EXPORT_SYMBOL_GPL (wmt_ge_copyarea)
 
int wmt_ge_sync (struct fb_info *p)
 
 EXPORT_SYMBOL_GPL (wmt_ge_sync)
 
 module_platform_driver (wmt_ge_rops_driver)
 
 MODULE_AUTHOR ("Alexey Charkov <[email protected]")
 
 MODULE_DESCRIPTION ("Accelerators for raster operations using ""WonderMedia Graphics Engine")
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_DEVICE_TABLE (of, wmt_dt_ids)
 

Macro Definition Documentation

#define GE_COMMAND_OFF   0x00

Definition at line 23 of file wmt_ge_rops.c.

#define GE_DEPTH_OFF   0x04

Definition at line 24 of file wmt_ge_rops.c.

#define GE_DESTAREAH_OFF   0x54

Definition at line 41 of file wmt_ge_rops.c.

#define GE_DESTAREAW_OFF   0x50

Definition at line 40 of file wmt_ge_rops.c.

#define GE_DESTAREAX_OFF   0x48

Definition at line 38 of file wmt_ge_rops.c.

#define GE_DESTAREAY_OFF   0x4c

Definition at line 39 of file wmt_ge_rops.c.

#define GE_DESTBASE_OFF   0x3c

Definition at line 35 of file wmt_ge_rops.c.

#define GE_DESTDISPH_OFF   0x44

Definition at line 37 of file wmt_ge_rops.c.

#define GE_DESTDISPW_OFF   0x40

Definition at line 36 of file wmt_ge_rops.c.

#define GE_ENABLE_OFF   0xec

Definition at line 43 of file wmt_ge_rops.c.

#define GE_FIRE_OFF   0x18

Definition at line 27 of file wmt_ge_rops.c.

#define GE_HIGHCOLOR_OFF   0x08

Definition at line 25 of file wmt_ge_rops.c.

#define GE_INTEN_OFF   0xf0

Definition at line 44 of file wmt_ge_rops.c.

#define GE_PAT0C_OFF   0x88 /* Pattern 0 color */

Definition at line 42 of file wmt_ge_rops.c.

#define GE_ROPCODE_OFF   0x14

Definition at line 26 of file wmt_ge_rops.c.

#define GE_SRCAREAH_OFF   0x38

Definition at line 34 of file wmt_ge_rops.c.

#define GE_SRCAREAW_OFF   0x34

Definition at line 33 of file wmt_ge_rops.c.

#define GE_SRCAREAX_OFF   0x2c

Definition at line 31 of file wmt_ge_rops.c.

#define GE_SRCAREAY_OFF   0x30

Definition at line 32 of file wmt_ge_rops.c.

#define GE_SRCBASE_OFF   0x20

Definition at line 28 of file wmt_ge_rops.c.

#define GE_SRCDISPH_OFF   0x28

Definition at line 30 of file wmt_ge_rops.c.

#define GE_SRCDISPW_OFF   0x24

Definition at line 29 of file wmt_ge_rops.c.

#define GE_STATUS_OFF   0xf8

Definition at line 45 of file wmt_ge_rops.c.

Function Documentation

EXPORT_SYMBOL_GPL ( wmt_ge_fillrect  )
EXPORT_SYMBOL_GPL ( wmt_ge_copyarea  )
EXPORT_SYMBOL_GPL ( wmt_ge_sync  )
MODULE_AUTHOR ( )
MODULE_DESCRIPTION ( "Accelerators for raster operations using ""WonderMedia Graphics Engine"  )
MODULE_DEVICE_TABLE ( of  ,
wmt_dt_ids   
)
MODULE_LICENSE ( "GPL v2 )
module_platform_driver ( wmt_ge_rops_driver  )
void wmt_ge_copyarea ( struct fb_info p,
const struct fb_copyarea area 
)

Definition at line 85 of file wmt_ge_rops.c.

void wmt_ge_fillrect ( struct fb_info p,
const struct fb_fillrect rect 
)

Definition at line 49 of file wmt_ge_rops.c.

int wmt_ge_sync ( struct fb_info p)

Definition at line 118 of file wmt_ge_rops.c.