'\" t .\" Title: dmam_declare_coherent_memory .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Device drivers infrastructure .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "DMAM_DECLARE_COHEREN" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Device drivers infrastructure" .\" ----------------------------------------------------------------- .\" * 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" dmam_declare_coherent_memory \- Managed \fBdma_declare_coherent_memory\fR .SH "SYNOPSIS" .HP \w'int\ dmam_declare_coherent_memory('u .BI "int dmam_declare_coherent_memory(struct\ device\ *\ " "dev" ", phys_addr_t\ " "phys_addr" ", dma_addr_t\ " "device_addr" ", size_t\ " "size" ", int\ " "flags" ");" .SH "ARGUMENTS" .PP \fIdev\fR .RS 4 Device to declare coherent memory for .RE .PP \fIphys_addr\fR .RS 4 Physical address of coherent memory to be declared .RE .PP \fIdevice_addr\fR .RS 4 Device address of coherent memory to be declared .RE .PP \fIsize\fR .RS 4 Size of coherent memory to be declared .RE .PP \fIflags\fR .RS 4 Flags .RE .SH "DESCRIPTION" .PP Managed \fBdma_declare_coherent_memory\fR\&. .SH "RETURN" .PP 0 on success, \-errno on failure\&. .SH "COPYRIGHT" .br