Merge remote-tracking branches 'asoc/topic/mc13783', 'asoc/topic/msm8916', 'asoc...
[linux-2.6-block.git] / drivers / staging / media / atomisp / pci / atomisp2 / css2400 / ia_css_properties.h
CommitLineData
a49d2536
AC
1/*
2 * Support for Intel Camera Imaging ISP subsystem.
3 * Copyright (c) 2015, Intel Corporation.
4 *
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.
8 *
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
12 * more details.
13 */
14
15#ifndef __IA_CSS_PROPERTIES_H
16#define __IA_CSS_PROPERTIES_H
17
d929fb4e 18/* @file
a49d2536
AC
19 * This file contains support for retrieving properties of some hardware the CSS system
20 */
21
22#include <type_support.h> /* bool */
23#include <ia_css_types.h> /* ia_css_vamem_type */
24
25struct ia_css_properties {
26 int gdc_coord_one;
d929fb4e 27 bool l1_base_is_index; /** Indicate whether the L1 page base
a49d2536
AC
28 is a page index or a byte address. */
29 enum ia_css_vamem_type vamem_type;
30};
31
d929fb4e 32/* @brief Get hardware properties
a49d2536
AC
33 * @param[in,out] properties The hardware properties
34 * @return None
35 *
36 * This function returns a number of hardware properties.
37 */
38void
39ia_css_get_properties(struct ia_css_properties *properties);
40
41#endif /* __IA_CSS_PROPERTIES_H */