Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
dmabounce.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/page-flags.h>
#include <linux/device.h>
#include <linux/dma-mapping.h>
#include <linux/dmapool.h>
#include <linux/list.h>
#include <linux/scatterlist.h>
#include <asm/cacheflush.h>

Go to the source code of this file.

Data Structures

struct  safe_buffer
 
struct  dmabounce_pool
 
struct  dmabounce_device_info
 

Macros

#define DO_STATS(X)   do { } while (0)
 

Functions

int dmabounce_register_dev (struct device *dev, unsigned long small_buffer_size, unsigned long large_buffer_size, int(*needs_bounce_fn)(struct device *, dma_addr_t, size_t))
 
 EXPORT_SYMBOL (dmabounce_register_dev)
 
void dmabounce_unregister_dev (struct device *dev)
 
 EXPORT_SYMBOL (dmabounce_unregister_dev)
 
 MODULE_AUTHOR ("Christopher Hoover <[email protected]>, Deepak Saxena <[email protected]>")
 
 MODULE_DESCRIPTION ("Special dma_{map/unmap/dma_sync}_* routines for systems with limited DMA windows")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define DO_STATS (   X)    do { } while (0)

Definition at line 42 of file dmabounce.c.

Function Documentation

int dmabounce_register_dev ( struct device dev,
unsigned long  small_buffer_size,
unsigned long  large_buffer_size,
int(*)(struct device *, dma_addr_t, size_t needs_bounce_fn 
)

Definition at line 479 of file dmabounce.c.

void dmabounce_unregister_dev ( struct device dev)

Definition at line 541 of file dmabounce.c.

EXPORT_SYMBOL ( dmabounce_register_dev  )
EXPORT_SYMBOL ( dmabounce_unregister_dev  )
MODULE_AUTHOR ( "Christopher Hoover <[email protected] ,
Deepak Saxena< dsaxena @plexity.net >"   
)
MODULE_DESCRIPTION ( "Special dma_{map/unmap/dma_sync}_* routines for systems with limited DMA windows"  )
MODULE_LICENSE ( "GPL"  )