Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
include
linux
of_iommu.h
Go to the documentation of this file.
1
#ifndef __OF_IOMMU_H
2
#define __OF_IOMMU_H
3
4
#ifdef CONFIG_OF_IOMMU
5
6
extern
int
of_get_dma_window
(
struct
device_node
*
dn
,
const
char
*
prefix
,
7
int
index
,
unsigned
long
*busno,
dma_addr_t
*
addr
,
8
size_t
*
size
);
9
10
#else
11
12
static
inline
int
of_get_dma_window
(
struct
device_node
*
dn
,
const
char
*
prefix
,
13
int
index
,
unsigned
long
*busno,
dma_addr_t
*
addr
,
14
size_t
*
size
)
15
{
16
return
-
EINVAL
;
17
}
18
19
#endif
/* CONFIG_OF_IOMMU */
20
21
#endif
/* __OF_IOMMU_H */
Generated on Thu Jan 10 2013 14:52:15 for Linux Kernel by
1.8.2