This source file includes following definitions.
- s5p_mfc_init_hw_cmds
1
2
3
4
5
6
7
8
9 #include "s5p_mfc_cmd.h"
10 #include "s5p_mfc_common.h"
11 #include "s5p_mfc_debug.h"
12 #include "s5p_mfc_cmd_v5.h"
13 #include "s5p_mfc_cmd_v6.h"
14
15 static struct s5p_mfc_hw_cmds *s5p_mfc_cmds;
16
17 void s5p_mfc_init_hw_cmds(struct s5p_mfc_dev *dev)
18 {
19 if (IS_MFCV6_PLUS(dev))
20 s5p_mfc_cmds = s5p_mfc_init_hw_cmds_v6();
21 else
22 s5p_mfc_cmds = s5p_mfc_init_hw_cmds_v5();
23
24 dev->mfc_cmds = s5p_mfc_cmds;
25 }