Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
exynos_mipi_dsi_lowlevel.h
Go to the documentation of this file.
1 /* linux/drivers/video/exynos/exynos_mipi_dsi_lowlevel.h
2  *
3  * Header file for Samsung SoC MIPI-DSI lowlevel driver.
4  *
5  * Copyright (c) 2012 Samsung Electronics Co., Ltd
6  *
7  * InKi Dae <[email protected]>
8  * Donghwa Lee <[email protected]>
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 #ifndef _EXYNOS_MIPI_DSI_LOWLEVEL_H
16 #define _EXYNOS_MIPI_DSI_LOWLEVEL_H
17 
23  unsigned int mode, unsigned int mask);
25  unsigned int count);
27  unsigned int cfg);
29  unsigned int value);
31  unsigned int value);
33  unsigned int enable);
35  unsigned int width_resol, unsigned int height_resol);
37  unsigned int cmd_allow, unsigned int vfront, unsigned int vback);
39  unsigned int front, unsigned int back);
41  unsigned int vert, unsigned int hori);
43  unsigned int vert, unsigned int hori);
46  struct mipi_dsim_config *dsim_config);
48  unsigned int count);
49 void exynos_mipi_dsi_enable_lane(struct mipi_dsim_device *dsim, unsigned int lane,
50  unsigned int enable);
51 void exynos_mipi_dsi_enable_afc(struct mipi_dsim_device *dsim, unsigned int enable,
52  unsigned int afc_code);
54  unsigned int enable);
55 void exynos_mipi_dsi_set_pll_pms(struct mipi_dsim_device *dsim, unsigned int p,
56  unsigned int m, unsigned int s);
58  unsigned int freq_band);
60  unsigned int pre_divider, unsigned int main_divider,
61  unsigned int scaler);
63  unsigned int lock_time);
65  unsigned int enable);
67  unsigned int src);
69  unsigned int enable);
71  unsigned int enable, unsigned int prs_val);
73  unsigned int lane_sel, unsigned int enable);
75  unsigned int enable);
76 unsigned int exynos_mipi_dsi_is_lane_state(struct mipi_dsim_device *dsim);
78  unsigned int cnt_val);
80  unsigned int timeout);
82  unsigned int timeout);
84  unsigned int lp);
86  unsigned int lp);
88  unsigned int enable);
90  unsigned int swap_en);
92  unsigned int hs_zero);
93 void exynos_mipi_dsi_prep_ctrl(struct mipi_dsim_device *dsim, unsigned int prep);
94 unsigned int exynos_mipi_dsi_read_interrupt(struct mipi_dsim_device *dsim);
95 unsigned int exynos_mipi_dsi_read_interrupt_mask(struct mipi_dsim_device *dsim);
97  unsigned int src);
99  unsigned int src, unsigned int enable);
100 unsigned int exynos_mipi_dsi_is_pll_stable(struct mipi_dsim_device *dsim);
101 unsigned int exynos_mipi_dsi_get_fifo_state(struct mipi_dsim_device *dsim);
104 void exynos_mipi_dsi_wr_tx_header(struct mipi_dsim_device *dsim, unsigned int di,
105  unsigned int data0, unsigned int data1);
107  unsigned int tx_data);
109  unsigned int data0, unsigned int data1);
110 unsigned int exynos_mipi_dsi_rd_rx_fifo(struct mipi_dsim_device *dsim);
111 
112 #endif /* _EXYNOS_MIPI_DSI_LOWLEVEL_H */