linux/drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Copyright (C) 2016 Maxime Ripard <[email protected]>
 * Copyright (C) 2017 Jonathan Liu <[email protected]>
 */

#include <linux/clk.h>
#include <linux/i2c.h>
#include <linux/iopoll.h>

#include "sun4i_hdmi.h"

#define SUN4I_HDMI_DDC_INT_STATUS_ERROR_MASK

/* FIFO request bit is set when FIFO level is above RX_THRESHOLD during read */
#define RX_THRESHOLD

static int fifo_transfer(struct sun4i_hdmi *hdmi, u8 *buf, int len, bool read)
{}

static int xfer_msg(struct sun4i_hdmi *hdmi, struct i2c_msg *msg)
{}

static int sun4i_hdmi_i2c_xfer(struct i2c_adapter *adap,
			       struct i2c_msg *msgs, int num)
{}

static u32 sun4i_hdmi_i2c_func(struct i2c_adapter *adap)
{}

static const struct i2c_algorithm sun4i_hdmi_i2c_algorithm =;

static int sun4i_hdmi_init_regmap_fields(struct sun4i_hdmi *hdmi)
{}

int sun4i_hdmi_i2c_create(struct device *dev, struct sun4i_hdmi *hdmi)
{}