1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Support for Intel Camera Imaging ISP subsystem. 4 * Copyright (c) 2015, Intel Corporation. 5 */ 6 7 #ifndef __IA_CSS_PROPERTIES_H 8 #define __IA_CSS_PROPERTIES_H 9 10 /* @file 11 * This file contains support for retrieving properties of some hardware the CSS system 12 */ 13 14 #include <type_support.h> /* bool */ 15 #include <ia_css_types.h> /* ia_css_vamem_type */ 16 17 struct ia_css_properties { 18 int gdc_coord_one; 19 bool l1_base_is_index; /** Indicate whether the L1 page base 20 is a page index or a byte address. */ 21 enum ia_css_vamem_type vamem_type; 22 }; 23 24 /* @brief Get hardware properties 25 * @param[in,out] properties The hardware properties 26 * @return None 27 * 28 * This function returns a number of hardware properties. 29 */ 30 void 31 ia_css_get_properties(struct ia_css_properties *properties); 32 33 #endif /* __IA_CSS_PROPERTIES_H */ 34