'\" t .\" Title: snd_ctl_find_id .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Sound Devices .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "SND_CTL_FIND_ID" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Sound Devices" .\" ----------------------------------------------------------------- .\" * 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" snd_ctl_find_id \- find the control instance with the given id .SH "SYNOPSIS" .HP \w'struct\ snd_kcontrol\ *\ snd_ctl_find_id('u .BI "struct snd_kcontrol * snd_ctl_find_id(struct\ snd_card\ *\ " "card" ", struct\ snd_ctl_elem_id\ *\ " "id" ");" .SH "ARGUMENTS" .PP \fIcard\fR .RS 4 the card instance .RE .PP \fIid\fR .RS 4 the id to search .RE .SH "DESCRIPTION" .PP Finds the control instance with the given id from the card\&. .PP The caller must down card\->controls_rwsem before calling this function (if the race condition can happen)\&. .SH "RETURN" .PP The pointer of the instance if found, or \fBNULL\fR if not\&. .SH "COPYRIGHT" .br