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