3 * Support for Intel Camera Imaging ISP subsystem.
4 * Copyright (c) 2015, Intel Corporation.
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License,
8 * version 2, as published by the Free Software Foundation.
10 * This program is distributed in the hope it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
17 Support for Intel Camera Imaging ISP subsystem.
18 Copyright (c) 2010 - 2015, Intel Corporation.
20 This program is free software; you can redistribute it and/or modify it
21 under the terms and conditions of the GNU General Public License,
22 version 2, as published by the Free Software Foundation.
24 This program is distributed in the hope it will be useful, but WITHOUT
25 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
26 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
31 #ifndef __IA_CSS_SPCTRL_COMM_H__
32 #define __IA_CSS_SPCTRL_COMM_H__
34 #include <type_support.h>
38 IA_CSS_SP_SW_TERMINATED = 0,
39 IA_CSS_SP_SW_INITIALIZED,
40 IA_CSS_SP_SW_CONNECTED,
42 } ia_css_spctrl_sp_sw_state;
44 /** Structure to encapsulate required arguments for
45 * initialization of SP DMEM using the SP itself
47 struct ia_css_sp_init_dmem_cfg {
48 ia_css_ptr ddr_data_addr; /**< data segment address in ddr */
49 uint32_t dmem_data_addr; /**< data segment address in dmem */
50 uint32_t dmem_bss_addr; /**< bss segment address in dmem */
51 uint32_t data_size; /**< data segment size */
52 uint32_t bss_size; /**< bss segment size */
53 sp_ID_t sp_id; /** <sp Id */
56 #define SIZE_OF_IA_CSS_SP_INIT_DMEM_CFG_STRUCT \
57 (1 * SIZE_OF_IA_CSS_PTR) + \
58 (4 * sizeof(uint32_t)) + \
61 #endif /* __IA_CSS_SPCTRL_COMM_H__ */