GNU Linux-libre 4.14.332-gnu1
[releases.git] / drivers / staging / media / atomisp / pci / atomisp2 / css2400 / css_2401_csi2p_system / isys_stream2mmio_global.h
1 /*
2  * Support for Intel Camera Imaging ISP subsystem.
3  * Copyright (c) 2015, Intel Corporation.
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms and conditions of the GNU General Public License,
7  * version 2, as published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
12  * more details.
13  */
14
15 #ifndef __ISYS_STREAM2MMIO_GLOBAL_H_INCLUDED__
16 #define __ISYS_STREAM2MMIO_GLOBAL_H_INCLUDED__
17
18 #include <type_support.h>
19
20 typedef struct stream2mmio_cfg_s stream2mmio_cfg_t;
21 struct stream2mmio_cfg_s {
22         uint32_t                                bits_per_pixel;
23         uint32_t                                enable_blocking;
24 };
25
26 /* Stream2MMIO limits  per ID*/
27 /*
28  * Stream2MMIO 0 has 8 SIDs that are indexed by
29  * [STREAM2MMIO_SID0_ID...STREAM2MMIO_SID7_ID].
30  *
31  * Stream2MMIO 1 has 4 SIDs that are indexed by
32  * [STREAM2MMIO_SID0_ID...TREAM2MMIO_SID3_ID].
33  *
34  * Stream2MMIO 2 has 4 SIDs that are indexed by
35  * [STREAM2MMIO_SID0_ID...STREAM2MMIO_SID3_ID].
36  */
37 extern const stream2mmio_sid_ID_t N_STREAM2MMIO_SID_PROCS[N_STREAM2MMIO_ID];
38
39 #endif /* __ISYS_STREAM2MMIO_GLOBAL_H_INCLUDED__ */