Lines Matching refs:driver_state
88 dev_data->driver_state = I2C_DRV_INIT; in i2c_atciic100_default_control()
141 dev_data->driver_state |= I2C_DRV_CFG_PARAM; in i2c_atciic100_configure()
229 dev_data->driver_state = I2C_DRV_CONTROLLER_TX; in i2c_atciic100_controller_send()
339 dev_data->driver_state = I2C_DRV_CONTROLLER_RX; in i2c_atciic100_controller_receive()
498 if (dev_data->driver_state & I2C_DRV_CONTROLLER_TX) { in i2c_fifo_empty_handler()
507 if (dev_data->driver_state & I2C_DRV_CONTROLLER_RX) { in i2c_fifo_full_handler()
527 if (dev_data->driver_state & in i2c_cmpl_handler()
533 if (dev_data->driver_state & I2C_DRV_CONTROLLER_TX) { in i2c_cmpl_handler()
535 dev_data->driver_state = I2C_DRV_CONTROLLER_TX_CMPL; in i2c_cmpl_handler()
538 if (dev_data->driver_state & I2C_DRV_CONTROLLER_RX) { in i2c_cmpl_handler()
541 dev_data->driver_state = I2C_DRV_CONTROLLER_RX_CMPL; in i2c_cmpl_handler()
548 if (dev_data->driver_state & (I2C_DRV_TARGET_TX | I2C_DRV_TARGET_RX)) { in i2c_cmpl_handler()
552 if (dev_data->driver_state & I2C_DRV_TARGET_TX) { in i2c_cmpl_handler()
553 dev_data->driver_state = I2C_DRV_TARGET_TX_CMPL; in i2c_cmpl_handler()
556 if (dev_data->driver_state & I2C_DRV_TARGET_RX) { in i2c_cmpl_handler()
557 dev_data->driver_state = I2C_DRV_TARGET_RX_CMPL; in i2c_cmpl_handler()
585 dev_data->driver_state = I2C_DRV_INIT; in i2c_cmpl_handler()
611 dev_data->driver_state = I2C_DRV_TARGET_TX; in andes_i2c_target_event()
618 dev_data->driver_state = I2C_DRV_TARGET_RX; in andes_i2c_target_event()