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

#include <drm_connector.h>

Collaboration diagram for drm_connector_hdmi_audio:
Collaboration graph
[legend]

Public Attributes

const struct drm_connector_hdmi_audio_funcs * funcs
 
struct platform_device * codec_pdev
 
struct mutex lock
 
void(* plugged_cb )(struct device *dev, bool plugged)
 
struct device * plugged_cb_dev
 
bool last_state
 
int dai_port
 

Detailed Description

struct drm_connector_hdmi_audio - DRM gemeric HDMI Codec-related structure

HDMI drivers usually incorporate a HDMI Codec. This structure expresses the generic HDMI Codec as used by the DRM HDMI Codec framework.

Member Data Documentation

◆ codec_pdev

struct platform_device* drm_connector_hdmi_audio::codec_pdev

@codec_pdev:

Platform device created to hold the HDMI Codec. It will be automatically unregistered during drm_connector_cleanup().

◆ dai_port

int drm_connector_hdmi_audio::dai_port

@dai_port:

The port in DT that is used for the Codec DAI.

◆ funcs

const struct drm_connector_hdmi_audio_funcs* drm_connector_hdmi_audio::funcs

@funcs:

Implementation of the HDMI codec functionality to be used by the DRM HDMI Codec framework.

◆ last_state

bool drm_connector_hdmi_audio::last_state

@last_state:

Last plugged state recored by the framework. It is used to correctly report the state to @plugged_cb().

◆ lock

struct mutex drm_connector_hdmi_audio::lock

@lock:

Mutex to protect @last_state, @plugged_cb and @plugged_cb_dev.

◆ plugged_cb

void(* drm_connector_hdmi_audio::plugged_cb) (struct device *dev, bool plugged)

@plugged_cb:

Callback to be called when the HDMI sink get plugged to or unplugged from this connector. This is assigned by the framework when requested by the ASoC code.

◆ plugged_cb_dev

struct device* drm_connector_hdmi_audio::plugged_cb_dev

@plugged_cb_dev:

The data for @plugged_cb(). It is being provided by the ASoC.


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