1 /* 2 * Copyright (c) 2022 Unionman Technology Co., Ltd. 3 * 4 * HDF is dual licensed: you can use it either under the terms of 5 * the GPL, or the BSD license, at your option. 6 * See the LICENSE file in the root of this repository for complete details. 7 */ 8 9 #ifndef MESON_AXG_COMMON_H 10 #define MESON_AXG_COMMON_H 11 12 #ifdef __cplusplus 13 #if __cplusplus 14 extern "C" { 15 #endif 16 #endif /* __cplusplus */ 17 18 #define AXG_BIT_WIDTH8 8 /* 8 bit width */ 19 #define AXG_BIT_WIDTH16 16 /* 16 bit width */ 20 #define AXG_BIT_WIDTH18 18 /* 18 bit width */ 21 #define AXG_BIT_WIDTH20 20 /* 20 bit width */ 22 #define AXG_BIT_WIDTH24 24 /* 24 bit width */ 23 #define AXG_BIT_WIDTH32 32 /* 32 bit width */ 24 25 #ifdef __cplusplus 26 #if __cplusplus 27 } 28 #endif 29 #endif /* __cplusplus */ 30 31 #endif /* MESON_AXG_COMMON_H */ 32