dw-hdmi-cec.h 381 B

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