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_LOCAL_H_INCLUDED__
8 #define __ISYS_STREAM2MMIO_LOCAL_H_INCLUDED__
9 
10 #include "isys_stream2mmio_global.h"
11 
12 typedef struct stream2mmio_state_s		stream2mmio_state_t;
13 typedef struct stream2mmio_sid_state_s	stream2mmio_sid_state_t;
14 
15 struct stream2mmio_sid_state_s {
16 	hrt_data rcv_ack;
17 	hrt_data pix_width_id;
18 	hrt_data start_addr;
19 	hrt_data end_addr;
20 	hrt_data strides;
21 	hrt_data num_items;
22 	hrt_data block_when_no_cmd;
23 };
24 
25 struct stream2mmio_state_s {
26 	stream2mmio_sid_state_t	sid_state[N_STREAM2MMIO_SID_ID];
27 };
28 #endif /* __ISYS_STREAM2MMIO_LOCAL_H_INCLUDED__ */
29