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