'\" t .\" Title: spi_message_init_with_transfers .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: Serial Peripheral Interface (SPI) .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "SPI_MESSAGE_INIT_WIT" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Serial Peripheral Interface (S" .\" ----------------------------------------------------------------- .\" * 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" spi_message_init_with_transfers \- Initialize spi_message and append transfers .SH "SYNOPSIS" .HP \w'void\ spi_message_init_with_transfers('u .BI "void spi_message_init_with_transfers(struct\ spi_message\ *\ " "m" ", struct\ spi_transfer\ *\ " "xfers" ", unsigned\ int\ " "num_xfers" ");" .SH "ARGUMENTS" .PP \fIm\fR .RS 4 spi_message to be initialized .RE .PP \fIxfers\fR .RS 4 An array of spi transfers .RE .PP \fInum_xfers\fR .RS 4 Number of items in the xfer array .RE .SH "DESCRIPTION" .PP This function initializes the given spi_message and adds each spi_transfer in the given array to the message\&. .SH "COPYRIGHT" .br