Home
last modified time | relevance | path

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

/external/u-boot/drivers/i2c/
Ddavinci_i2c.c146 tmp = _poll_i2c_irq(i2c_base, I2C_STAT_XRDY | I2C_STAT_NACK); in _davinci_i2c_read()
153 if (tmp & I2C_STAT_XRDY) { in _davinci_i2c_read()
161 I2C_STAT_XRDY | I2C_STAT_NACK); in _davinci_i2c_read()
167 if (tmp & I2C_STAT_XRDY) { in _davinci_i2c_read()
174 tmp = _poll_i2c_irq(i2c_base, I2C_STAT_XRDY | in _davinci_i2c_read()
252 tmp = _poll_i2c_irq(i2c_base, I2C_STAT_XRDY | I2C_STAT_NACK); in _davinci_i2c_write()
256 if (tmp & I2C_STAT_XRDY) { in _davinci_i2c_write()
265 tmp = _poll_i2c_irq(i2c_base, I2C_STAT_XRDY | I2C_STAT_NACK); in _davinci_i2c_write()
269 if (tmp & I2C_STAT_XRDY) { in _davinci_i2c_write()
278 tmp = _poll_i2c_irq(i2c_base, I2C_STAT_XRDY | I2C_STAT_NACK); in _davinci_i2c_write()
[all …]
Domap24xx_i2c.c161 (I2C_STAT_ROVR | I2C_STAT_XUDF | I2C_STAT_XRDY |
384 if ((status & ~I2C_STAT_XRDY) == 0 || (status & I2C_STAT_AL)) {
391 if (status == I2C_STAT_XRDY)
497 if (status == I2C_STAT_XRDY) {
510 if (status & I2C_STAT_XRDY) {
515 writew(I2C_STAT_XRDY, &i2c_base->stat);
541 if (status == I2C_STAT_XRDY) {
635 if (status == I2C_STAT_XRDY) {
647 if (status & I2C_STAT_XRDY) {
650 writew(I2C_STAT_XRDY, &i2c_base->stat);
[all …]
Ddavinci_i2c.h47 #define I2C_STAT_XRDY (1 << 4) /* Transmit data ready */ macro
Domap24xx_i2c.h27 #define I2C_STAT_XRDY (1 << 4) /* Transmit data ready */ macro