'\" t .\" Title: spi_get_next_queued_message .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Serial Peripheral Interface (SPI) .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "SPI_GET_NEXT_QUEUED_" "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_get_next_queued_message \- called by driver to check for queued messages .SH "SYNOPSIS" .HP \w'struct\ spi_message\ *\ spi_get_next_queued_message('u .BI "struct spi_message * spi_get_next_queued_message(struct\ spi_master\ *\ " "master" ");" .SH "ARGUMENTS" .PP \fImaster\fR .RS 4 the master to check for queued messages .RE .SH "DESCRIPTION" .PP If there are more messages in the queue, the next message is returned from this call\&. .SH "RETURN" .PP the next message in the queue, else NULL if the queue is empty\&. .SH "COPYRIGHT" .br