Searched refs:NPCX_I2C_FLAG_TARGET (Results 1 – 1 of 1) sorted by relevance
116 NPCX_I2C_FLAG_TARGET, enumerator873 if (atomic_test_bit(&data->flags, NPCX_I2C_FLAG_TARGET)) { in i2c_ctrl_isr()1082 if (atomic_test_and_set_bit(&data->flags, NPCX_I2C_FLAG_TARGET)) { in npcx_i2c_ctrl_target_register()1088 atomic_clear_bit(&data->flags, NPCX_I2C_FLAG_TARGET); in npcx_i2c_ctrl_target_register()1120 if (!atomic_test_bit(&data->flags, NPCX_I2C_FLAG_TARGET)) { in npcx_i2c_ctrl_target_unregister()1145 atomic_clear_bit(&data->flags, NPCX_I2C_FLAG_TARGET); in npcx_i2c_ctrl_target_unregister()1160 if (atomic_test_bit(&data->flags, NPCX_I2C_FLAG_TARGET)) { in npcx_i2c_ctrl_transfer()