'\" t .\" Title: request_firmware_into_buf .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: Device drivers infrastructure .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "REQUEST_FIRMWARE_INT" "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" request_firmware_into_buf \- load firmware into a previously allocated buffer .SH "SYNOPSIS" .HP \w'int\ request_firmware_into_buf('u .BI "int request_firmware_into_buf(const\ struct\ firmware\ **\ " "firmware_p" ", const\ char\ *\ " "name" ", struct\ device\ *\ " "device" ", void\ *\ " "buf" ", size_t\ " "size" ");" .SH "ARGUMENTS" .PP \fIfirmware_p\fR .RS 4 pointer to firmware image .RE .PP \fIname\fR .RS 4 name of firmware file .RE .PP \fIdevice\fR .RS 4 device for which firmware is being loaded and DMA region allocated .RE .PP \fIbuf\fR .RS 4 address of buffer to load firmware into .RE .PP \fIsize\fR .RS 4 size of buffer .RE .SH "DESCRIPTION" .PP This function works pretty much like \fBrequest_firmware\fR, but it doesn\*(Aqt allocate a buffer to hold the firmware data\&. Instead, the firmware is loaded directly into the buffer pointed to by \fIbuf\fR and the \fIfirmware_p\fR data member is pointed at \fIbuf\fR\&. .PP This function doesn\*(Aqt cache firmware either\&. .SH "COPYRIGHT" .br