Home
last modified time | relevance | path

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

/u-boot/drivers/i2c/
A Dsh_i2c.c32 #define SH_I2C_ICCR_ICE (1 << 7) macro
112 clrbits_8(&dev->iccr, SH_I2C_ICCR_ICE); in sh_i2c_set_addr()
113 setbits_8(&dev->iccr, SH_I2C_ICCR_ICE); in sh_i2c_set_addr()
125 writeb((SH_I2C_ICCR_ICE|SH_I2C_ICCR_RTS|SH_I2C_ICCR_BUSY), &dev->iccr); in sh_i2c_set_addr()
135 writeb((SH_I2C_ICCR_ICE|SH_I2C_ICCR_RTS), &dev->iccr); in sh_i2c_set_addr()
145 clrbits_8(&dev->iccr, SH_I2C_ICCR_ICE); in sh_i2c_finish()
160 writeb((SH_I2C_ICCR_ICE | SH_I2C_ICCR_RTS), &dev->iccr); in sh_i2c_raw_write()
184 writeb((SH_I2C_ICCR_ICE|SH_I2C_ICCR_RTS|SH_I2C_ICCR_BUSY), &dev->iccr); in sh_i2c_raw_read()
191 writeb((SH_I2C_ICCR_ICE|SH_I2C_ICCR_SCP), &dev->iccr); in sh_i2c_raw_read()
197 writeb((SH_I2C_ICCR_ICE|SH_I2C_ICCR_RACK), &dev->iccr); in sh_i2c_raw_read()

Completed in 3 milliseconds