/* @twsi: The MVTWSI register structure to use. @byte: The byte to send. @expected_status: The I2C bus status expected to be asserted after the operation completion. @tick: The duration of a clock cycle at the current I2C speed.  */
static int twsi_send(struct mvtwsi_registers *twsi, u8 byte, int expected_status, uint tick)
/* @twsi: The MVTWSI register structure to use. @byte: The byte to send. @expected_status: The I2C bus status expected to be asserted after the operation completion. @tick: The duration of a clock cycle at the current I2C speed.  */
static int twsi_send(struct mvtwsi_registers *twsi, u8 byte, int expected_status, uint tick)
{
	writel(byte, &twsi->data);
	writel(MVTWSI_CONTROL_TWSIEN | MVTWSI_CONTROL_CLEAR_IFLG,
	       &twsi->control);
	return twsi_wait(twsi, expected_status, tick);
}