Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
drivers
media
platform
s5p-mfc
s5p_mfc_opr.c
Go to the documentation of this file.
1
/*
2
* drivers/media/platform/s5p-mfc/s5p_mfc_opr.c
3
*
4
* Samsung MFC (Multi Function Codec - FIMV) driver
5
* This file contains hw related functions.
6
*
7
* Kamil Debski, Copyright (c) 2012 Samsung Electronics Co., Ltd.
8
* http://www.samsung.com/
9
*
10
* This program is free software; you can redistribute it and/or modify
11
* it under the terms of the GNU General Public License version 2 as
12
* published by the Free Software Foundation.
13
*/
14
15
#include "
s5p_mfc_opr.h
"
16
#include "
s5p_mfc_opr_v5.h
"
17
#include "
s5p_mfc_opr_v6.h
"
18
19
static
struct
s5p_mfc_hw_ops
*s5p_mfc_ops;
20
21
void
s5p_mfc_init_hw_ops
(
struct
s5p_mfc_dev
*
dev
)
22
{
23
if
(
IS_MFCV6
(dev)) {
24
s5p_mfc_ops =
s5p_mfc_init_hw_ops_v6
();
25
dev->
warn_start
=
S5P_FIMV_ERR_WARNINGS_START_V6
;
26
}
else
{
27
s5p_mfc_ops =
s5p_mfc_init_hw_ops_v5
();
28
dev->
warn_start
=
S5P_FIMV_ERR_WARNINGS_START
;
29
}
30
dev->
mfc_ops
= s5p_mfc_ops;
31
}
Generated on Thu Jan 10 2013 13:49:44 for Linux Kernel by
1.8.2