Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
exynos_mipi_dsi_common.h
Go to the documentation of this file.
1 /* linux/drivers/video/exynos_mipi_dsi_common.h
2  *
3  * Header file for Samsung SoC MIPI-DSI common 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_COMMON_H
16 #define _EXYNOS_MIPI_DSI_COMMON_H
17 
18 static DECLARE_COMPLETION(dsim_rd_comp);
19 static DECLARE_COMPLETION(dsim_wr_comp);
20 
21 int exynos_mipi_dsi_wr_data(struct mipi_dsim_device *dsim, unsigned int data_id,
22  const unsigned char *data0, unsigned int data_size);
23 int exynos_mipi_dsi_rd_data(struct mipi_dsim_device *dsim, unsigned int data_id,
24  unsigned int data0, unsigned int req_size, u8 *rx_buf);
29  unsigned int enable);
31  struct mipi_dsim_config *dsim_info);
35  unsigned int mode);
37  unsigned int enable);
40 
42 
44  unsigned int val);
45 
46 #endif /* _EXYNOS_MIPI_DSI_COMMON_H */