Lines Matching refs:cx_write
93 cx_write(bus->reg_addr, msg->addr << 25); in i2c_sendbytes()
94 cx_write(bus->reg_ctrl, bus->i2c_period | (1 << 2)); in i2c_sendbytes()
115 cx_write(bus->reg_addr, addr); in i2c_sendbytes()
116 cx_write(bus->reg_wdata, wdata); in i2c_sendbytes()
117 cx_write(bus->reg_ctrl, ctrl); in i2c_sendbytes()
137 cx_write(bus->reg_addr, addr); in i2c_sendbytes()
138 cx_write(bus->reg_wdata, wdata); in i2c_sendbytes()
139 cx_write(bus->reg_ctrl, ctrl); in i2c_sendbytes()
172 cx_write(bus->reg_addr, msg->addr << 25); in i2c_readbytes()
173 cx_write(bus->reg_ctrl, bus->i2c_period | (1 << 2) | 1); in i2c_readbytes()
198 cx_write(bus->reg_addr, msg->addr << 25); in i2c_readbytes()
199 cx_write(bus->reg_ctrl, ctrl); in i2c_readbytes()