Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 0477e92881850d44910a7e94fc2c46f96faa131f authored by Linus Torvalds on 06 December 2020, 22:25:12 UTC
Linux 5.10-rc7
Tip revision: 0477e92
dw-hdmi-cec.h
#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
back to top