1 /* SPDX-License-Identifier: GPL-2.0 */
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
16 #ifndef __IA_CSS_PROPERTIES_H
17 #define __IA_CSS_PROPERTIES_H
20 * This file contains support for retrieving properties of some hardware the CSS system
23 #include <type_support.h> /* bool */
24 #include <ia_css_types.h> /* ia_css_vamem_type */
26 struct ia_css_properties {
28 bool l1_base_is_index; /** Indicate whether the L1 page base
29 is a page index or a byte address. */
30 enum ia_css_vamem_type vamem_type;
33 /* @brief Get hardware properties
34 * @param[in,out] properties The hardware properties
37 * This function returns a number of hardware properties.
40 ia_css_get_properties(struct ia_css_properties *properties);
42 #endif /* __IA_CSS_PROPERTIES_H */