1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Support for Intel Camera Imaging ISP subsystem.
4  * Copyright (c) 2015, Intel Corporation.
5  */
6 
7 #ifndef __TYPE_SUPPORT_H_INCLUDED__
8 #define __TYPE_SUPPORT_H_INCLUDED__
9 
10 /**
11 * @file
12 * Platform specific types.
13 *
14 * Per the DLI spec, types are in "type_support.h" and
15 * "platform_support.h" is for unclassified/to be refactored
16 * platform specific definitions.
17 */
18 
19 #define IA_CSS_UINT8_T_BITS						8
20 #define IA_CSS_UINT16_T_BITS					16
21 #define IA_CSS_UINT32_T_BITS					32
22 #define IA_CSS_INT32_T_BITS						32
23 #define IA_CSS_UINT64_T_BITS					64
24 
25 #define CHAR_BIT (8)
26 
27 #include <linux/errno.h>
28 #include <linux/limits.h>
29 #include <linux/types.h>
30 
31 #define HOST_ADDRESS(x) (unsigned long)(x)
32 
33 #endif /* __TYPE_SUPPORT_H_INCLUDED__ */
34