1<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>struct i915_audio_component_ops</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Linux GPU Driver Developer's Guide"><link rel="up" href="ch04s02.html#id-1.4.3.4.10" title="High Definition Audio"><link rel="prev" href="API-i915-audio-component-cleanup.html" title="i915_audio_component_cleanup"><link rel="next" href="API-struct-i915-audio-component.html" title="struct i915_audio_component"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">struct i915_audio_component_ops</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-i915-audio-component-cleanup.html">Prev</a> </td><th width="60%" align="center">High Definition Audio</th><td width="20%" align="right"> <a accesskey="n" href="API-struct-i915-audio-component.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-i915-audio-component-ops"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct i915_audio_component_ops — 
2  callbacks defined in gfx driver
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
4struct i915_audio_component_ops {
5  struct module * owner;
6  void (* get_power) (struct device *);
7  void (* put_power) (struct device *);
8  void (* codec_wake_override) (struct device *, bool enable);
9  int (* get_cdclk_freq) (struct device *);
10  int (* sync_audio_rate) (struct device *, int port, int rate);
11};  </pre></div><div class="refsect1"><a name="id-1.4.3.4.10.12.5"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">owner</span></dt><dd><p>
12the module owner
13      </p></dd><dt><span class="term">get_power</span></dt><dd><p>
14get the POWER_DOMAIN_AUDIO power well
15      </p></dd><dt><span class="term">put_power</span></dt><dd><p>
16put the POWER_DOMAIN_AUDIO power well
17      </p></dd><dt><span class="term">codec_wake_override</span></dt><dd><p>
18Enable/Disable generating the codec wake signal
19      </p></dd><dt><span class="term">get_cdclk_freq</span></dt><dd><p>
20get the Core Display Clock in KHz
21      </p></dd><dt><span class="term">sync_audio_rate</span></dt><dd><p>
22set n/cts based on the sample rate
23      </p></dd></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-i915-audio-component-cleanup.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch04s02.html#id-1.4.3.4.10">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-struct-i915-audio-component.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">i915_audio_component_cleanup</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">struct i915_audio_component</span></td></tr></table></div></body></html>
24