1 // SPDX-License-Identifier: GPL-2.0 2 /* 3 * Support for Intel Camera Imaging ISP subsystem. 4 * Copyright (c) 2015, Intel Corporation. 5 * 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. 9 * 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 13 * more details. 14 */ 15 16 #include "system_global.h" 17 #include "csi_rx_global.h" 18 19 const u32 N_SHORT_PACKET_LUT_ENTRIES[N_CSI_RX_BACKEND_ID] = { 20 4, /* 4 entries at CSI_RX_BACKEND0_ID*/ 21 4, /* 4 entries at CSI_RX_BACKEND1_ID*/ 22 4 /* 4 entries at CSI_RX_BACKEND2_ID*/ 23 }; 24 25 const u32 N_LONG_PACKET_LUT_ENTRIES[N_CSI_RX_BACKEND_ID] = { 26 8, /* 8 entries at CSI_RX_BACKEND0_ID*/ 27 4, /* 4 entries at CSI_RX_BACKEND1_ID*/ 28 4 /* 4 entries at CSI_RX_BACKEND2_ID*/ 29 }; 30 31 const u32 N_CSI_RX_FE_CTRL_DLANES[N_CSI_RX_FRONTEND_ID] = { 32 N_CSI_RX_DLANE_ID, /* 4 dlanes for CSI_RX_FR0NTEND0_ID */ 33 N_CSI_RX_DLANE_ID, /* 4 dlanes for CSI_RX_FR0NTEND1_ID */ 34 N_CSI_RX_DLANE_ID /* 4 dlanes for CSI_RX_FR0NTEND2_ID */ 35 }; 36 37 /* sid_width for CSI_RX_BACKEND<N>_ID */ 38 const u32 N_CSI_RX_BE_SID_WIDTH[N_CSI_RX_BACKEND_ID] = { 39 3, 40 2, 41 2 42 }; 43