Debian Codegraph @

include/drm/display/drm_hdmi_audio_helper.h

raw
1 /* SPDX-License-Identifier: MIT */
2
3 #ifndef DRM_DISPLAY_HDMI_AUDIO_HELPER_H_
4 #define DRM_DISPLAY_HDMI_AUDIO_HELPER_H_
5
6 #include <linux/types.h>
7
8 struct drm_connector;
9 struct drm_connector_hdmi_audio_funcs;
10
11 struct device;
12
13 int drm_connector_hdmi_audio_init(struct drm_connector *connector,
14 struct device *hdmi_codec_dev,
15 const struct drm_connector_hdmi_audio_funcs *funcs,
16 unsigned int max_i2s_playback_channels,
17 u64 i2s_formats,
18 bool spdif_playback,
19 int sound_dai_port);
20 void drm_connector_hdmi_audio_plugged_notify(struct drm_connector *connector,
21 bool plugged);
22
23 #endif