Home
last modified time | relevance | path

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

/drivers/i2c/busses/
Di2c-s3c2410.c215 unsigned long iicstat = readl(i2c->regs + S3C2410_IICSTAT); in s3c24xx_i2c_stop() local
220 iicstat &= ~S3C2410_IICSTAT_START; in s3c24xx_i2c_stop()
221 writel(iicstat, i2c->regs + S3C2410_IICSTAT); in s3c24xx_i2c_stop()
267 static int i2c_s3c_irq_nextbyte(struct s3c24xx_i2c *i2c, unsigned long iicstat) in i2c_s3c_irq_nextbyte() argument
289 if (iicstat & S3C2410_IICSTAT_LASTBIT && in i2c_s3c_irq_nextbyte()
323 if (iicstat & S3C2410_IICSTAT_LASTBIT) { in i2c_s3c_irq_nextbyte()
471 unsigned long iicstat; in s3c24xx_i2c_set_master() local
475 iicstat = readl(i2c->regs + S3C2410_IICSTAT); in s3c24xx_i2c_set_master()
477 if (!(iicstat & S3C2410_IICSTAT_BUSBUSY)) in s3c24xx_i2c_set_master()
494 unsigned long iicstat, timeout; in s3c24xx_i2c_doxfer() local
[all …]
Di2c-nuc900.c199 unsigned long iicstat) in i2c_nuc900_irq_nextbyte() argument
219 if (iicstat & SLAVE_ACK && in i2c_nuc900_irq_nextbyte()
255 if (iicstat & SLAVE_ACK) { in i2c_nuc900_irq_nextbyte()
415 unsigned long iicstat, timeout; in nuc900_i2c_doxfer() local
456 iicstat = readl(i2c->regs + CSR); in nuc900_i2c_doxfer()
457 } while ((iicstat & I2CBUSY) && --spins); in nuc900_i2c_doxfer()
462 iicstat = readl(i2c->regs + CSR); in nuc900_i2c_doxfer()
465 if (iicstat & I2CBUSY) in nuc900_i2c_doxfer()