/Zephyr-latest/drivers/sensor/adi/adxl367/ |
D | adxl367_stream.c | 55 FIELD_PREP(ADXL367_FIFO_CONTROL_FIFO_MODE_MSK, data->fifo_config.fifo_mode)}; in adxl367_fifo_flush_rtio() 124 enum adxl367_fifo_mode current_fifo_mode = data->fifo_config.fifo_mode; in adxl367_submit_stream() 133 adxl367_fifo_setup(dev, ADXL367_FIFO_DISABLED, data->fifo_config.fifo_format, in adxl367_submit_stream() 134 data->fifo_config.fifo_read_mode, data->fifo_config.fifo_samples); in adxl367_submit_stream() 136 adxl367_fifo_setup(dev, current_fifo_mode, data->fifo_config.fifo_format, in adxl367_submit_stream() 137 data->fifo_config.fifo_read_mode, data->fifo_config.fifo_samples); in adxl367_submit_stream() 164 switch (data->fifo_config.fifo_format) { in adxl367_get_numb_of_samp_in_pkt() 205 switch (data->fifo_config.fifo_read_mode) { in adxl367_process_fifo_samples_cb() 277 hdr->fifo_read_mode = data->fifo_config.fifo_read_mode; in adxl367_process_fifo_samples_cb() 279 if (data->fifo_config.fifo_read_mode == ADXL367_12B) { in adxl367_process_fifo_samples_cb() [all …]
|
D | adxl367.c | 653 data->fifo_config.fifo_mode = mode; in adxl367_fifo_setup() 654 data->fifo_config.fifo_format = format; in adxl367_fifo_setup() 655 data->fifo_config.fifo_samples = sets_nb; in adxl367_fifo_setup() 656 data->fifo_config.fifo_read_mode = read_mode; in adxl367_fifo_setup() 1035 ret = adxl367_fifo_setup(dev, cfg->fifo_config.fifo_mode, in adxl367_probe() 1036 cfg->fifo_config.fifo_format, in adxl367_probe() 1037 cfg->fifo_config.fifo_read_mode, in adxl367_probe() 1038 cfg->fifo_config.fifo_samples); in adxl367_probe() 1118 .fifo_config.fifo_mode = ADXL367_FIFO_DISABLED, \ 1119 .fifo_config.fifo_format = ADXL367_FIFO_FORMAT_XYZ, \ [all …]
|
D | adxl367.h | 340 struct adxl367_fifo_config fifo_config; member 398 struct adxl367_fifo_config fifo_config; member
|
/Zephyr-latest/drivers/sensor/adi/adxl372/ |
D | adxl372_stream.c | 27 uint8_t fifo_config; in adxl372_fifo_flush_rtio() local 37 fifo_config = (ADXL372_FIFO_CTL_FORMAT_MODE(data->fifo_config.fifo_format) | in adxl372_fifo_flush_rtio() 39 ADXL372_FIFO_CTL_SAMPLES_MODE(data->fifo_config.fifo_samples)); in adxl372_fifo_flush_rtio() 42 const uint8_t reg_addr_w2[2] = {ADXL372_REG_WRITE(ADXL372_FIFO_CTL), fifo_config}; in adxl372_fifo_flush_rtio() 46 fifo_config = (ADXL372_FIFO_CTL_FORMAT_MODE(data->fifo_config.fifo_format) | in adxl372_fifo_flush_rtio() 47 ADXL372_FIFO_CTL_MODE_MODE(data->fifo_config.fifo_mode) | in adxl372_fifo_flush_rtio() 48 ADXL372_FIFO_CTL_SAMPLES_MODE(data->fifo_config.fifo_samples)); in adxl372_fifo_flush_rtio() 51 const uint8_t reg_addr_w3[2] = {ADXL372_REG_WRITE(ADXL372_FIFO_CTL), fifo_config}; in adxl372_fifo_flush_rtio() 103 enum adxl372_fifo_mode current_fifo_mode = data->fifo_config.fifo_mode; in adxl372_submit_stream() 105 adxl372_configure_fifo(dev, ADXL372_FIFO_BYPASSED, data->fifo_config.fifo_format, in adxl372_submit_stream() [all …]
|
D | adxl372.c | 477 uint8_t fifo_config; in adxl372_configure_fifo() local 492 fifo_config = (ADXL372_FIFO_CTL_FORMAT_MODE(format) | in adxl372_configure_fifo() 496 ret = data->hw_tf->write_reg(dev, ADXL372_FIFO_CTL, fifo_config); in adxl372_configure_fifo() 505 data->fifo_config.fifo_format = format; in adxl372_configure_fifo() 506 data->fifo_config.fifo_mode = mode; in adxl372_configure_fifo() 507 data->fifo_config.fifo_samples = fifo_samples; in adxl372_configure_fifo() 804 ret = adxl372_configure_fifo(dev, cfg->fifo_config.fifo_mode, in adxl372_probe() 805 cfg->fifo_config.fifo_format, in adxl372_probe() 806 cfg->fifo_config.fifo_samples); in adxl372_probe() 903 .fifo_config.fifo_mode = ADXL372_FIFO_STREAMED, \ [all …]
|
D | adxl372.h | 313 struct adxl372_fifo_config fifo_config; member 368 struct adxl372_fifo_config fifo_config; member
|
/Zephyr-latest/drivers/sensor/adi/adxl345/ |
D | adxl345_stream.c | 45 enum adxl345_fifo_mode current_fifo_mode = data->fifo_config.fifo_mode; in adxl345_submit_stream() 50 adxl345_configure_fifo(dev, ADXL345_FIFO_BYPASSED, data->fifo_config.fifo_trigger, in adxl345_submit_stream() 51 data->fifo_config.fifo_samples); in adxl345_submit_stream() 52 adxl345_configure_fifo(dev, current_fifo_mode, data->fifo_config.fifo_trigger, in adxl345_submit_stream() 53 data->fifo_config.fifo_samples); in adxl345_submit_stream() 76 uint8_t fifo_config; in adxl345_fifo_flush_rtio() local 78 fifo_config = (ADXL345_FIFO_CTL_TRIGGER_MODE(data->fifo_config.fifo_trigger) | in adxl345_fifo_flush_rtio() 80 ADXL345_FIFO_CTL_SAMPLES_MODE(data->fifo_config.fifo_samples)); in adxl345_fifo_flush_rtio() 83 const uint8_t reg_addr_w2[2] = {ADXL345_FIFO_CTL_REG, fifo_config}; in adxl345_fifo_flush_rtio() 88 fifo_config = (ADXL345_FIFO_CTL_TRIGGER_MODE(data->fifo_config.fifo_trigger) | in adxl345_fifo_flush_rtio() [all …]
|
D | adxl345.c | 169 uint8_t fifo_config; in adxl345_configure_fifo() local 176 fifo_config = (ADXL345_FIFO_CTL_TRIGGER_MODE(trigger) | in adxl345_configure_fifo() 180 ret = adxl345_reg_write_byte(dev, ADXL345_FIFO_CTL_REG, fifo_config); in adxl345_configure_fifo() 185 data->fifo_config.fifo_trigger = trigger; in adxl345_configure_fifo() 186 data->fifo_config.fifo_mode = mode; in adxl345_configure_fifo() 187 data->fifo_config.fifo_samples = fifo_samples; in adxl345_configure_fifo() 556 .fifo_config.fifo_mode = ADXL345_FIFO_STREAMED, \ 557 .fifo_config.fifo_trigger = ADXL345_INT2, \ 558 .fifo_config.fifo_samples = SAMPLE_NUM, \
|
D | adxl345.h | 156 struct adxl345_fifo_config fifo_config; member 231 struct adxl345_fifo_config fifo_config; member
|
/Zephyr-latest/drivers/sensor/adi/adxl362/ |
D | adxl362_stream.c | 26 uint8_t fifo_config = ADXL362_FIFO_CTL_FIFO_MODE(ADXL362_FIFO_DISABLE); in adxl362_fifo_flush_rtio() local 28 const uint8_t reg_addr_w[3] = {ADXL362_WRITE_REG, ADXL362_REG_FIFO_CTL, fifo_config}; in adxl362_fifo_flush_rtio() 32 fifo_config = ADXL362_FIFO_CTL_FIFO_MODE(data->fifo_mode) | in adxl362_fifo_flush_rtio() 35 fifo_config |= ADXL362_FIFO_CTL_AH; in adxl362_fifo_flush_rtio() 38 const uint8_t reg_addr_w2[3] = {ADXL362_WRITE_REG, ADXL362_REG_FIFO_CTL, fifo_config}; in adxl362_fifo_flush_rtio()
|
/Zephyr-latest/drivers/sensor/tdk/icm42688/ |
D | icm42688_common.c | 289 uint8_t fifo_config = FIELD_PREP(MASK_FIFO_MODE, BIT_FIFO_MODE_STREAM); in icm42688_configure() local 292 res = icm42688_spi_single_write(&dev_cfg->spi, REG_FIFO_CONFIG, fifo_config); in icm42688_configure()
|