This source file includes following definitions.
- rcar_lvds_clk_enable
- rcar_lvds_clk_disable
- rcar_lvds_dual_link
1
2
3
4
5
6
7
8
9
10 #ifndef __RCAR_LVDS_H__
11 #define __RCAR_LVDS_H__
12
13 struct drm_bridge;
14
15 #if IS_ENABLED(CONFIG_DRM_RCAR_LVDS)
16 int rcar_lvds_clk_enable(struct drm_bridge *bridge, unsigned long freq);
17 void rcar_lvds_clk_disable(struct drm_bridge *bridge);
18 bool rcar_lvds_dual_link(struct drm_bridge *bridge);
19 #else
20 static inline int rcar_lvds_clk_enable(struct drm_bridge *bridge,
21 unsigned long freq)
22 {
23 return -ENOSYS;
24 }
25 static inline void rcar_lvds_clk_disable(struct drm_bridge *bridge) { }
26 static inline bool rcar_lvds_dual_link(struct drm_bridge *bridge)
27 {
28 return false;
29 }
30 #endif
31
32 #endif