#define DSS_SUBSYS_NAME …
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/interrupt.h>
#include <linux/mutex.h>
#include <linux/delay.h>
#include <linux/platform_device.h>
#include <linux/string.h>
#include <linux/seq_file.h>
#include <linux/sys_soc.h>
#include <sound/asound.h>
#include <sound/asoundef.h>
#include "hdmi4_core.h"
#define HDMI_CORE_AV …
static inline void __iomem *hdmi_av_base(struct hdmi_core_data *core)
{ … }
int hdmi4_core_ddc_init(struct hdmi_core_data *core)
{ … }
int hdmi4_core_ddc_read(void *data, u8 *buf, unsigned int block, size_t len)
{ … }
static void hdmi_core_init(struct hdmi_core_video_config *video_cfg)
{ … }
void hdmi4_core_powerdown_disable(struct hdmi_core_data *core)
{ … }
static void hdmi_core_swreset_release(struct hdmi_core_data *core)
{ … }
static void hdmi_core_swreset_assert(struct hdmi_core_data *core)
{ … }
static void hdmi_core_video_config(struct hdmi_core_data *core,
struct hdmi_core_video_config *cfg)
{ … }
static void hdmi_core_write_avi_infoframe(struct hdmi_core_data *core,
struct hdmi_avi_infoframe *frame)
{ … }
static void hdmi_core_av_packet_config(struct hdmi_core_data *core,
struct hdmi_core_packet_enable_repeat repeat_cfg)
{ … }
void hdmi4_configure(struct hdmi_core_data *core,
struct hdmi_wp_data *wp, struct hdmi_config *cfg)
{ … }
void hdmi4_core_dump(struct hdmi_core_data *core, struct seq_file *s)
{ … }
static void hdmi_core_audio_config(struct hdmi_core_data *core,
struct hdmi_core_audio_config *cfg)
{ … }
static void hdmi_core_audio_infoframe_cfg(struct hdmi_core_data *core,
struct snd_cea_861_aud_if *info_aud)
{ … }
int hdmi4_audio_config(struct hdmi_core_data *core, struct hdmi_wp_data *wp,
struct omap_dss_audio *audio, u32 pclk)
{ … }
int hdmi4_audio_start(struct hdmi_core_data *core, struct hdmi_wp_data *wp)
{ … }
void hdmi4_audio_stop(struct hdmi_core_data *core, struct hdmi_wp_data *wp)
{ … }
struct hdmi4_features { … };
static const struct hdmi4_features hdmi4430_es1_features = …;
static const struct hdmi4_features hdmi4430_es2_features = …;
static const struct hdmi4_features hdmi4_features = …;
static const struct soc_device_attribute hdmi4_soc_devices[] = …;
int hdmi4_core_init(struct platform_device *pdev, struct hdmi_core_data *core)
{ … }