Lines Matching refs:i2cst
1057 u8 i2cst = ioread8(bus->reg + NPCM_I2CST); in npcm_i2c_int_slave_handler() local
1060 if (NPCM_I2CST_NEGACK & i2cst) { in npcm_i2c_int_slave_handler()
1083 if (NPCM_I2CST_BER & i2cst) { in npcm_i2c_int_slave_handler()
1109 if (NPCM_I2CST_SLVSTP & i2cst) { in npcm_i2c_int_slave_handler()
1161 if (NPCM_I2CST_NMATCH & i2cst) { in npcm_i2c_int_slave_handler()
1171 if (NPCM_I2CST_XMIT & i2cst) { in npcm_i2c_int_slave_handler()
1230 if (NPCM_I2CST_XMIT & i2cst) in npcm_i2c_int_slave_handler()
1241 if ((NPCM_I2CST_SDAST & i2cst) || in npcm_i2c_int_slave_handler()
1569 static void npcm_i2c_irq_handle_sda(struct npcm_i2c *bus, u8 i2cst) in npcm_i2c_irq_handle_sda() argument
1633 if (NPCM_I2CST_XMIT & i2cst) { in npcm_i2c_irq_handle_sda()
1645 u8 i2cst; in npcm_i2c_int_master_handler() local
1648 i2cst = ioread8(bus->reg + NPCM_I2CST); in npcm_i2c_int_master_handler()
1650 if (FIELD_GET(NPCM_I2CST_NMATCH, i2cst)) { in npcm_i2c_int_master_handler()
1655 if (FIELD_GET(NPCM_I2CST_NEGACK, i2cst)) { in npcm_i2c_int_master_handler()
1661 if (FIELD_GET(NPCM_I2CST_BER, i2cst)) { in npcm_i2c_int_master_handler()
1676 if (FIELD_GET(NPCM_I2CST_STASTR, i2cst)) { in npcm_i2c_int_master_handler()
1682 if (FIELD_GET(NPCM_I2CST_SDAST, i2cst) || in npcm_i2c_int_master_handler()
1685 npcm_i2c_irq_handle_sda(bus, i2cst); in npcm_i2c_int_master_handler()