1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Support for Intel Camera Imaging ISP subsystem.
4  * Copyright (c) 2015, Intel Corporation.
5  */
6 
7 #ifndef __HMEM_PUBLIC_H_INCLUDED__
8 #define __HMEM_PUBLIC_H_INCLUDED__
9 
10 #include <linux/types.h>		/* size_t */
11 
12 /*! Return the size of HMEM[ID]
13 
14  \param	ID[in]				HMEM identifier
15 
16  \Note: The size is the byte size of the area it occupies
17 		in the address map. I.e. disregarding internal structure
18 
19  \return sizeof(HMEM[ID])
20  */
21 STORAGE_CLASS_HMEM_H size_t sizeof_hmem(
22     const hmem_ID_t		ID);
23 
24 #endif /* __HMEM_PUBLIC_H_INCLUDED__ */
25