Lines Matching refs:cdns_i2c_readreg
122 #define cdns_i2c_readreg(offset) readl_relaxed(id->membase + offset) macro
183 u32 reg = cdns_i2c_readreg(CDNS_I2C_CR_OFFSET); in cdns_i2c_clear_bus_hold()
214 isr_status = cdns_i2c_readreg(CDNS_I2C_ISR_OFFSET); in cdns_i2c_isr()
234 while (cdns_i2c_readreg(CDNS_I2C_SR_OFFSET) & in cdns_i2c_isr()
246 cdns_i2c_readreg(CDNS_I2C_DATA_OFFSET); in cdns_i2c_isr()
263 while (cdns_i2c_readreg(CDNS_I2C_XFER_SIZE_OFFSET) != in cdns_i2c_isr()
303 cdns_i2c_readreg(CDNS_I2C_XFER_SIZE_OFFSET); in cdns_i2c_isr()
353 ctrl_reg = cdns_i2c_readreg(CDNS_I2C_CR_OFFSET); in cdns_i2c_mrecv()
376 isr_status = cdns_i2c_readreg(CDNS_I2C_ISR_OFFSET); in cdns_i2c_mrecv()
420 ctrl_reg = cdns_i2c_readreg(CDNS_I2C_CR_OFFSET); in cdns_i2c_msend()
433 isr_status = cdns_i2c_readreg(CDNS_I2C_ISR_OFFSET); in cdns_i2c_msend()
442 cdns_i2c_readreg(CDNS_I2C_XFER_SIZE_OFFSET); in cdns_i2c_msend()
482 regval = cdns_i2c_readreg(CDNS_I2C_CR_OFFSET); in cdns_i2c_master_reset()
489 regval = cdns_i2c_readreg(CDNS_I2C_ISR_OFFSET); in cdns_i2c_master_reset()
492 regval = cdns_i2c_readreg(CDNS_I2C_SR_OFFSET); in cdns_i2c_master_reset()
507 reg = cdns_i2c_readreg(CDNS_I2C_CR_OFFSET); in cdns_i2c_process_msg()
576 if (cdns_i2c_readreg(CDNS_I2C_SR_OFFSET) & CDNS_I2C_SR_BA) { in cdns_i2c_master_xfer()
603 reg = cdns_i2c_readreg(CDNS_I2C_CR_OFFSET); in cdns_i2c_master_xfer()
744 ctrl_reg = cdns_i2c_readreg(CDNS_I2C_CR_OFFSET); in cdns_i2c_setclk()