Lines Matching refs:slave_state
167 enum aspeed_i2c_slave_state slave_state; member
257 bus->slave_state = ASPEED_I2C_SLAVE_START; in aspeed_i2c_slave_irq()
261 if (bus->slave_state == ASPEED_I2C_SLAVE_INACTIVE) in aspeed_i2c_slave_irq()
271 if (bus->slave_state == ASPEED_I2C_SLAVE_START) { in aspeed_i2c_slave_irq()
273 bus->slave_state = in aspeed_i2c_slave_irq()
276 bus->slave_state = in aspeed_i2c_slave_irq()
285 bus->slave_state = ASPEED_I2C_SLAVE_STOP; in aspeed_i2c_slave_irq()
288 bus->slave_state == ASPEED_I2C_SLAVE_READ_PROCESSED) { in aspeed_i2c_slave_irq()
290 bus->slave_state = ASPEED_I2C_SLAVE_STOP; in aspeed_i2c_slave_irq()
293 switch (bus->slave_state) { in aspeed_i2c_slave_irq()
297 bus->slave_state = ASPEED_I2C_SLAVE_READ_PROCESSED; in aspeed_i2c_slave_irq()
314 bus->slave_state = ASPEED_I2C_SLAVE_WRITE_RECEIVED; in aspeed_i2c_slave_irq()
328 bus->slave_state = ASPEED_I2C_SLAVE_INACTIVE; in aspeed_i2c_slave_irq()
335 bus->slave_state); in aspeed_i2c_slave_irq()
336 bus->slave_state = ASPEED_I2C_SLAVE_INACTIVE; in aspeed_i2c_slave_irq()
357 if (bus->slave_state != ASPEED_I2C_SLAVE_INACTIVE) { in aspeed_i2c_do_start()
643 bus->slave_state == ASPEED_I2C_SLAVE_INACTIVE) in aspeed_i2c_bus_irq()
765 bus->slave_state = ASPEED_I2C_SLAVE_INACTIVE; in aspeed_i2c_reg_slave()