'\" t .\" Title: hsi_alloc_controller .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: High Speed Synchronous Serial Interface (HSI) .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "HSI_ALLOC_CONTROLLER" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "High Speed Synchronous Serial" .\" ----------------------------------------------------------------- .\" * 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" hsi_alloc_controller \- Allocate an HSI controller and its ports .SH "SYNOPSIS" .HP \w'struct\ hsi_controller\ *\ hsi_alloc_controller('u .BI "struct hsi_controller * hsi_alloc_controller(unsigned\ int\ " "n_ports" ", gfp_t\ " "flags" ");" .SH "ARGUMENTS" .PP \fIn_ports\fR .RS 4 Number of ports on the HSI controller .RE .PP \fIflags\fR .RS 4 Kernel allocation flags .RE .SH "DESCRIPTION" .PP Return NULL on failure or a pointer to an hsi_controller on success\&. .SH "COPYRIGHT" .br