19d4fa1a1SMauro Carvalho Chehab /* Release Version: irci_stable_candrpv_0415_20150521_0458 */ 29d4fa1a1SMauro Carvalho Chehab /* 39d4fa1a1SMauro Carvalho Chehab * Support for Intel Camera Imaging ISP subsystem. 49d4fa1a1SMauro Carvalho Chehab * Copyright (c) 2015, Intel Corporation. 59d4fa1a1SMauro Carvalho Chehab * 69d4fa1a1SMauro Carvalho Chehab * This program is free software; you can redistribute it and/or modify it 79d4fa1a1SMauro Carvalho Chehab * under the terms and conditions of the GNU General Public License, 89d4fa1a1SMauro Carvalho Chehab * version 2, as published by the Free Software Foundation. 99d4fa1a1SMauro Carvalho Chehab * 109d4fa1a1SMauro Carvalho Chehab * This program is distributed in the hope it will be useful, but WITHOUT 119d4fa1a1SMauro Carvalho Chehab * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 129d4fa1a1SMauro Carvalho Chehab * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 139d4fa1a1SMauro Carvalho Chehab * more details. 149d4fa1a1SMauro Carvalho Chehab */ 159d4fa1a1SMauro Carvalho Chehab 169d4fa1a1SMauro Carvalho Chehab #ifndef __SH_CSS_HOST_DATA_H 179d4fa1a1SMauro Carvalho Chehab #define __SH_CSS_HOST_DATA_H 189d4fa1a1SMauro Carvalho Chehab 199d4fa1a1SMauro Carvalho Chehab #include <ia_css_types.h> /* ia_css_pipe */ 209d4fa1a1SMauro Carvalho Chehab 219d4fa1a1SMauro Carvalho Chehab /** 229d4fa1a1SMauro Carvalho Chehab * @brief Allocate structure ia_css_host_data. 239d4fa1a1SMauro Carvalho Chehab * 249d4fa1a1SMauro Carvalho Chehab * @param[in] size Size of the requested host data 259d4fa1a1SMauro Carvalho Chehab * 269d4fa1a1SMauro Carvalho Chehab * @return 279d4fa1a1SMauro Carvalho Chehab * - NULL, can't allocate requested size 289d4fa1a1SMauro Carvalho Chehab * - pointer to structure, field address points to host data with size bytes 299d4fa1a1SMauro Carvalho Chehab */ 309d4fa1a1SMauro Carvalho Chehab struct ia_css_host_data * 319d4fa1a1SMauro Carvalho Chehab ia_css_host_data_allocate(size_t size); 329d4fa1a1SMauro Carvalho Chehab 339d4fa1a1SMauro Carvalho Chehab /** 349d4fa1a1SMauro Carvalho Chehab * @brief Free structure ia_css_host_data. 359d4fa1a1SMauro Carvalho Chehab * 369d4fa1a1SMauro Carvalho Chehab * @param[in] me Pointer to structure, if a NULL is passed functions 379d4fa1a1SMauro Carvalho Chehab * returns without error. Otherwise a valid pointer to 389d4fa1a1SMauro Carvalho Chehab * structure must be passed and a related memory 399d4fa1a1SMauro Carvalho Chehab * is freed. 409d4fa1a1SMauro Carvalho Chehab * 419d4fa1a1SMauro Carvalho Chehab * @return 429d4fa1a1SMauro Carvalho Chehab */ 439d4fa1a1SMauro Carvalho Chehab void ia_css_host_data_free(struct ia_css_host_data *me); 449d4fa1a1SMauro Carvalho Chehab 459d4fa1a1SMauro Carvalho Chehab #endif /* __SH_CSS_HOST_DATA_H */ 46