Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/i2c/busses/
Di2c-cadence.c24 #define CDNS_I2C_CR_OFFSET 0x00 /* Control Register, RW */ macro
183 u32 reg = cdns_i2c_readreg(CDNS_I2C_CR_OFFSET); in cdns_i2c_clear_bus_hold()
185 cdns_i2c_writereg(reg & ~CDNS_I2C_CR_HOLD, CDNS_I2C_CR_OFFSET); in cdns_i2c_clear_bus_hold()
373 ctrl_reg = cdns_i2c_readreg(CDNS_I2C_CR_OFFSET); in cdns_i2c_mrecv()
388 cdns_i2c_writereg(ctrl_reg, CDNS_I2C_CR_OFFSET); in cdns_i2c_mrecv()
435 ctrl_reg = cdns_i2c_readreg(CDNS_I2C_CR_OFFSET); in cdns_i2c_msend()
445 cdns_i2c_writereg(ctrl_reg, CDNS_I2C_CR_OFFSET); in cdns_i2c_msend()
497 regval = cdns_i2c_readreg(CDNS_I2C_CR_OFFSET); in cdns_i2c_master_reset()
500 cdns_i2c_writereg(regval, CDNS_I2C_CR_OFFSET); in cdns_i2c_master_reset()
522 reg = cdns_i2c_readreg(CDNS_I2C_CR_OFFSET); in cdns_i2c_process_msg()
[all …]