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 #ifndef __ISYS_STREAM2MMIO_GLOBAL_H_INCLUDED__
17 #define __ISYS_STREAM2MMIO_GLOBAL_H_INCLUDED__
18 
19 #include <type_support.h>
20 
21 typedef struct stream2mmio_cfg_s stream2mmio_cfg_t;
22 struct stream2mmio_cfg_s {
23 	u32				bits_per_pixel;
24 	u32				enable_blocking;
25 };
26 
27 /* Stream2MMIO limits  per ID*/
28 /*
29  * Stream2MMIO 0 has 8 SIDs that are indexed by
30  * [STREAM2MMIO_SID0_ID...STREAM2MMIO_SID7_ID].
31  *
32  * Stream2MMIO 1 has 4 SIDs that are indexed by
33  * [STREAM2MMIO_SID0_ID...TREAM2MMIO_SID3_ID].
34  *
35  * Stream2MMIO 2 has 4 SIDs that are indexed by
36  * [STREAM2MMIO_SID0_ID...STREAM2MMIO_SID3_ID].
37  */
38 extern const stream2mmio_sid_ID_t N_STREAM2MMIO_SID_PROCS[N_STREAM2MMIO_ID];
39 
40 #endif /* __ISYS_STREAM2MMIO_GLOBAL_H_INCLUDED__ */
41