#include "hdmi.h"
struct hdmi_i2c_adapter { … };
#define to_hdmi_i2c_adapter(x) …
static void init_ddc(struct hdmi_i2c_adapter *hdmi_i2c)
{ … }
static int ddc_clear_irq(struct hdmi_i2c_adapter *hdmi_i2c)
{ … }
#define MAX_TRANSACTIONS …
static bool sw_done(struct hdmi_i2c_adapter *hdmi_i2c)
{ … }
static int msm_hdmi_i2c_xfer(struct i2c_adapter *i2c,
struct i2c_msg *msgs, int num)
{ … }
static u32 msm_hdmi_i2c_func(struct i2c_adapter *adapter)
{ … }
static const struct i2c_algorithm msm_hdmi_i2c_algorithm = …;
void msm_hdmi_i2c_irq(struct i2c_adapter *i2c)
{ … }
void msm_hdmi_i2c_destroy(struct i2c_adapter *i2c)
{ … }
struct i2c_adapter *msm_hdmi_i2c_init(struct hdmi *hdmi)
{ … }