Searched refs:i2c_sta (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/i2c/busses/
H A Di2c-jz4780.c504 unsigned short i2c_sta; jz4780_i2c_irq() local
506 i2c_sta = jz4780_i2c_readw(i2c, JZ4780_I2C_STA); jz4780_i2c_irq()
508 while ((i2c_sta & JZ4780_I2C_STA_TFNF) && jz4780_i2c_irq()
510 i2c_sta = jz4780_i2c_readw(i2c, JZ4780_I2C_STA); jz4780_i2c_irq()
652 unsigned short i2c_sta; jz4780_i2c_xfer_write() local
657 i2c_sta = jz4780_i2c_readw(i2c, JZ4780_I2C_STA); jz4780_i2c_xfer_write()
659 write_in_process = (i2c_sta & JZ4780_I2C_STA_MSTACT) || jz4780_i2c_xfer_write()
660 !(i2c_sta & JZ4780_I2C_STA_TFE); jz4780_i2c_xfer_write()

Completed in 51 milliseconds