Lines Matching refs:cx_write
92 cx_write(bus->reg_addr, msg->addr << 25); in i2c_sendbytes()
93 cx_write(bus->reg_ctrl, bus->i2c_period | (1 << 2)); in i2c_sendbytes()
116 cx_write(bus->reg_addr, addr); in i2c_sendbytes()
117 cx_write(bus->reg_wdata, wdata); in i2c_sendbytes()
118 cx_write(bus->reg_ctrl, ctrl); in i2c_sendbytes()
142 cx_write(bus->reg_addr, addr); in i2c_sendbytes()
143 cx_write(bus->reg_wdata, wdata); in i2c_sendbytes()
144 cx_write(bus->reg_ctrl, ctrl); in i2c_sendbytes()
183 cx_write(bus->reg_addr, msg->addr << 25); in i2c_readbytes()
184 cx_write(bus->reg_ctrl, bus->i2c_period | (1 << 2) | 1); in i2c_readbytes()
208 cx_write(bus->reg_addr, msg->addr << 25); in i2c_readbytes()
209 cx_write(bus->reg_ctrl, ctrl); in i2c_readbytes()