|
XenevaOS
|
#include <drm_audio_component.h>
Public Attributes | |
| void * | audio_ptr |
| void(* | pin_eld_notify )(void *audio_ptr, int port, int pipe) |
| int(* | pin2port )(void *audio_ptr, int pin) |
| int(* | master_bind )(struct device *dev, struct drm_audio_component *) |
| void(* | master_unbind )(struct device *dev, struct drm_audio_component *) |
struct drm_audio_component_audio_ops - Ops implemented by hda driver, called by DRM driver
| void* drm_audio_component_audio_ops::audio_ptr |
@audio_ptr: Pointer to be used in call to pin_eld_notify
| int(* drm_audio_component_audio_ops::master_bind) (struct device *dev, struct drm_audio_component *) |
@master_bind: (Optional) component master bind callback
Called at binding master component, for HDA codec-specific handling of dynamic binding.
| void(* drm_audio_component_audio_ops::master_unbind) (struct device *dev, struct drm_audio_component *) |
@master_unbind: (Optional) component master unbind callback
Called at unbinding master component, for HDA codec-specific handling of dynamic unbinding.
| int(* drm_audio_component_audio_ops::pin2port) (void *audio_ptr, int pin) |
@pin2port: Check and convert from pin node to port number
Called by HDA driver to check and convert from the pin widget node number to a port number in the graphics side.
| void(* drm_audio_component_audio_ops::pin_eld_notify) (void *audio_ptr, int port, int pipe) |
@pin_eld_notify: Notify the HDA driver that pin sense and/or ELD information has changed
Called when the DRM driver has set up audio pipeline or has just begun to tear it down. This allows the HDA driver to update its status accordingly (even when the HDA controller is in power save mode).