WIP FPC-III support
[linux/fpc-iii.git] / drivers / gpu / drm / bridge / synopsys / dw-hdmi-cec.h
blobcf4dc121a2c43cb805ad7bd27edc68a515b1b1e6
1 #ifndef DW_HDMI_CEC_H
2 #define DW_HDMI_CEC_H
4 struct dw_hdmi;
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);
13 struct dw_hdmi_cec_data {
14 struct dw_hdmi *hdmi;
15 const struct dw_hdmi_cec_ops *ops;
16 int irq;
19 #endif