Lines Matching refs:xfr_flags
242 if (dw->xfr_flags & I2C_MSG_RESTART) { in i2c_dw_data_ask()
244 dw->xfr_flags &= ~(I2C_MSG_RESTART); in i2c_dw_data_ask()
248 if ((dw->xfr_flags & I2C_MSG_STOP) && (dw->request_bytes == 1U)) { in i2c_dw_data_ask()
315 if (dw->xfr_flags & I2C_MSG_RESTART) { in i2c_dw_data_send()
317 dw->xfr_flags &= ~(I2C_MSG_RESTART); in i2c_dw_data_send()
321 if ((dw->xfr_len == 1U) && (dw->xfr_flags & I2C_MSG_STOP)) { in i2c_dw_data_send()
417 if ((dw->xfr_flags & I2C_MSG_RW_MASK) == I2C_MSG_READ) { in i2c_dw_isr()
423 if ((dw->xfr_flags & I2C_MSG_RW_MASK) == I2C_MSG_WRITE) { in i2c_dw_isr()
432 if (((dw->xfr_len == 0U) && !(dw->xfr_flags & I2C_MSG_STOP)) || in i2c_dw_isr()
675 pflags = dw->xfr_flags; in i2c_dw_transfer()
679 dw->xfr_flags = cur_msg->flags; in i2c_dw_transfer()
683 if ((pflags & I2C_MSG_RW_MASK) != (dw->xfr_flags & I2C_MSG_RW_MASK)) { in i2c_dw_transfer()
684 dw->xfr_flags |= I2C_MSG_RESTART; in i2c_dw_transfer()
689 if ((dw->xfr_flags & I2C_MSG_RW_MASK) == I2C_MSG_WRITE) { in i2c_dw_transfer()