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_cmd.c
Go to the documentation of this file.
1
/*
2
* linux/drivers/media/platform/s5p-mfc/s5p_mfc_cmd.c
3
*
4
* Copyright (C) 2012 Samsung Electronics Co., Ltd.
5
* http://www.samsung.com/
6
*
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2 of the License, or
10
* (at your option) any later version.
11
*/
12
13
#include "
s5p_mfc_cmd.h
"
14
#include "
s5p_mfc_common.h
"
15
#include "
s5p_mfc_debug.h
"
16
#include "
s5p_mfc_cmd_v5.h
"
17
#include "
s5p_mfc_cmd_v6.h
"
18
19
static
struct
s5p_mfc_hw_cmds
*s5p_mfc_cmds;
20
21
void
s5p_mfc_init_hw_cmds
(
struct
s5p_mfc_dev
*
dev
)
22
{
23
if
(
IS_MFCV6
(dev))
24
s5p_mfc_cmds =
s5p_mfc_init_hw_cmds_v6
();
25
else
26
s5p_mfc_cmds =
s5p_mfc_init_hw_cmds_v5
();
27
28
dev->
mfc_cmds
= s5p_mfc_cmds;
29
}
Generated on Thu Jan 10 2013 13:49:43 for Linux Kernel by
1.8.2