1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Release Version: irci_stable_candrpv_0415_20150521_0458 */
4 * Support for Intel Camera Imaging ISP subsystem.
5 * Copyright (c) 2015, Intel Corporation.
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms and conditions of the GNU General Public License,
9 * version 2, as published by the Free Software Foundation.
11 * This program is distributed in the hope it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
17 #ifndef __SH_CSS_HOST_DATA_H
18 #define __SH_CSS_HOST_DATA_H
20 #include <ia_css_types.h> /* ia_css_pipe */
23 * @brief Allocate structure ia_css_host_data.
25 * @param[in] size Size of the requested host data
28 * - NULL, can't allocate requested size
29 * - pointer to structure, field address points to host data with size bytes
31 struct ia_css_host_data *
32 ia_css_host_data_allocate(size_t size);
35 * @brief Free structure ia_css_host_data.
37 * @param[in] me Pointer to structure, if a NULL is passed functions
38 * returns without error. Otherwise a valid pointer to
39 * structure must be passed and a related memory
44 void ia_css_host_data_free(struct ia_css_host_data *me);
46 #endif /* __SH_CSS_HOST_DATA_H */