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 __ISYS_STREAM2MMIO_GLOBAL_H_INCLUDED__
8 #define __ISYS_STREAM2MMIO_GLOBAL_H_INCLUDED__
9 
10 #include <type_support.h>
11 
12 typedef struct stream2mmio_cfg_s stream2mmio_cfg_t;
13 struct stream2mmio_cfg_s {
14 	u32				bits_per_pixel;
15 	u32				enable_blocking;
16 };
17 
18 /* Stream2MMIO limits  per ID*/
19 /*
20  * Stream2MMIO 0 has 8 SIDs that are indexed by
21  * [STREAM2MMIO_SID0_ID...STREAM2MMIO_SID7_ID].
22  *
23  * Stream2MMIO 1 has 4 SIDs that are indexed by
24  * [STREAM2MMIO_SID0_ID...TREAM2MMIO_SID3_ID].
25  *
26  * Stream2MMIO 2 has 4 SIDs that are indexed by
27  * [STREAM2MMIO_SID0_ID...STREAM2MMIO_SID3_ID].
28  */
29 extern const stream2mmio_sid_ID_t N_STREAM2MMIO_SID_PROCS[N_STREAM2MMIO_ID];
30 
31 #endif /* __ISYS_STREAM2MMIO_GLOBAL_H_INCLUDED__ */
32