'\" t .\" Title: spi_busnum_to_master .\" 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_BUSNUM_TO_MASTER" "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_busnum_to_master \- look up master associated with bus_num .SH "SYNOPSIS" .HP \w'struct\ spi_master\ *\ spi_busnum_to_master('u .BI "struct spi_master * spi_busnum_to_master(u16\ " "bus_num" ");" .SH "ARGUMENTS" .PP \fIbus_num\fR .RS 4 the master\*(Aqs bus number .RE .SH "CONTEXT" .PP can sleep .SH "DESCRIPTION" .PP This call may be used with devices that are registered after arch init time\&. It returns a refcounted pointer to the relevant spi_master (which the caller must release), or NULL if there is no such master registered\&. .SH "RETURN" .PP the SPI master structure on success, else NULL\&. .SH "COPYRIGHT" .br