Lines Matching refs:read_reg
89 write_reg(reg_control, read_reg(reg_control) | KW_I2C_CTL_STOP); in do_stop()
102 isr, read_reg(reg_status), iface->state); in handle_interrupt()
117 ack = read_reg(reg_status); in handle_interrupt()
129 write_reg(reg_control, read_reg(reg_control) in handle_interrupt()
144 *(iface->data++) = read_reg(reg_data); in handle_interrupt()
158 ack = read_reg(reg_status); in handle_interrupt()
198 if (handle_interrupt(iface, read_reg(reg_isr))) { in keywest_irq()
212 if (handle_interrupt(iface, read_reg(reg_isr))) { in keywest_timeout()
292 write_reg(reg_isr, read_reg(reg_isr)); in keywest_smbus_xfer()
309 write_reg(reg_control, read_reg(reg_control) | KW_I2C_CTL_XADDR); in keywest_smbus_xfer()
364 write_reg(reg_isr, read_reg(reg_isr)); in keywest_xfer()
389 write_reg(reg_control, read_reg(reg_control) | KW_I2C_CTL_XADDR); in keywest_xfer()