GNU Linux-libre 4.14.259-gnu1
[releases.git] / drivers / staging / media / atomisp / pci / atomisp2 / css2400 / hive_isp_css_include / queue.h
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 __QUEUE_H_INCLUDED__
16 #define __QUEUE_H_INCLUDED__
17
18 /*
19  * This file is included on every cell {SP,ISP,host} and is system agnostic
20  *
21  * System and cell specific interfaces and inline code are included
22  * conditionally through Makefile path settings.
23  *
24  *  - system and cell agnostic interfaces, constants and identifiers
25  *      - public:  cell specific interfaces
26  *      - private: cell specific inline implementations
27  *      - global:  inter cell constants and identifiers
28  *      - local:   cell specific constants and identifiers
29  *
30  */
31
32 #include <storage_class.h>
33
34 #include "queue_local.h"
35
36 #ifndef __INLINE_QUEUE__
37 #define STORAGE_CLASS_QUEUE_H STORAGE_CLASS_EXTERN
38 #define STORAGE_CLASS_QUEUE_C 
39 /* #include "queue_public.h" */
40 #include "ia_css_queue.h"
41 #else  /* __INLINE_QUEUE__ */
42 #define STORAGE_CLASS_QUEUE_H STORAGE_CLASS_INLINE
43 #define STORAGE_CLASS_QUEUE_C STORAGE_CLASS_INLINE
44 #include "queue_private.h"
45 #endif /* __INLINE_QUEUE__ */
46
47 #endif /* __QUEUE_H_INCLUDED__ */