Lines Matching refs:irq_mask
447 u32 mcr, irq_mask; in read_i2c() local
463 irq_mask = (I2C_IT_RXFNF | I2C_IT_RXFF | in read_i2c()
467 irq_mask |= I2C_IT_MTD; in read_i2c()
469 irq_mask |= I2C_IT_MTDWS; in read_i2c()
471 irq_mask = I2C_CLEAR_ALL_INTS & IRQ_MASK(irq_mask); in read_i2c()
473 writel(readl(dev->virtbase + I2C_IMSCR) | irq_mask, in read_i2c()
516 u32 mcr, irq_mask; in write_i2c() local
533 irq_mask = (I2C_IT_TXFOVR | I2C_IT_MAL | I2C_IT_BERR); in write_i2c()
539 irq_mask |= I2C_IT_TXFNE; in write_i2c()
547 irq_mask |= I2C_IT_MTD; in write_i2c()
549 irq_mask |= I2C_IT_MTDWS; in write_i2c()
551 irq_mask = I2C_CLEAR_ALL_INTS & IRQ_MASK(irq_mask); in write_i2c()
553 writel(readl(dev->virtbase + I2C_IMSCR) | irq_mask, in write_i2c()