Searched refs:CDNS_I2C_CR_OFFSET (Results 1 – 1 of 1) sorted by relevance
21 #define CDNS_I2C_CR_OFFSET 0x00 /* Control Register, RW */ macro235 u32 reg = cdns_i2c_readreg(CDNS_I2C_CR_OFFSET); in cdns_i2c_clear_bus_hold()237 cdns_i2c_writereg(reg & ~CDNS_I2C_CR_HOLD, CDNS_I2C_CR_OFFSET); in cdns_i2c_clear_bus_hold()253 cdns_i2c_writereg(CDNS_I2C_CR_CLR_FIFO, CDNS_I2C_CR_OFFSET); in cdns_i2c_set_mode()264 CDNS_I2C_CR_OFFSET); in cdns_i2c_set_mode()277 CDNS_I2C_CR_OFFSET); in cdns_i2c_set_mode()378 cdns_i2c_writereg(CDNS_I2C_CR_CLR_FIFO, CDNS_I2C_CR_OFFSET); in cdns_i2c_slave_isr()578 ctrl_reg = cdns_i2c_readreg(CDNS_I2C_CR_OFFSET); in cdns_i2c_mrecv()598 cdns_i2c_writereg(ctrl_reg, CDNS_I2C_CR_OFFSET); in cdns_i2c_mrecv()622 if (cdns_i2c_readreg(CDNS_I2C_CR_OFFSET) & CDNS_I2C_CR_HOLD) { in cdns_i2c_mrecv()[all …]