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

#include <drm_connector.h>

Public Attributes

int(* startup )(struct drm_connector *connector)
 
int(* prepare )(struct drm_connector *connector, struct hdmi_codec_daifmt *fmt, struct hdmi_codec_params *hparms)
 
void(* shutdown )(struct drm_connector *connector)
 
int(* mute_stream )(struct drm_connector *connector, bool enable, int direction)
 

Member Data Documentation

◆ mute_stream

int(* drm_connector_hdmi_audio_funcs::mute_stream) (struct drm_connector *connector, bool enable, int direction)

@mute_stream:

Mute/unmute HDMI audio stream. The @mute_stream callback is optional.

Returns: 0 on success, a negative error code otherwise

◆ prepare

int(* drm_connector_hdmi_audio_funcs::prepare) (struct drm_connector *connector, struct hdmi_codec_daifmt *fmt, struct hdmi_codec_params *hparms)

@prepare: Configures HDMI-encoder for audio stream. Can be called multiple times for each setup. Mandatory.

Returns: 0 on success, a negative error code otherwise

◆ shutdown

void(* drm_connector_hdmi_audio_funcs::shutdown) (struct drm_connector *connector)

@shutdown:

Shut down the audio stream. Mandatory.

Returns: 0 on success, a negative error code otherwise

◆ startup

int(* drm_connector_hdmi_audio_funcs::startup) (struct drm_connector *connector)

@startup:

Called when ASoC starts an audio stream setup. The @startup() is optional.

Returns: 0 on success, a negative error code otherwise


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