COPY_TO_USER_FROMIO

Section: Management of Cards and Device (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

copy_to_user_fromio - copy data from mmio-space to user-space  

SYNOPSIS

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

ARGUMENTS

dst

the destination pointer on user-space

src

the source pointer on mmio

count

the data size to copy in bytes
 

DESCRIPTION

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

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

COPYRIGHT