f02262e1c9d3844a7fbb831eb7a003c35d25f635
[firefly-linux-kernel-4.4.55.git] / drivers / misc / mic / common / mic_device.h
1 /*
2  * Intel MIC Platform Software Stack (MPSS)
3  *
4  * Copyright(c) 2013 Intel Corporation.
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License, version 2, as
8  * published by the Free Software Foundation.
9  *
10  * This program is distributed in the hope that it will be useful, but
11  * WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * General Public License for more details.
14  *
15  * The full GNU General Public License is included in this distribution in
16  * the file called "COPYING".
17  *
18  * Intel MIC driver.
19  *
20  */
21 #ifndef __MIC_COMMON_DEVICE_H_
22 #define __MIC_COMMON_DEVICE_H_
23
24 /**
25  * struct mic_mw - MIC memory window
26  *
27  * @pa: Base physical address.
28  * @va: Base ioremap'd virtual address.
29  * @len: Size of the memory window.
30  */
31 struct mic_mw {
32         phys_addr_t pa;
33         void __iomem *va;
34         resource_size_t len;
35 };
36
37 #endif