Lines Matching refs:master_state
145 enum aspeed_i2c_master_state master_state; member
339 bus->master_state = ASPEED_I2C_MASTER_START; in aspeed_i2c_do_start()
356 bus->master_state = ASPEED_I2C_MASTER_STOP; in aspeed_i2c_do_stop()
396 bus->master_state = ASPEED_I2C_MASTER_INACTIVE; in aspeed_i2c_master_irq()
411 bus->master_state = ASPEED_I2C_MASTER_INACTIVE; in aspeed_i2c_master_irq()
419 if (bus->master_state != ASPEED_I2C_MASTER_STOP) in aspeed_i2c_master_irq()
430 if (bus->master_state == ASPEED_I2C_MASTER_START) { in aspeed_i2c_master_irq()
444 bus->master_state = ASPEED_I2C_MASTER_RX_FIRST; in aspeed_i2c_master_irq()
446 bus->master_state = ASPEED_I2C_MASTER_TX_FIRST; in aspeed_i2c_master_irq()
449 switch (bus->master_state) { in aspeed_i2c_master_irq()
463 bus->master_state = ASPEED_I2C_MASTER_TX; in aspeed_i2c_master_irq()
499 bus->master_state = ASPEED_I2C_MASTER_RX; in aspeed_i2c_master_irq()
517 bus->master_state = ASPEED_I2C_MASTER_INACTIVE; in aspeed_i2c_master_irq()
528 bus->master_state = ASPEED_I2C_MASTER_INACTIVE; in aspeed_i2c_master_irq()