Name

struct i915_audio_component_ops — callbacks defined in gfx driver

Synopsis

struct i915_audio_component_ops {
  struct module * owner;
  void (* get_power) (struct device *);
  void (* put_power) (struct device *);
  void (* codec_wake_override) (struct device *, bool enable);
  int (* get_cdclk_freq) (struct device *);
  int (* sync_audio_rate) (struct device *, int port, int rate);
};  

Members

owner

the module owner

get_power

get the POWER_DOMAIN_AUDIO power well

put_power

put the POWER_DOMAIN_AUDIO power well

codec_wake_override

Enable/Disable generating the codec wake signal

get_cdclk_freq

get the Core Display Clock in KHz

sync_audio_rate

set n/cts based on the sample rate