60143b8743a2d5a4079f557387033e83acf99870
[openwrt/staging/blogic.git] /
1 /*
2 * Support for Intel Camera Imaging ISP subsystem.
3 * Copyright (c) 2015, Intel Corporation.
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms and conditions of the GNU General Public License,
7 * version 2, as published by the Free Software Foundation.
8 *
9 * This program is distributed in the hope it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 */
14
15 #ifndef _streaming_to_mipi_defs_h
16 #define _streaming_to_mipi_defs_h
17
18 #define HIVE_STR_TO_MIPI_VALID_A_BIT 0
19 #define HIVE_STR_TO_MIPI_VALID_B_BIT 1
20 #define HIVE_STR_TO_MIPI_SOL_BIT 2
21 #define HIVE_STR_TO_MIPI_EOL_BIT 3
22 #define HIVE_STR_TO_MIPI_SOF_BIT 4
23 #define HIVE_STR_TO_MIPI_EOF_BIT 5
24 #define HIVE_STR_TO_MIPI_CH_ID_LSB 6
25
26 #define HIVE_STR_TO_MIPI_DATA_A_LSB (HIVE_STR_TO_MIPI_VALID_B_BIT + 1)
27
28 #endif /* _streaming_to_mipi_defs_h */