Home
last modified time | relevance | path

Searched refs:cdns_i2c_readreg (Results 1 – 1 of 1) sorted by relevance

/drivers/i2c/busses/
Di2c-cadence.c135 #define cdns_i2c_readreg(offset) readl_relaxed(id->membase + offset) macro
235 u32 reg = cdns_i2c_readreg(CDNS_I2C_CR_OFFSET); in cdns_i2c_clear_bus_hold()
302 bytes = cdns_i2c_readreg(CDNS_I2C_XFER_SIZE_OFFSET); in cdns_i2c_slave_rcv_data()
306 data = cdns_i2c_readreg(CDNS_I2C_DATA_OFFSET); in cdns_i2c_slave_rcv_data()
342 isr_status = cdns_i2c_readreg(CDNS_I2C_ISR_OFFSET); in cdns_i2c_slave_isr()
346 isr_status &= ~cdns_i2c_readreg(CDNS_I2C_IMR_OFFSET); in cdns_i2c_slave_isr()
349 i2c_status = cdns_i2c_readreg(CDNS_I2C_SR_OFFSET); in cdns_i2c_slave_isr()
404 isr_status = cdns_i2c_readreg(CDNS_I2C_ISR_OFFSET); in cdns_i2c_master_isr()
425 while (cdns_i2c_readreg(CDNS_I2C_SR_OFFSET) & in cdns_i2c_master_isr()
429 cdns_i2c_readreg(CDNS_I2C_DATA_OFFSET); in cdns_i2c_master_isr()
[all …]