Searched refs:VIAI2C_REG_CR (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/i2c/busses/ |
| H A D | i2c-viai2c-common.c | 40 val = readw(i2c->base + VIAI2C_REG_CR); in viai2c_write() 43 writew(val, i2c->base + VIAI2C_REG_CR); in viai2c_write() 53 val = readw(i2c->base + VIAI2C_REG_CR); in viai2c_write() 55 writew(val, i2c->base + VIAI2C_REG_CR); in viai2c_write() 68 val = readw(i2c->base + VIAI2C_REG_CR); in viai2c_read() 77 writew(val, i2c->base + VIAI2C_REG_CR); in viai2c_read() 87 val = readw(i2c->base + VIAI2C_REG_CR); in viai2c_read() 89 writew(val, i2c->base + VIAI2C_REG_CR); in viai2c_read() 145 val = readw(base + VIAI2C_REG_CR) | VIAI2C_CR_CPU_RDY; in viai2c_irq_xfer() 148 writew(val, base + VIAI2C_REG_CR); in viai2c_irq_xfer() [all …]
|
| H A D | i2c-viai2c-zhaoxin.c | 78 tmp = ioread8(base + VIAI2C_REG_CR); in viai2c_fifo_xfer() 80 iowrite8(tmp, base + VIAI2C_REG_CR); in viai2c_fifo_xfer() 127 tmp = ioread8(base + VIAI2C_REG_CR); in viai2c_fifo_irq_xfer() 129 iowrite8(tmp, base + VIAI2C_REG_CR); in viai2c_fifo_irq_xfer() 133 tmp = ioread8(base + VIAI2C_REG_CR); in viai2c_fifo_irq_xfer() 134 iowrite8(tmp |= VIAI2C_CR_CPU_RDY, base + VIAI2C_REG_CR); in viai2c_fifo_irq_xfer() 151 tmp = ioread8(base + VIAI2C_REG_CR); in zxi2c_xfer() 156 iowrite16(ZXI2C_CR_FIFO_MODE | tmp, base + VIAI2C_REG_CR); in zxi2c_xfer() 175 iowrite16(tmp, base + VIAI2C_REG_CR); in zxi2c_xfer() 183 iowrite16(tmp | VIAI2C_CR_END_MASK, base + VIAI2C_REG_CR); in zxi2c_xfer() [all …]
|
| H A D | i2c-viai2c-wmt.c | 56 writew(0, i2c->base + VIAI2C_REG_CR); in wmt_i2c_reset_hardware() 60 writew(VIAI2C_CR_ENABLE, i2c->base + VIAI2C_REG_CR); in wmt_i2c_reset_hardware()
|
| H A D | i2c-viai2c-common.h | 15 #define VIAI2C_REG_CR 0x00 macro
|