Linux-libre 4.17.3-gnu
[librecmc/linux-libre.git] / drivers / staging / media / atomisp / pci / atomisp2 / css2400 / css_2401_csi2p_system / host / isys_stream2mmio_local.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_LOCAL_H_INCLUDED__
16 #define __ISYS_STREAM2MMIO_LOCAL_H_INCLUDED__
17
18 #include "isys_stream2mmio_global.h"
19
20 typedef struct stream2mmio_state_s              stream2mmio_state_t;
21 typedef struct stream2mmio_sid_state_s  stream2mmio_sid_state_t;
22
23 struct stream2mmio_sid_state_s {
24         hrt_data rcv_ack;
25         hrt_data pix_width_id;
26         hrt_data start_addr;
27         hrt_data end_addr;
28         hrt_data strides;
29         hrt_data num_items;
30         hrt_data block_when_no_cmd;
31 };
32
33 struct stream2mmio_state_s {
34         stream2mmio_sid_state_t         sid_state[N_STREAM2MMIO_SID_ID];
35 };
36 #endif /* __ISYS_STREAM2MMIO_LOCAL_H_INCLUDED__ */