'\" t .\" Title: snd_ctl_notify .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: Control/Mixer API .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "SND_CTL_NOTIFY" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Control/Mixer API" .\" ----------------------------------------------------------------- .\" * 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_notify \- Send notification to user\-space for a control change .SH "SYNOPSIS" .HP \w'void\ snd_ctl_notify('u .BI "void snd_ctl_notify(struct\ snd_card\ *\ " "card" ", unsigned\ int\ " "mask" ", struct\ snd_ctl_elem_id\ *\ " "id" ");" .SH "ARGUMENTS" .PP \fIcard\fR .RS 4 the card to send notification .RE .PP \fImask\fR .RS 4 the event mask, SNDRV_CTL_EVENT_* .RE .PP \fIid\fR .RS 4 the ctl element id to send notification .RE .SH "DESCRIPTION" .PP This function adds an event record with the given id and mask, appends to the list and wakes up the user\-space for notification\&. This can be called in the atomic context\&. .SH "COPYRIGHT" .br