Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
g2d.c File Reference
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/version.h>
#include <linux/timer.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/clk.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <media/v4l2-mem2mem.h>
#include <media/v4l2-device.h>
#include <media/v4l2-ioctl.h>
#include <media/videobuf2-core.h>
#include <media/videobuf2-dma-contig.h>
#include "g2d.h"
#include "g2d-regs.h"

Go to the source code of this file.

Macros

#define fh2ctx(__fh)   container_of(__fh, struct g2d_ctx, fh)
 
#define NUM_FORMATS   ARRAY_SIZE(formats)
 

Functions

 module_platform_driver (g2d_pdrv)
 
 MODULE_AUTHOR ("Kamil Debski <[email protected]>")
 
 MODULE_DESCRIPTION ("S5P G2D 2d graphics accelerator driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define fh2ctx (   __fh)    container_of(__fh, struct g2d_ctx, fh)

Definition at line 32 of file g2d.c.

#define NUM_FORMATS   ARRAY_SIZE(formats)

Definition at line 66 of file g2d.c.

Function Documentation

MODULE_AUTHOR ( "Kamil Debski <[email protected]>"  )
MODULE_DESCRIPTION ( "S5P G2D 2d graphics accelerator driver"  )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( g2d_pdrv  )