1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Support for Intel Camera Imaging ISP subsystem.
4  * Copyright (c) 2015, Intel Corporation.
5  *
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.
9  *
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
13  * more details.
14  */
15 
16 #ifndef __ISYS_PUBLIC_H_INCLUDED__
17 #define __ISYS_PUBLIC_H_INCLUDED__
18 
19 #ifdef ISP2401
20 /*! Read the state of INPUT_SYSTEM[ID]
21  \param ID[in]		INPUT_SYSTEM identifier
22  \param state[out]	pointer to input system state structure
23  \return none, state = INPUT_SYSTEM[ID].state
24  */
25 STORAGE_CLASS_INPUT_SYSTEM_H input_system_err_t input_system_get_state(
26     const input_system_ID_t	ID,
27     input_system_state_t *state);
28 /*! Dump the state of INPUT_SYSTEM[ID]
29  \param ID[in]		INPUT_SYSTEM identifier
30  \param state[in]	pointer to input system state structure
31  \return none
32  \depends on host supplied print function as part of ia_css_init()
33  */
34 STORAGE_CLASS_INPUT_SYSTEM_H void input_system_dump_state(
35     const input_system_ID_t	ID,
36     input_system_state_t *state);
37 #endif /* ISP2401 */
38 #endif /* __ISYS_PUBLIC_H_INCLUDED__ */
39