]> git.ipfire.org Git - thirdparty/kernel/linux.git/blob
801523977e1d4b10eb0643f7bdc0256c32c43c7d
[thirdparty/kernel/linux.git] /
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__ */