Searched refs:iicstat (Results 1 – 2 of 2) sorted by relevance
215 unsigned long iicstat = readl(i2c->regs + S3C2410_IICSTAT); in s3c24xx_i2c_stop() local220 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() argument289 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() local475 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 …]
199 unsigned long iicstat) in i2c_nuc900_irq_nextbyte() argument219 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() local456 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()