'\" t .\" Title: hsi_get_channel_id_by_name .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: High Speed Synchronous Serial Interface (HSI) .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "HSI_GET_CHANNEL_ID_B" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "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_get_channel_id_by_name \- acquire channel id by channel name .SH "SYNOPSIS" .HP \w'int\ hsi_get_channel_id_by_name('u .BI "int hsi_get_channel_id_by_name(struct\ hsi_client\ *\ " "cl" ", char\ *\ " "name" ");" .SH "ARGUMENTS" .PP \fIcl\fR .RS 4 HSI client, which uses the channel .RE .PP \fIname\fR .RS 4 name the channel is known under .RE .SH "DESCRIPTION" .PP Clients can call this function to get the hsi channel ids similar to requesting IRQs or GPIOs by name\&. This function assumes the same channel configuration is used for RX and TX\&. .PP Returns \-errno on error or channel id on success\&. .SH "COPYRIGHT" .br