/* @twsi: The MVTWSI register structure to use. @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_start(struct mvtwsi_registers *twsi, int expected_status, uint tick)
/* @twsi: The MVTWSI register structure to use. @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_start(struct mvtwsi_registers *twsi, int expected_status, uint tick)
{
	writel(MVTWSI_CONTROL_TWSIEN | MVTWSI_CONTROL_START |
	       MVTWSI_CONTROL_CLEAR_IFLG, &twsi->control);
	return twsi_wait(twsi, expected_status, tick);
}