Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
memory.c File Reference
#include <linux/export.h>
#include <asm/io.h>
#include <asm/uaccess.h>
#include <sound/core.h>

Go to the source code of this file.

Functions

int copy_to_user_fromio (void __user *dst, const volatile void __iomem *src, size_t count)
 
 EXPORT_SYMBOL (copy_to_user_fromio)
 
int copy_from_user_toio (volatile void __iomem *dst, const void __user *src, size_t count)
 
 EXPORT_SYMBOL (copy_from_user_toio)
 

Function Documentation

int copy_from_user_toio ( volatile void __iomem dst,
const void __user src,
size_t  count 
)

copy_from_user_toio - copy data from user-space to mmio-space : the destination pointer on mmio-space : the source pointer on user-space : the data size to copy in bytes

Copies the data from user-space to mmio-space.

Returns zero if successful, or non-zero on failure.

Definition at line 71 of file memory.c.

int copy_to_user_fromio ( void __user dst,
const volatile void __iomem src,
size_t  count 
)

copy_to_user_fromio - copy data from mmio-space to user-space : the destination pointer on user-space : the source pointer on mmio : the data size to copy in bytes

Copies the data from mmio-space to user-space.

Returns zero if successful, or non-zero on failure.

Definition at line 38 of file memory.c.

EXPORT_SYMBOL ( copy_to_user_fromio  )
EXPORT_SYMBOL ( copy_from_user_toio  )