Searched refs:new_act_inact_reg (Results 1 – 1 of 1) sorted by relevance
379 uint8_t new_act_inact_reg; in adxl362_setup_activity_detection() local419 new_act_inact_reg = old_act_inact_reg & ~ADXL362_ACT_INACT_CTL_ACT_REF; in adxl362_setup_activity_detection()420 new_act_inact_reg |= ADXL362_ACT_INACT_CTL_ACT_EN | in adxl362_setup_activity_detection()422 ret = adxl362_set_reg(dev, new_act_inact_reg, in adxl362_setup_activity_detection()437 uint8_t new_act_inact_reg; in adxl362_setup_inactivity_detection() local461 new_act_inact_reg = old_act_inact_reg & in adxl362_setup_inactivity_detection()463 new_act_inact_reg |= ADXL362_ACT_INACT_CTL_INACT_EN | in adxl362_setup_inactivity_detection()465 ret = adxl362_set_reg(dev, new_act_inact_reg, in adxl362_setup_inactivity_detection()477 uint8_t new_act_inact_reg; in adxl362_set_interrupt_mode() local496 new_act_inact_reg = old_act_inact_reg & in adxl362_set_interrupt_mode()[all …]