2 * Support for Intel Camera Imaging ISP subsystem.
3 * Copyright (c) 2015, Intel Corporation.
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.
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
15 #ifndef __VMEM_H_INCLUDED__
16 #define __VMEM_H_INCLUDED__
19 * This file is included on every cell {SP,ISP,host} and on every system
20 * that uses the VMEM device. It defines the API to DLI bridge
22 * System and cell specific interfaces and inline code are included
23 * conditionally through Makefile path settings.
25 * - . system and cell agnostic interfaces, constants and identifiers
26 * - public: system agnostic, cell specific interfaces
27 * - private: system dependent, cell specific interfaces & inline implementations
28 * - global: system specific constants and identifiers
29 * - local: system and cell specific constants and identifiers
32 #include "storage_class.h"
34 #include "system_local.h"
35 #include "vmem_local.h"
37 #ifndef __INLINE_VMEM__
38 #define STORAGE_CLASS_VMEM_H STORAGE_CLASS_EXTERN
39 #define STORAGE_CLASS_VMEM_C
40 #include "vmem_public.h"
41 #else /* __INLINE_VMEM__ */
42 #define STORAGE_CLASS_VMEM_H STORAGE_CLASS_INLINE
43 #define STORAGE_CLASS_VMEM_C STORAGE_CLASS_INLINE
44 #include "vmem_private.h"
45 #endif /* __INLINE_VMEM__ */
47 #endif /* __VMEM_H_INCLUDED__ */