Lines Matching refs:PCH_I2CDR
30 #define PCH_I2CDR 0x0C /* I2C data register */ macro
397 iowrite32(addr_2_msb | TEN_BIT_ADDR_MASK, p + PCH_I2CDR); in pch_i2c_writebytes()
406 iowrite32(addr_8_lsb, p + PCH_I2CDR); in pch_i2c_writebytes()
409 iowrite32(i2c_8bit_addr_from_msg(msgs), p + PCH_I2CDR); in pch_i2c_writebytes()
420 iowrite32(buf[wrcount], p + PCH_I2CDR); in pch_i2c_writebytes()
512 iowrite32(addr_2_msb | TEN_BIT_ADDR_MASK, p + PCH_I2CDR); in pch_i2c_readbytes()
521 iowrite32(addr_8_lsb, p + PCH_I2CDR); in pch_i2c_readbytes()
530 iowrite32(addr_2_msb | TEN_BIT_ADDR_MASK, p + PCH_I2CDR); in pch_i2c_readbytes()
533 iowrite32(i2c_8bit_addr_from_msg(msgs), p + PCH_I2CDR); in pch_i2c_readbytes()
546 ioread32(p + PCH_I2CDR); /* Dummy read needs */ in pch_i2c_readbytes()
556 buf[read_index] = ioread32(p + PCH_I2CDR); in pch_i2c_readbytes()
568 buf[read_index] = ioread32(p + PCH_I2CDR); /* Read final - 1 */ in pch_i2c_readbytes()
582 buf[read_index++] = ioread32(p + PCH_I2CDR); /* Read Final */ in pch_i2c_readbytes()