Home
last modified time | relevance | path

Searched refs:i2c_stat (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/drivers/i2c/busses/
Di2c-sirf.c143 u32 i2c_stat = readl(siic->base + SIRFSOC_I2C_STATUS); in i2c_sirfsoc_irq() local
145 if (i2c_stat & SIRFSOC_I2C_STAT_ERR) { in i2c_sirfsoc_irq()
150 if (i2c_stat & SIRFSOC_I2C_STAT_NACK) in i2c_sirfsoc_irq()
166 } else if (i2c_stat & SIRFSOC_I2C_STAT_CMD_DONE) { in i2c_sirfsoc_irq()
/linux-4.19.296/drivers/media/dvb-frontends/
Dstb0899_drv.c1236 int i2c_stat; in stb0899_i2c_gate_ctrl() local
1239 i2c_stat = stb0899_read_reg(state, STB0899_I2CRPT); in stb0899_i2c_gate_ctrl()
1240 if (i2c_stat < 0) in stb0899_i2c_gate_ctrl()
1245 i2c_stat |= STB0899_I2CTON; in stb0899_i2c_gate_ctrl()
1246 if (stb0899_write_reg(state, STB0899_I2CRPT, i2c_stat) < 0) in stb0899_i2c_gate_ctrl()
1250 i2c_stat &= ~STB0899_I2CTON; in stb0899_i2c_gate_ctrl()
1251 if (stb0899_write_reg(state, STB0899_I2CRPT, i2c_stat) < 0) in stb0899_i2c_gate_ctrl()