Searched refs:BMI160_REG_OFFSET_EN (Results 1 – 5 of 5) sorted by relevance
/Zephyr-latest/drivers/sensor/bosch/bmi160/ |
D | emul_bmi160.c | 461 cfg->reg[BMI160_REG_OFFSET_EN] &= ~BIT(BMI160_ACC_OFS_EN_POS); in bmi160_emul_backend_set_offset() 463 cfg->reg[BMI160_REG_OFFSET_EN] &= ~BIT(BMI160_GYR_OFS_EN_POS); in bmi160_emul_backend_set_offset() 467 cfg->reg[BMI160_REG_OFFSET_EN] |= BIT(BMI160_ACC_OFS_EN_POS); in bmi160_emul_backend_set_offset() 469 cfg->reg[BMI160_REG_OFFSET_EN] |= BIT(BMI160_GYR_OFS_EN_POS); in bmi160_emul_backend_set_offset() 509 cfg->reg[BMI160_REG_OFFSET_EN] = in bmi160_emul_backend_set_offset() 510 (cfg->reg[BMI160_REG_OFFSET_EN] & ~GENMASK(i * 2 + 1, i * 2)) | in bmi160_emul_backend_set_offset()
|
D | bmi160.c | 445 return bmi160_reg_field_update(dev, BMI160_REG_OFFSET_EN, in bmi160_acc_ofs_set() 497 return bmi160_reg_field_update(dev, BMI160_REG_OFFSET_EN, in bmi160_acc_calibrate() 635 if (bmi160_reg_field_update(dev, BMI160_REG_OFFSET_EN, in bmi160_gyr_ofs_set() 644 return bmi160_reg_field_update(dev, BMI160_REG_OFFSET_EN, in bmi160_gyr_ofs_set() 666 return bmi160_reg_field_update(dev, BMI160_REG_OFFSET_EN, in bmi160_gyr_calibrate()
|
D | bmi160.h | 101 #define BMI160_REG_OFFSET_EN 0x77 macro
|
/Zephyr-latest/tests/drivers/sensor/bmi160/src/ |
D | i2c.c | 43 BMI160_REG_OFFSET_EN}; in ZTEST_USER_F()
|
D | spi.c | 43 BMI160_REG_OFFSET_EN}; in ZTEST_USER_F()
|