0001
0002 #ifndef DW_HDMI_AUDIO_H
0003 #define DW_HDMI_AUDIO_H
0004
0005 struct dw_hdmi;
0006
0007 struct dw_hdmi_audio_data {
0008 phys_addr_t phys;
0009 void __iomem *base;
0010 int irq;
0011 struct dw_hdmi *hdmi;
0012 u8 *(*get_eld)(struct dw_hdmi *hdmi);
0013 };
0014
0015 struct dw_hdmi_i2s_audio_data {
0016 struct dw_hdmi *hdmi;
0017
0018 void (*write)(struct dw_hdmi *hdmi, u8 val, int offset);
0019 u8 (*read)(struct dw_hdmi *hdmi, int offset);
0020 u8 *(*get_eld)(struct dw_hdmi *hdmi);
0021 };
0022
0023 #endif