Lines Matching refs:ctrl1
190 u8 ctrl1; member
202 .ctrl1 = KXCJK1013_REG_CTRL1,
215 .ctrl1 = KXCJK1013_REG_CTRL1,
228 .ctrl1 = KX023_REG_CNTL1,
433 ret = i2c_smbus_read_byte_data(data->client, data->regs->ctrl1); in kxcjk1013_set_mode()
444 ret = i2c_smbus_write_byte_data(data->client, data->regs->ctrl1, ret); in kxcjk1013_set_mode()
458 ret = i2c_smbus_read_byte_data(data->client, data->regs->ctrl1); in kxcjk1013_get_mode()
476 ret = i2c_smbus_read_byte_data(data->client, data->regs->ctrl1); in kxcjk1013_set_range()
487 ret = i2c_smbus_write_byte_data(data->client, data->regs->ctrl1, ret); in kxcjk1013_set_range()
521 ret = i2c_smbus_read_byte_data(data->client, data->regs->ctrl1); in kxcjk1013_chip_init()
530 ret = i2c_smbus_write_byte_data(data->client, data->regs->ctrl1, ret); in kxcjk1013_chip_init()
681 ret = i2c_smbus_read_byte_data(data->client, data->regs->ctrl1); in kxcjk1013_setup_any_motion_interrupt()
692 ret = i2c_smbus_write_byte_data(data->client, data->regs->ctrl1, ret); in kxcjk1013_setup_any_motion_interrupt()
739 ret = i2c_smbus_read_byte_data(data->client, data->regs->ctrl1); in kxcjk1013_setup_new_data_interrupt()
750 ret = i2c_smbus_write_byte_data(data->client, data->regs->ctrl1, ret); in kxcjk1013_setup_new_data_interrupt()