1 /* 2 * Copyright (c) 2019, Fuzhou Rockchip Electronics Co., Ltd 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 #ifndef _CAM_HW_RK_ISP20_HW_H 17 #define _CAM_HW_RK_ISP20_HW_H 18 19 typedef signed char s8; 20 typedef unsigned char u8; 21 22 typedef signed short s16; 23 typedef unsigned short u16; 24 25 typedef signed int s32; 26 typedef unsigned int u32; 27 28 typedef signed long long s64; 29 typedef unsigned long long u64; 30 31 #define BIT_ULL(nr) (1ULL << (nr)) 32 33 enum RK_ISP_HW_MODULE_ID_e { 34 RK_ISP2X_DPCC_ID, 35 RK_ISP2X_BLS_ID, 36 RK_ISP2X_SDG_ID, 37 RK_ISP2X_SIHST_ID, 38 RK_ISP2X_LSC_ID, 39 RK_ISP2X_AWB_GAIN_ID, 40 RK_ISP2X_RESERVED_ID, 41 RK_ISP2X_BDM_ID, 42 RK_ISP2X_CTK_ID, 43 RK_ISP2X_GOC_ID, 44 RK_ISP2X_CPROC_ID, 45 RK_ISP2X_SIAF_ID, 46 RK_ISP2X_SIAWB_ID, 47 RK_ISP2X_IE_ID, 48 RK_ISP2X_YUVAE_ID, 49 RK_ISP2X_WDR_ID, 50 RK_ISP2X_RK_IESHARP_ID, 51 RK_ISP2X_RAWAF_ID, 52 RK_ISP2X_RAWAE0_ID, 53 RK_ISP2X_RAWAE1_ID, 54 RK_ISP2X_RAWAE2_ID, 55 RK_ISP2X_RAWAE3_ID, 56 RK_ISP2X_RAWAWB_ID, 57 RK_ISP2X_RAWHIST0_ID, 58 RK_ISP2X_RAWHIST1_ID, 59 RK_ISP2X_RAW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