'\" t .\" Title: copy_from_user_toio .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Management of Cards and Devices .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "COPY_FROM_USER_TOIO" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Management of Cards and Device" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" copy_from_user_toio \- copy data from user\-space to mmio\-space .SH "SYNOPSIS" .HP \w'int\ copy_from_user_toio('u .BI "int copy_from_user_toio(volatile\ void\ __iomem\ *\ " "dst" ", const\ void\ __user\ *\ " "src" ", size_t\ " "count" ");" .SH "ARGUMENTS" .PP \fIdst\fR .RS 4 the destination pointer on mmio\-space .RE .PP \fIsrc\fR .RS 4 the source pointer on user\-space .RE .PP \fIcount\fR .RS 4 the data size to copy in bytes .RE .SH "DESCRIPTION" .PP Copies the data from user\-space to mmio\-space\&. .SH "RETURN" .PP Zero if successful, or non\-zero on failure\&. .SH "COPYRIGHT" .br