Lines Matching refs:CDNS_I2C_CR_OFFSET

22 #define CDNS_I2C_CR_OFFSET		0x00 /* Control Register, RW */  macro
239 u32 reg = cdns_i2c_readreg(CDNS_I2C_CR_OFFSET); in cdns_i2c_clear_bus_hold()
241 cdns_i2c_writereg(reg & ~CDNS_I2C_CR_HOLD, CDNS_I2C_CR_OFFSET); in cdns_i2c_clear_bus_hold()
257 cdns_i2c_writereg(CDNS_I2C_CR_CLR_FIFO, CDNS_I2C_CR_OFFSET); in cdns_i2c_set_mode()
268 CDNS_I2C_CR_OFFSET); in cdns_i2c_set_mode()
281 CDNS_I2C_CR_OFFSET); in cdns_i2c_set_mode()
382 cdns_i2c_writereg(CDNS_I2C_CR_CLR_FIFO, CDNS_I2C_CR_OFFSET); in cdns_i2c_slave_isr()
582 ctrl_reg = cdns_i2c_readreg(CDNS_I2C_CR_OFFSET); in cdns_i2c_mrecv()
602 cdns_i2c_writereg(ctrl_reg, CDNS_I2C_CR_OFFSET); in cdns_i2c_mrecv()
647 cdns_i2c_writereg(ctrl_reg, CDNS_I2C_CR_OFFSET); in cdns_i2c_mrecv()
649 cdns_i2c_readreg(CDNS_I2C_CR_OFFSET); in cdns_i2c_mrecv()
676 ctrl_reg = cdns_i2c_readreg(CDNS_I2C_CR_OFFSET); in cdns_i2c_msend()
686 cdns_i2c_writereg(ctrl_reg, CDNS_I2C_CR_OFFSET); in cdns_i2c_msend()
738 regval = cdns_i2c_readreg(CDNS_I2C_CR_OFFSET); in cdns_i2c_master_reset()
741 cdns_i2c_writereg(regval, CDNS_I2C_CR_OFFSET); in cdns_i2c_master_reset()
763 reg = cdns_i2c_readreg(CDNS_I2C_CR_OFFSET); in cdns_i2c_process_msg()
767 CDNS_I2C_CR_OFFSET); in cdns_i2c_process_msg()
771 CDNS_I2C_CR_OFFSET); in cdns_i2c_process_msg()
886 reg = cdns_i2c_readreg(CDNS_I2C_CR_OFFSET); in cdns_i2c_master_xfer()
888 cdns_i2c_writereg(reg, CDNS_I2C_CR_OFFSET); in cdns_i2c_master_xfer()
1092 cdns_i2c_writereg(ctrl_reg, CDNS_I2C_CR_OFFSET); in cdns_i2c_setclk()
1188 cdns_i2c_writereg(id->ctrl_reg, CDNS_I2C_CR_OFFSET); in cdns_i2c_init()
1253 cdns_i2c_writereg(CDNS_I2C_CR_MS | CDNS_I2C_CR_RW, CDNS_I2C_CR_OFFSET); in cdns_i2c_detect_transfer_size()
1266 cdns_i2c_writereg(0, CDNS_I2C_CR_OFFSET); in cdns_i2c_detect_transfer_size()