Lines Matching refs:readw
102 while (!(readw(i2c_dev->base + REG_CSR) & CSR_READY_MASK)) { in wmt_i2c_wait_bus_not_busy()
153 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_write()
157 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_write()
174 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_write()
192 val = readw(i2c_dev->base + REG_CSR); in wmt_i2c_write()
232 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_read()
236 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_read()
241 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_read()
247 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_read()
264 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_read()
280 pmsg->buf[xfer_len] = readw(i2c_dev->base + REG_CDR) >> 8; in wmt_i2c_read()
284 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_read()
288 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_read()
333 i2c_dev->cmd_status = readw(i2c_dev->base + REG_ISR); in wmt_i2c_isr()
363 readw(i2c_dev->base + REG_CSR); /* read clear */ in wmt_i2c_reset_hardware()