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 _isp2400_support_h
16 #define _isp2400_support_h
18 #ifndef ISP2400_VECTOR_TYPES
19 /* This typedef is to be able to include hive header files
20 in the host code which is useful in crun */
21 typedef char *tmemvectors, *tmemvectoru, *tvector;
24 #define hrt_isp_vamem1_store_16(cell, addr, val) hrt_mem_store_16(cell, HRT_PROC_TYPE_PROP(cell, _simd_vamem1), addr, val)
25 #define hrt_isp_vamem2_store_16(cell, addr, val) hrt_mem_store_16(cell, HRT_PROC_TYPE_PROP(cell, _simd_vamem2), addr, val)
27 #define hrt_isp_dmem(cell) HRT_PROC_TYPE_PROP(cell, _base_dmem)
28 #define hrt_isp_vmem(cell) HRT_PROC_TYPE_PROP(cell, _simd_vmem)
30 #define hrt_isp_dmem_master_port_address(cell) hrt_mem_master_port_address(cell, hrt_isp_dmem(cell))
31 #define hrt_isp_vmem_master_port_address(cell) hrt_mem_master_port_address(cell, hrt_isp_vmem(cell))
34 #define hrt_isp_hist(cell) HRT_PROC_TYPE_PROP(cell, _simd_histogram)
35 #define hrt_isp_hist_master_port_address(cell) hrt_mem_master_port_address(cell, hrt_isp_hist(cell))
38 #endif /* _isp2400_support_h */