1 /* 2 * Support for Intel Camera Imaging ISP subsystem. 3 * Copyright (c) 2015, Intel Corporation. 4 * 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. 8 * 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 12 * more details. 13 */ 14 15 #ifndef __ISYS_STREAM2MMIO_H_INCLUDED__ 16 #define __ISYS_STREAM2MMIO_H_INCLUDED__ 17 18 /* 19 * This file is included on every cell {SP,ISP,host} and on every system 20 * that uses the input system device(s). It defines the API to DLI bridge 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: system agnostic, cell specific interfaces 27 * - private: system dependent, cell specific interfaces & 28 * inline implementations 29 * - global: system specific constants and identifiers 30 * - local: system and cell specific constants and identifiers 31 */ 32 33 #include "system_local.h" 34 #include "isys_stream2mmio_local.h" 35 36 #ifndef __INLINE_STREAM2MMIO__ 37 #define STORAGE_CLASS_STREAM2MMIO_H extern 38 #define STORAGE_CLASS_STREAM2MMIO_C 39 #include "isys_stream2mmio_public.h" 40 #else /* __INLINE_STREAM2MMIO__ */ 41 #define STORAGE_CLASS_STREAM2MMIO_H static inline 42 #define STORAGE_CLASS_STREAM2MMIO_C static inline 43 #include "isys_stream2mmio_private.h" 44 #endif /* __INLINE_STREAM2MMIO__ */ 45 46 #endif /* __ISYS_STREAM2MMIO_H_INCLUDED__ */ 47