linux/drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.h
<<
>>
Prefs
   1#ifndef DW_HDMI_CEC_H
   2#define DW_HDMI_CEC_H
   3
   4struct dw_hdmi;
   5
   6struct 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
  13struct dw_hdmi_cec_data {
  14        struct dw_hdmi *hdmi;
  15        const struct dw_hdmi_cec_ops *ops;
  16        int irq;
  17};
  18
  19#endif
  20