1 #ifndef LINUX_HDMI_NOTIFIER_H
2 #define LINUX_HDMI_NOTIFIER_H
4 #include <linux/types.h>
13 struct hdmi_event_base {
14 struct device *source;
17 struct hdmi_event_new_edid {
18 struct hdmi_event_base base;
23 struct hdmi_event_new_eld {
24 struct hdmi_event_base base;
25 unsigned char eld[128];
29 struct hdmi_event_base base;
30 struct hdmi_event_new_edid edid;
31 struct hdmi_event_new_eld eld;
34 struct notifier_block;
36 int hdmi_register_notifier(struct notifier_block *nb);
37 int hdmi_unregister_notifier(struct notifier_block *nb);
39 void hdmi_event_connect(struct device *dev);
40 void hdmi_event_disconnect(struct device *dev);
41 void hdmi_event_new_edid(struct device *dev, const void *edid, size_t size);
42 void hdmi_event_new_eld(struct device *dev, const void *eld);