Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
s5p_mfc.c File Reference
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/videodev2.h>
#include <media/v4l2-event.h>
#include <linux/workqueue.h>
#include <media/videobuf2-core.h>
#include "s5p_mfc_common.h"
#include "s5p_mfc_ctrl.h"
#include "s5p_mfc_debug.h"
#include "s5p_mfc_dec.h"
#include "s5p_mfc_enc.h"
#include "s5p_mfc_intr.h"
#include "s5p_mfc_opr.h"
#include "s5p_mfc_cmd.h"
#include "s5p_mfc_pm.h"

Go to the source code of this file.

Macros

#define S5P_MFC_NAME   "s5p-mfc"
 
#define S5P_MFC_DEC_NAME   "s5p-mfc-dec"
 
#define S5P_MFC_ENC_NAME   "s5p-mfc-enc"
 

Functions

 module_param (debug, int, S_IRUGO|S_IWUSR)
 
 MODULE_PARM_DESC (debug,"Debug level - higher value produces more verbose messages")
 
void clear_work_bit (struct s5p_mfc_ctx *ctx)
 
void set_work_bit (struct s5p_mfc_ctx *ctx)
 
void clear_work_bit_irqsave (struct s5p_mfc_ctx *ctx)
 
void set_work_bit_irqsave (struct s5p_mfc_ctx *ctx)
 
 MODULE_DEVICE_TABLE (platform, mfc_driver_ids)
 
 module_platform_driver (s5p_mfc_driver)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Kamil Debski <[email protected]>")
 
 MODULE_DESCRIPTION ("Samsung S5P Multi Format Codec V4L2 driver")
 

Variables

int debug
 
struct s5p_mfc_buf_size_v5 mfc_buf_size_v5
 
struct s5p_mfc_buf_size buf_size_v5
 
struct s5p_mfc_buf_align mfc_buf_align_v5
 
struct s5p_mfc_buf_size_v6 mfc_buf_size_v6
 
struct s5p_mfc_buf_size buf_size_v6
 
struct s5p_mfc_buf_align mfc_buf_align_v6
 

Macro Definition Documentation

#define S5P_MFC_DEC_NAME   "s5p-mfc-dec"

Definition at line 36 of file s5p_mfc.c.

#define S5P_MFC_ENC_NAME   "s5p-mfc-enc"

Definition at line 37 of file s5p_mfc.c.

#define S5P_MFC_NAME   "s5p-mfc"

Definition at line 35 of file s5p_mfc.c.

Function Documentation

void clear_work_bit ( struct s5p_mfc_ctx ctx)

Definition at line 46 of file s5p_mfc.c.

void clear_work_bit_irqsave ( struct s5p_mfc_ctx ctx)

Definition at line 66 of file s5p_mfc.c.

MODULE_AUTHOR ( "Kamil Debski <[email protected]>"  )
MODULE_DESCRIPTION ( "Samsung S5P Multi Format Codec V4L2 driver )
MODULE_DEVICE_TABLE ( platform  ,
mfc_driver_ids   
)
MODULE_LICENSE ( "GPL"  )
module_param ( debug  ,
int  ,
S_IRUGO S_IWUSR 
)
MODULE_PARM_DESC ( debug  ,
"Debug level - higher value produces more verbose messages"   
)
module_platform_driver ( s5p_mfc_driver  )
void set_work_bit ( struct s5p_mfc_ctx ctx)

Definition at line 56 of file s5p_mfc.c.

void set_work_bit_irqsave ( struct s5p_mfc_ctx ctx)

Definition at line 77 of file s5p_mfc.c.

Variable Documentation

struct s5p_mfc_buf_size buf_size_v5
Initial value:
= {
.fw = MAX_FW_SIZE,
.cpb = MAX_CPB_SIZE,
.priv = &mfc_buf_size_v5,
}

Definition at line 1308 of file s5p_mfc.c.

struct s5p_mfc_buf_size buf_size_v6
Initial value:
= {
.priv = &mfc_buf_size_v6,
}

Definition at line 1335 of file s5p_mfc.c.

int debug

Definition at line 39 of file s5p_mfc.c.

struct s5p_mfc_buf_align mfc_buf_align_v5
Initial value:
= {
}

Definition at line 1314 of file s5p_mfc.c.

struct s5p_mfc_buf_align mfc_buf_align_v6
Initial value:
= {
.base = 0,
}

Definition at line 1341 of file s5p_mfc.c.

struct s5p_mfc_buf_size_v5 mfc_buf_size_v5
Initial value:
= {
.h264_ctx = MFC_H264_CTX_BUF_SIZE,
.non_h264_ctx = MFC_CTX_BUF_SIZE,
.dsc = DESC_BUF_SIZE,
}

Definition at line 1301 of file s5p_mfc.c.

struct s5p_mfc_buf_size_v6 mfc_buf_size_v6
Initial value:
= {
.dev_ctx = MFC_CTX_BUF_SIZE_V6,
}

Definition at line 1327 of file s5p_mfc.c.