XenevaOS
Loading...
Searching...
No Matches
Public Attributes | List of all members
drm_audio_component_audio_ops Struct Reference

#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 *)
 

Detailed Description

struct drm_audio_component_audio_ops - Ops implemented by hda driver, called by DRM driver

Member Data Documentation

◆ audio_ptr

void* drm_audio_component_audio_ops::audio_ptr

@audio_ptr: Pointer to be used in call to pin_eld_notify

◆ master_bind

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.

◆ master_unbind

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.

◆ pin2port

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.

◆ pin_eld_notify

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).


The documentation for this struct was generated from the following file: