GNU Linux-libre 4.14.290-gnu1
[releases.git] / drivers / staging / media / atomisp / pci / atomisp2 / css2400 / hive_isp_css_include / host / isys_public.h
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 __ISYS_PUBLIC_H_INCLUDED__
16 #define __ISYS_PUBLIC_H_INCLUDED__
17
18 #ifdef USE_INPUT_SYSTEM_VERSION_2401
19 /*! Read the state of INPUT_SYSTEM[ID]
20  \param ID[in]          INPUT_SYSTEM identifier
21  \param state[out]      pointer to input system state structure
22  \return none, state = INPUT_SYSTEM[ID].state
23  */
24 STORAGE_CLASS_INPUT_SYSTEM_H input_system_err_t input_system_get_state(
25         const input_system_ID_t ID,
26         input_system_state_t *state);
27 /*! Dump the state of INPUT_SYSTEM[ID]
28  \param ID[in]          INPUT_SYSTEM identifier
29  \param state[in]       pointer to input system state structure
30  \return none
31  \depends on host supplied print function as part of ia_css_init()
32  */
33 STORAGE_CLASS_INPUT_SYSTEM_H void input_system_dump_state(
34         const input_system_ID_t ID,
35         input_system_state_t *state);
36 #endif /* USE_INPUT_SYSTEM_VERSION_2401 */
37 #endif /* __ISYS_PUBLIC_H_INCLUDED__ */