Lines Matching refs:i2cctl1
574 u8 i2cctl1; in npcm_i2c_slave_int_enable() local
577 i2cctl1 = ioread8(bus->reg + NPCM_I2CCTL1); in npcm_i2c_slave_int_enable()
578 i2cctl1 &= ~NPCM_I2CCTL1_RWS; in npcm_i2c_slave_int_enable()
580 i2cctl1 |= NPCM_I2CCTL1_NMINTE; in npcm_i2c_slave_int_enable()
582 i2cctl1 &= ~NPCM_I2CCTL1_NMINTE; in npcm_i2c_slave_int_enable()
583 iowrite8(i2cctl1, bus->reg + NPCM_I2CCTL1); in npcm_i2c_slave_int_enable()
589 u8 i2cctl1; in npcm_i2c_slave_enable() local
595 i2cctl1 = ioread8(bus->reg + NPCM_I2CCTL1); in npcm_i2c_slave_enable()
597 i2cctl1 |= NPCM_I2CCTL1_GCMEN; in npcm_i2c_slave_enable()
599 i2cctl1 &= ~NPCM_I2CCTL1_GCMEN; in npcm_i2c_slave_enable()
600 iowrite8(i2cctl1, bus->reg + NPCM_I2CCTL1); in npcm_i2c_slave_enable()
631 u8 i2cctl1; in npcm_i2c_reset() local
636 i2cctl1 = ioread8(bus->reg + NPCM_I2CCTL1); in npcm_i2c_reset()
642 i2cctl1 &= ~NPCM_I2CCTL1_RWS; in npcm_i2c_reset()
643 iowrite8(i2cctl1, bus->reg + NPCM_I2CCTL1); in npcm_i2c_reset()