Searched refs:SMCR (Results 1 – 1 of 1) sorted by relevance
20 #define SMCR 0x00 macro56 iowrite16(ioread16(dev->base + SMCR) | SMCR_IEIC, dev->base + SMCR); in highlander_i2c_irq_enable()61 iowrite16(ioread16(dev->base + SMCR) & ~SMCR_IEIC, dev->base + SMCR); in highlander_i2c_irq_disable()66 iowrite16(ioread16(dev->base + SMCR) | SMCR_START, dev->base + SMCR); in highlander_i2c_start()71 iowrite16(ioread16(dev->base + SMCR) | SMCR_IRIC, dev->base + SMCR); in highlander_i2c_done()130 while (ioread16(dev->base + SMCR) & SMCR_BBSY) { in highlander_i2c_wait_for_bbsy()144 iowrite16(ioread16(dev->base + SMCR) | SMCR_RST, dev->base + SMCR); in highlander_i2c_reset()150 u16 tmp = ioread16(dev->base + SMCR); in highlander_i2c_wait_for_ack()177 smcr = ioread16(dev->base + SMCR); in highlander_i2c_poll()