Lines Matching refs:PCH_I2CSR
29 #define PCH_I2CSR 0x08 /* I2C status register */ macro
265 while (ioread32(p + PCH_I2CSR) & I2CMBB_BIT) { in pch_i2c_wait_for_bus_idle()
267 pch_dbg(adap, "I2CSR = %x\n", ioread32(p + PCH_I2CSR)); in pch_i2c_wait_for_bus_idle()
331 pch_clrbit(adap->pch_base_address, PCH_I2CSR, I2CMAL_BIT); in pch_i2c_wait_for_check_xfer()
332 pch_clrbit(adap->pch_base_address, PCH_I2CSR, I2CMIF_BIT); in pch_i2c_wait_for_check_xfer()
339 if (ioread32(p + PCH_I2CSR) & PCH_GETACK) { in pch_i2c_wait_for_check_xfer()
428 pch_clrbit(adap->pch_base_address, PCH_I2CSR, I2CMCF_BIT); in pch_i2c_writebytes()
429 pch_clrbit(adap->pch_base_address, PCH_I2CSR, I2CMIF_BIT); in pch_i2c_writebytes()
599 sts = ioread32(p + PCH_I2CSR); in pch_i2c_cb()
608 pch_clrbit(adap->pch_base_address, PCH_I2CSR, sts); in pch_i2c_cb()
610 pch_dbg(adap, "PCH_I2CSR = %x\n", ioread32(p + PCH_I2CSR)); in pch_i2c_cb()
638 reg_val = ioread32(p + PCH_I2CSR); in pch_i2c_handler()
872 ioread32(p + PCH_I2CSR), ioread32(p + PCH_I2CBUFSTA), in pch_i2c_suspend()