'\" t .\" Title: snd_soc_dapm_force_bias_level .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: ASoC .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "SND_SOC_DAPM_FORCE_B" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "ASoC" .\" ----------------------------------------------------------------- .\" * 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_soc_dapm_force_bias_level \- Sets the DAPM bias level .SH "SYNOPSIS" .HP \w'int\ snd_soc_dapm_force_bias_level('u .BI "int snd_soc_dapm_force_bias_level(struct\ snd_soc_dapm_context\ *\ " "dapm" ", enum\ snd_soc_bias_level\ " "level" ");" .SH "ARGUMENTS" .PP \fIdapm\fR .RS 4 The DAPM context for which to set the level .RE .PP \fIlevel\fR .RS 4 The level to set .RE .SH "DESCRIPTION" .PP Forces the DAPM bias level to a specific state\&. It will call the bias level callback of DAPM context with the specified level\&. This will even happen if the context is already at the same level\&. Furthermore it will not go through the normal bias level sequencing, meaning any intermediate states between the current and the target state will not be entered\&. .PP Note that the change in bias level is only temporary and the next time \fBsnd_soc_dapm_sync\fR is called the state will be set to the level as determined by the DAPM core\&. The function is mainly intended to be used to used during probe or resume from suspend to power up the device so initialization can be done, before the DAPM core takes over\&. .SH "COPYRIGHT" .br