Home
last modified time | relevance | path

Searched refs:pow_reg (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/sensor/adi/adxl372/
Dadxl372_stream.c25 uint8_t pow_reg = data->pwr_reg; in adxl372_fifo_flush_rtio() local
29 pow_reg &= ~ADXL372_POWER_CTL_MODE_MSK; in adxl372_fifo_flush_rtio()
30 pow_reg |= ADXL372_POWER_CTL_MODE(ADXL372_STANDBY); in adxl372_fifo_flush_rtio()
33 const uint8_t reg_addr_w[2] = {ADXL372_REG_WRITE(ADXL372_POWER_CTL), pow_reg}; in adxl372_fifo_flush_rtio()
55 pow_reg = data->pwr_reg; in adxl372_fifo_flush_rtio()
57 pow_reg &= ~ADXL372_POWER_CTL_MODE_MSK; in adxl372_fifo_flush_rtio()
58 pow_reg |= ADXL372_POWER_CTL_MODE(cfg->op_mode); in adxl372_fifo_flush_rtio()
62 const uint8_t reg_addr_w4[2] = {ADXL372_REG_WRITE(ADXL372_POWER_CTL), pow_reg}; in adxl372_fifo_flush_rtio()
/Zephyr-latest/drivers/sensor/adi/adxl367/
Dadxl367_stream.c37 uint8_t pow_reg = data->pwr_reg; in adxl367_fifo_flush_rtio() local
39 pow_reg &= ~ADXL367_POWER_CTL_MEASURE_MSK; in adxl367_fifo_flush_rtio()
40 pow_reg |= FIELD_PREP(ADXL367_POWER_CTL_MEASURE_MSK, ADXL367_STANDBY); in adxl367_fifo_flush_rtio()
43 const uint8_t reg_addr_w[3] = {ADXL367_SPI_WRITE_REG, ADXL367_POWER_CTL, pow_reg}; in adxl367_fifo_flush_rtio()
59 pow_reg = data->pwr_reg; in adxl367_fifo_flush_rtio()
61 pow_reg &= ~ADXL367_POWER_CTL_MEASURE_MSK; in adxl367_fifo_flush_rtio()
62 pow_reg |= FIELD_PREP(ADXL367_POWER_CTL_MEASURE_MSK, ADXL367_MEASURE); in adxl367_fifo_flush_rtio()
66 const uint8_t reg_addr_w4[3] = {ADXL367_SPI_WRITE_REG, ADXL367_POWER_CTL, pow_reg}; in adxl367_fifo_flush_rtio()