linux/drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Designware HDMI CEC driver
 *
 * Copyright (C) 2015-2017 Russell King.
 */
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/sched.h>
#include <linux/slab.h>

#include <drm/drm_edid.h>

#include <media/cec.h>
#include <media/cec-notifier.h>

#include "dw-hdmi-cec.h"

enum {};

struct dw_hdmi_cec {};

static void dw_hdmi_write(struct dw_hdmi_cec *cec, u8 val, int offset)
{}

static u8 dw_hdmi_read(struct dw_hdmi_cec *cec, int offset)
{}

static int dw_hdmi_cec_log_addr(struct cec_adapter *adap, u8 logical_addr)
{}

static int dw_hdmi_cec_transmit(struct cec_adapter *adap, u8 attempts,
				u32 signal_free_time, struct cec_msg *msg)
{}

static irqreturn_t dw_hdmi_cec_hardirq(int irq, void *data)
{}

static irqreturn_t dw_hdmi_cec_thread(int irq, void *data)
{}

static int dw_hdmi_cec_enable(struct cec_adapter *adap, bool enable)
{}

static const struct cec_adap_ops dw_hdmi_cec_ops =;

static void dw_hdmi_cec_del(void *data)
{}

static int dw_hdmi_cec_probe(struct platform_device *pdev)
{}

static void dw_hdmi_cec_remove(struct platform_device *pdev)
{}

static int __maybe_unused dw_hdmi_cec_resume(struct device *dev)
{}

static int __maybe_unused dw_hdmi_cec_suspend(struct device *dev)
{}

static const struct dev_pm_ops dw_hdmi_cec_pm =;

static struct platform_driver dw_hdmi_cec_driver =;
module_platform_driver();

MODULE_AUTHOR();
MODULE_DESCRIPTION();
MODULE_LICENSE();
MODULE_ALIAS();