Searched refs:i2c_stat (Results 1 – 1 of 1) sorted by relevance
1243 int i2c_stat; in stb0899_i2c_gate_ctrl() local1246 i2c_stat = stb0899_read_reg(state, STB0899_I2CRPT); in stb0899_i2c_gate_ctrl()1247 if (i2c_stat < 0) in stb0899_i2c_gate_ctrl()1252 i2c_stat |= STB0899_I2CTON; in stb0899_i2c_gate_ctrl()1253 if (stb0899_write_reg(state, STB0899_I2CRPT, i2c_stat) < 0) in stb0899_i2c_gate_ctrl()1257 i2c_stat &= ~STB0899_I2CTON; in stb0899_i2c_gate_ctrl()1258 if (stb0899_write_reg(state, STB0899_I2CRPT, i2c_stat) < 0) in stb0899_i2c_gate_ctrl()