Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/i2c/
H A Dsh_i2c.c29 #define SH_I2C_ICCR_ICE (1 << 7) macro
109 clrbits_8(&dev->iccr, SH_I2C_ICCR_ICE); in sh_i2c_set_addr()
110 setbits_8(&dev->iccr, SH_I2C_ICCR_ICE); in sh_i2c_set_addr()
122 writeb((SH_I2C_ICCR_ICE|SH_I2C_ICCR_RTS|SH_I2C_ICCR_BUSY), &dev->iccr); in sh_i2c_set_addr()
132 writeb((SH_I2C_ICCR_ICE|SH_I2C_ICCR_RTS), &dev->iccr); in sh_i2c_set_addr()
142 clrbits_8(&dev->iccr, SH_I2C_ICCR_ICE); in sh_i2c_finish()
157 writeb((SH_I2C_ICCR_ICE | SH_I2C_ICCR_RTS), &dev->iccr); in sh_i2c_raw_write()
181 writeb((SH_I2C_ICCR_ICE|SH_I2C_ICCR_RTS|SH_I2C_ICCR_BUSY), &dev->iccr); in sh_i2c_raw_read()
188 writeb((SH_I2C_ICCR_ICE|SH_I2C_ICCR_SCP), &dev->iccr); in sh_i2c_raw_read()
194 writeb((SH_I2C_ICCR_ICE|SH_I2C_ICCR_RACK), &dev->iccr); in sh_i2c_raw_read()