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 __TAG_H_INCLUDED__ 17 #define __TAG_H_INCLUDED__ 18 19 /* 20 * This file is included on every cell {SP,ISP,host} and is system agnostic 21 * 22 * System and cell specific interfaces and inline code are included 23 * conditionally through Makefile path settings. 24 * 25 * - . system and cell agnostic interfaces, constants and identifiers 26 * - public: cell specific interfaces 27 * - private: cell specific inline implementations 28 * - global: inter cell constants and identifiers 29 * - local: cell specific constants and identifiers 30 * 31 */ 32 33 #include "tag_local.h" 34 35 #ifndef __INLINE_TAG__ 36 #define STORAGE_CLASS_TAG_H extern 37 #define STORAGE_CLASS_TAG_C 38 #include "tag_public.h" 39 #else /* __INLINE_TAG__ */ 40 #define STORAGE_CLASS_TAG_H static inline 41 #define STORAGE_CLASS_TAG_C static inline 42 #include "tag_private.h" 43 #endif /* __INLINE_TAG__ */ 44 45 #endif /* __TAG_H_INCLUDED__ */ 46