This source file includes following definitions.
- hdmi4_cec_set_phys_addr
- hdmi4_cec_irq
- hdmi4_cec_init
- hdmi4_cec_uninit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 #ifndef _HDMI4_CEC_H_
21 #define _HDMI4_CEC_H_
22
23 struct hdmi_core_data;
24 struct hdmi_wp_data;
25 struct platform_device;
26
27
28 #ifdef CONFIG_OMAP4_DSS_HDMI_CEC
29 void hdmi4_cec_set_phys_addr(struct hdmi_core_data *core, u16 pa);
30 void hdmi4_cec_irq(struct hdmi_core_data *core);
31 int hdmi4_cec_init(struct platform_device *pdev, struct hdmi_core_data *core,
32 struct hdmi_wp_data *wp);
33 void hdmi4_cec_uninit(struct hdmi_core_data *core);
34 #else
35 static inline void hdmi4_cec_set_phys_addr(struct hdmi_core_data *core, u16 pa)
36 {
37 }
38
39 static inline void hdmi4_cec_irq(struct hdmi_core_data *core)
40 {
41 }
42
43 static inline int hdmi4_cec_init(struct platform_device *pdev,
44 struct hdmi_core_data *core,
45 struct hdmi_wp_data *wp)
46 {
47 return 0;
48 }
49
50 static inline void hdmi4_cec_uninit(struct hdmi_core_data *core)
51 {
52 }
53 #endif
54
55 #endif