'\" t .\" Title: snd_soc_dapm_to_codec .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: ASoC .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "SND_SOC_DAPM_TO_CODE" "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_to_codec \- Casts a DAPM context to the CODEC it is embedded in .SH "SYNOPSIS" .HP \w'struct\ snd_soc_codec\ *\ snd_soc_dapm_to_codec('u .BI "struct snd_soc_codec * snd_soc_dapm_to_codec(struct\ snd_soc_dapm_context\ *\ " "dapm" ");" .SH "ARGUMENTS" .PP \fIdapm\fR .RS 4 The DAPM context to cast to the CODEC .RE .SH "DESCRIPTION" .PP This function must only be used on DAPM contexts that are known to be part of a CODEC (e\&.g\&. in a CODEC driver)\&. Otherwise the behavior is undefined\&. .SH "COPYRIGHT" .br