xref: /linux/drivers/staging/media/atomisp/pci/css_2401_system/host/csi_rx.c (revision c771600c6af14749609b49565ffb4cac2959710d)
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 #include "system_global.h"
8 #include "csi_rx_global.h"
9 
10 const u32 N_SHORT_PACKET_LUT_ENTRIES[N_CSI_RX_BACKEND_ID] = {
11 	4,	/* 4 entries at CSI_RX_BACKEND0_ID*/
12 	4,	/* 4 entries at CSI_RX_BACKEND1_ID*/
13 	4	/* 4 entries at CSI_RX_BACKEND2_ID*/
14 };
15 
16 const u32 N_LONG_PACKET_LUT_ENTRIES[N_CSI_RX_BACKEND_ID] = {
17 	8,	/* 8 entries at CSI_RX_BACKEND0_ID*/
18 	4,	/* 4 entries at CSI_RX_BACKEND1_ID*/
19 	4	/* 4 entries at CSI_RX_BACKEND2_ID*/
20 };
21 
22 const u32 N_CSI_RX_FE_CTRL_DLANES[N_CSI_RX_FRONTEND_ID] = {
23 	N_CSI_RX_DLANE_ID,	/* 4 dlanes for CSI_RX_FR0NTEND0_ID */
24 	N_CSI_RX_DLANE_ID,	/* 4 dlanes for CSI_RX_FR0NTEND1_ID */
25 	N_CSI_RX_DLANE_ID	/* 4 dlanes for CSI_RX_FR0NTEND2_ID */
26 };
27 
28 /* sid_width for CSI_RX_BACKEND<N>_ID */
29 const u32 N_CSI_RX_BE_SID_WIDTH[N_CSI_RX_BACKEND_ID] = {
30 	3,
31 	2,
32 	2
33 };
34