Lines Matching refs:readw
98 while (!(readw(i2c_dev->base + REG_CSR) & CSR_READY_MASK)) { in wmt_i2c_wait_bus_not_busy()
149 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_write()
153 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_write()
170 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_write()
188 val = readw(i2c_dev->base + REG_CSR); in wmt_i2c_write()
228 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_read()
232 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_read()
237 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_read()
243 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_read()
260 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_read()
276 pmsg->buf[xfer_len] = readw(i2c_dev->base + REG_CDR) >> 8; in wmt_i2c_read()
280 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_read()
284 val = readw(i2c_dev->base + REG_CR); in wmt_i2c_read()
329 i2c_dev->cmd_status = readw(i2c_dev->base + REG_ISR); in wmt_i2c_isr()
359 readw(i2c_dev->base + REG_CSR); /* read clear */ in wmt_i2c_reset_hardware()