linux/drivers/i2c/busses/i2c-viai2c-common.c

// SPDX-License-Identifier: GPL-2.0-or-later
#include <linux/of_irq.h>
#include "i2c-viai2c-common.h"

int viai2c_wait_bus_not_busy(struct viai2c *i2c)
{}
EXPORT_SYMBOL_GPL();

static int viai2c_write(struct viai2c *i2c, struct i2c_msg *pmsg, int last)
{}

static int viai2c_read(struct viai2c *i2c, struct i2c_msg *pmsg, bool first)
{}

int viai2c_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[], int num)
{}
EXPORT_SYMBOL_GPL();

/*
 * Main process of the byte mode xfer
 *
 * Return value indicates whether the transfer is complete
 *  1: all the data has been successfully transferred
 *  0: there is still data that needs to be transferred
 *  -EIO: error occurred
 */
int viai2c_irq_xfer(struct viai2c *i2c)
{}
EXPORT_SYMBOL_GPL();

int viai2c_init(struct platform_device *pdev, struct viai2c **pi2c, int plat)
{}
EXPORT_SYMBOL_GPL();

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