Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
dma.c File Reference
#include <linux/dma-mapping.h>
#include <linux/bootmem.h>
#include <linux/genalloc.h>
#include <asm/dma-mapping.h>
#include <linux/module.h>

Go to the source code of this file.

Functions

 EXPORT_SYMBOL (dma_ops)
 
int dma_supported (struct device *dev, u64 mask)
 
 EXPORT_SYMBOL (dma_supported)
 
int dma_set_mask (struct device *dev, u64 mask)
 
 EXPORT_SYMBOL (dma_set_mask)
 
void __init hexagon_dma_init (void)
 

Variables

struct dma_map_opsdma_ops
 
int bad_dma_address
 
struct dma_map_ops hexagon_dma_ops
 

Function Documentation

int dma_set_mask ( struct device dev,
u64  mask 
)

Definition at line 41 of file dma.c.

int dma_supported ( struct device dev,
u64  mask 
)

Definition at line 32 of file dma.c.

EXPORT_SYMBOL ( dma_ops  )
EXPORT_SYMBOL ( dma_supported  )
EXPORT_SYMBOL ( dma_set_mask  )
void __init hexagon_dma_init ( void  )

Definition at line 216 of file dma.c.

Variable Documentation

int bad_dma_address

Definition at line 30 of file dma.c.

Definition at line 27 of file dma.c.

struct dma_map_ops hexagon_dma_ops
Initial value:
= {
.alloc = hexagon_dma_alloc_coherent,
.free = hexagon_free_coherent,
.map_sg = hexagon_map_sg,
.map_page = hexagon_map_page,
.sync_single_for_cpu = hexagon_sync_single_for_cpu,
.sync_single_for_device = hexagon_sync_single_for_device,
.is_phys = 1,
}

Definition at line 206 of file dma.c.