Lines Matching refs:mcs
480 uint32_t mcs; member
506 return s->mcs | STELLARIS_I2C_MCS_IDLE; in stellaris_i2c_read()
549 if ((value & 2) && (s->mcs & STELLARIS_I2C_MCS_BUSBSY) == 0) { in stellaris_i2c_write()
551 s->mcs |= STELLARIS_I2C_MCS_ARBLST; in stellaris_i2c_write()
553 s->mcs &= ~STELLARIS_I2C_MCS_ARBLST; in stellaris_i2c_write()
554 s->mcs |= STELLARIS_I2C_MCS_BUSBSY; in stellaris_i2c_write()
559 || (s->mcs & STELLARIS_I2C_MCS_BUSBSY) == 0) { in stellaris_i2c_write()
560 s->mcs |= STELLARIS_I2C_MCS_ERROR; in stellaris_i2c_write()
563 s->mcs &= ~STELLARIS_I2C_MCS_ERROR; in stellaris_i2c_write()
580 s->mcs &= ~STELLARIS_I2C_MCS_BUSBSY; in stellaris_i2c_write()
617 if (s->mcs & STELLARIS_I2C_MCS_BUSBSY) in stellaris_i2c_reset_enter()
626 s->mcs = 0; in stellaris_i2c_reset_hold()
653 VMSTATE_UINT32(mcs, stellaris_i2c_state),