Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/i2c/busses/
Di2c-s3c2410.c149 static int i2c_s3c_irq_nextbyte(struct s3c24xx_i2c *i2c, unsigned long iicstat);
311 unsigned long iicstat = readl(i2c->regs + S3C2410_IICSTAT); in s3c24xx_i2c_stop() local
351 iicstat &= ~S3C2410_IICSTAT_TXRXEN; in s3c24xx_i2c_stop()
354 iicstat &= ~S3C2410_IICSTAT_START; in s3c24xx_i2c_stop()
356 writel(iicstat, i2c->regs + S3C2410_IICSTAT); in s3c24xx_i2c_stop()
408 static int i2c_s3c_irq_nextbyte(struct s3c24xx_i2c *i2c, unsigned long iicstat) in i2c_s3c_irq_nextbyte() argument
430 if (iicstat & S3C2410_IICSTAT_LASTBIT && in i2c_s3c_irq_nextbyte()
464 if (iicstat & S3C2410_IICSTAT_LASTBIT) { in i2c_s3c_irq_nextbyte()
640 unsigned long iicstat; in s3c24xx_i2c_set_master() local
644 iicstat = readl(i2c->regs + S3C2410_IICSTAT); in s3c24xx_i2c_set_master()
[all …]