Lines Matching refs:iicstat
142 static int i2c_s3c_irq_nextbyte(struct s3c24xx_i2c *i2c, unsigned long iicstat);
304 unsigned long iicstat = readl(i2c->regs + S3C2410_IICSTAT);
344 iicstat &= ~S3C2410_IICSTAT_TXRXEN;
347 iicstat &= ~S3C2410_IICSTAT_START;
349 writel(iicstat, i2c->regs + S3C2410_IICSTAT);
401 static int i2c_s3c_irq_nextbyte(struct s3c24xx_i2c *i2c, unsigned long iicstat)
423 if (iicstat & S3C2410_IICSTAT_LASTBIT &&
457 if (iicstat & S3C2410_IICSTAT_LASTBIT) {
633 unsigned long iicstat;
637 iicstat = readl(i2c->regs + S3C2410_IICSTAT);
639 if (!(iicstat & S3C2410_IICSTAT_BUSBUSY))
655 unsigned long iicstat;
675 iicstat = readl(i2c->regs + S3C2410_IICSTAT);
676 while ((iicstat & S3C2410_IICSTAT_START) && --spins) {
678 iicstat = readl(i2c->regs + S3C2410_IICSTAT);
689 while ((iicstat & S3C2410_IICSTAT_START) &&
695 iicstat = readl(i2c->regs + S3C2410_IICSTAT);
698 if (iicstat & S3C2410_IICSTAT_START)