You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
381 B
20 lines
381 B
8 years ago
|
#ifndef DW_HDMI_CEC_H
|
||
|
#define DW_HDMI_CEC_H
|
||
|
|
||
|
struct dw_hdmi;
|
||
|
|
||
|
struct dw_hdmi_cec_ops {
|
||
|
void (*write)(struct dw_hdmi *hdmi, u8 val, int offset);
|
||
|
u8 (*read)(struct dw_hdmi *hdmi, int offset);
|
||
|
void (*enable)(struct dw_hdmi *hdmi);
|
||
|
void (*disable)(struct dw_hdmi *hdmi);
|
||
|
};
|
||
|
|
||
|
struct dw_hdmi_cec_data {
|
||
|
struct dw_hdmi *hdmi;
|
||
|
const struct dw_hdmi_cec_ops *ops;
|
||
|
int irq;
|
||
|
};
|
||
|
|
||
|
#endif
|