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
arch
x86
include
asm
swiotlb.h
Go to the documentation of this file.
1
#ifndef _ASM_X86_SWIOTLB_H
2
#define _ASM_X86_SWIOTLB_H
3
4
#include <
linux/swiotlb.h
>
5
6
#ifdef CONFIG_SWIOTLB
7
extern
int
swiotlb
;
8
extern
int
__init
pci_swiotlb_detect_override
(
void
);
9
extern
int
__init
pci_swiotlb_detect_4gb
(
void
);
10
extern
void
__init
pci_swiotlb_init
(
void
);
11
extern
void
__init
pci_swiotlb_late_init
(
void
);
12
#else
13
#define swiotlb 0
14
static
inline
int
pci_swiotlb_detect_override
(
void
)
15
{
16
return
0;
17
}
18
static
inline
int
pci_swiotlb_detect_4gb
(
void
)
19
{
20
return
0;
21
}
22
static
inline
void
pci_swiotlb_init
(
void
)
23
{
24
}
25
static
inline
void
pci_swiotlb_late_init
(
void
)
26
{
27
}
28
#endif
29
30
static
inline
void
dma_mark_clean
(
void
*
addr
,
size_t
size
) {}
31
32
#endif
/* _ASM_X86_SWIOTLB_H */
Generated on Thu Jan 10 2013 13:06:22 for Linux Kernel by
1.8.2