Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 9e0babf2c06c73cda2c0cd37a1653d823adb40ec authored by Linus Torvalds on 16 June 2019, 18:49:45 UTC
Linux 5.2-rc5
Tip revision: 9e0babf
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