#include <linux/export.h>
#include <linux/platform_device.h>
#include <linux/string.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/list.h>
#include <linux/kref.h>
#include <linux/of_platform.h>
#include <media/cec.h>
#include <media/cec-notifier.h>
#include <drm/drm_edid.h>
struct cec_notifier { … };
static LIST_HEAD(cec_notifiers);
static DEFINE_MUTEX(cec_notifiers_lock);
static struct cec_notifier *
cec_notifier_get_conn(struct device *hdmi_dev, const char *port_name)
{ … }
static void cec_notifier_release(struct kref *kref)
{ … }
static void cec_notifier_put(struct cec_notifier *n)
{ … }
struct cec_notifier *
cec_notifier_conn_register(struct device *hdmi_dev, const char *port_name,
const struct cec_connector_info *conn_info)
{ … }
EXPORT_SYMBOL_GPL(…);
void cec_notifier_conn_unregister(struct cec_notifier *n)
{ … }
EXPORT_SYMBOL_GPL(…);
struct cec_notifier *
cec_notifier_cec_adap_register(struct device *hdmi_dev, const char *port_name,
struct cec_adapter *adap)
{ … }
EXPORT_SYMBOL_GPL(…);
void cec_notifier_cec_adap_unregister(struct cec_notifier *n,
struct cec_adapter *adap)
{ … }
EXPORT_SYMBOL_GPL(…);
void cec_notifier_set_phys_addr(struct cec_notifier *n, u16 pa)
{ … }
EXPORT_SYMBOL_GPL(…);
void cec_notifier_set_phys_addr_from_edid(struct cec_notifier *n,
const struct edid *edid)
{ … }
EXPORT_SYMBOL_GPL(…);
struct device *cec_notifier_parse_hdmi_phandle(struct device *dev)
{ … }
EXPORT_SYMBOL_GPL(…);