1 #ifndef DW_HDMI_CEC_H 2 #define DW_HDMI_CEC_H 3 4 struct dw_hdmi; 5 6 struct dw_hdmi_cec_ops { 7 void (*write)(struct dw_hdmi *hdmi, u8 val, int offset); 8 u8 (*read)(struct dw_hdmi *hdmi, int offset); 9 void (*enable)(struct dw_hdmi *hdmi); 10 void (*disable)(struct dw_hdmi *hdmi); 11 }; 12 13 struct dw_hdmi_cec_data { 14 struct dw_hdmi *hdmi; 15 const struct dw_hdmi_cec_ops *ops; 16 int irq; 17 }; 18 19 #endif