2 * Support for Intel Camera Imaging ISP subsystem.
3 * Copyright (c) 2015, Intel Corporation.
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.
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
15 #ifndef __IBUF_CTRL_LOCAL_H_INCLUDED__
16 #define __IBUF_CTRL_LOCAL_H_INCLUDED__
18 #include "ibuf_ctrl_global.h"
20 typedef struct ibuf_ctrl_proc_state_s ibuf_ctrl_proc_state_t;
21 typedef struct ibuf_ctrl_state_s ibuf_ctrl_state_t;
23 struct ibuf_ctrl_proc_state_s {
28 hrt_data ibuf_st_addr;
30 hrt_data ibuf_end_addr;
31 hrt_data dest_st_addr;
33 hrt_data dest_end_addr;
35 hrt_data sync_command;
36 hrt_data store_command;
37 hrt_data shift_returned_items;
42 hrt_data cur_s2m_ibuf_addr;
43 hrt_data cur_dma_ibuf_addr;
44 hrt_data cur_dma_dest_addr;
45 hrt_data cur_isp_dest_addr;
46 hrt_data dma_cmds_send;
47 hrt_data main_cntrl_state;
48 hrt_data dma_sync_state;
49 hrt_data isp_sync_state;
52 struct ibuf_ctrl_state_s {
53 hrt_data recalc_words;
55 ibuf_ctrl_proc_state_t proc_state[N_STREAM2MMIO_SID_ID];
58 #endif /* __IBUF_CTRL_LOCAL_H_INCLUDED__ */