Home
last modified time | relevance | path

Searched refs:fifo_samples (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/drivers/sensor/adi/adxl345/
Dadxl345_stream.c51 data->fifo_config.fifo_samples); in adxl345_submit_stream()
53 data->fifo_config.fifo_samples); in adxl345_submit_stream()
80 ADXL345_FIFO_CTL_SAMPLES_MODE(data->fifo_config.fifo_samples)); in adxl345_fifo_flush_rtio()
90 ADXL345_FIFO_CTL_SAMPLES_MODE(data->fifo_config.fifo_samples)); in adxl345_fifo_flush_rtio()
112 if (data->fifo_samples == 0) { in adxl345_fifo_read_cb()
126 uint16_t fifo_samples = (data->fifo_ent[0]) & SAMPLE_MASK; in adxl345_process_fifo_samples_cb() local
128 uint16_t fifo_bytes = fifo_samples * SAMPLE_SIZE; in adxl345_process_fifo_samples_cb()
203 data->fifo_samples = fifo_samples; in adxl345_process_fifo_samples_cb()
204 for (size_t i = 0; i < fifo_samples; i++) { in adxl345_process_fifo_samples_cb()
208 data->fifo_samples--; in adxl345_process_fifo_samples_cb()
[all …]
Dadxl345.c166 uint16_t fifo_samples) in adxl345_configure_fifo() argument
172 if (fifo_samples > 32) { in adxl345_configure_fifo()
178 ADXL345_FIFO_CTL_SAMPLES_MODE(fifo_samples)); in adxl345_configure_fifo()
187 data->fifo_config.fifo_samples = fifo_samples; in adxl345_configure_fifo()
558 .fifo_config.fifo_samples = SAMPLE_NUM, \
Dadxl345.h143 uint16_t fifo_samples; member
185 uint8_t fifo_samples; member
281 enum adxl345_fifo_trigger trigger, uint16_t fifo_samples);
/Zephyr-latest/drivers/sensor/adi/adxl372/
Dadxl372_stream.c39 ADXL372_FIFO_CTL_SAMPLES_MODE(data->fifo_config.fifo_samples)); in adxl372_fifo_flush_rtio()
48 ADXL372_FIFO_CTL_SAMPLES_MODE(data->fifo_config.fifo_samples)); in adxl372_fifo_flush_rtio()
106 data->fifo_config.fifo_samples); in adxl372_submit_stream()
113 data->fifo_config.fifo_samples); in adxl372_submit_stream()
169 uint16_t fifo_samples = (((data->fifo_ent[0] & 0x3) << 8) | data->fifo_ent[1]); in adxl372_process_fifo_samples_cb() local
175 if (fifo_samples > sample_set_size / 2) { in adxl372_process_fifo_samples_cb()
176 fifo_samples -= sample_set_size / 2; in adxl372_process_fifo_samples_cb()
178 LOG_ERR("fifo sample count error %d\n", fifo_samples); in adxl372_process_fifo_samples_cb()
183 uint16_t fifo_bytes = fifo_samples * 2 /*sample size*/; in adxl372_process_fifo_samples_cb()
Dadxl372.c474 enum adxl372_fifo_format format, uint16_t fifo_samples) in adxl372_configure_fifo() argument
480 if (fifo_samples > 512) { in adxl372_configure_fifo()
494 ADXL372_FIFO_CTL_SAMPLES_MODE(fifo_samples)); in adxl372_configure_fifo()
500 ret = data->hw_tf->write_reg(dev, ADXL372_FIFO_SAMPLES, fifo_samples & 0xFF); in adxl372_configure_fifo()
507 data->fifo_config.fifo_samples = fifo_samples; in adxl372_configure_fifo()
806 cfg->fifo_config.fifo_samples); in adxl372_probe()
905 .fifo_config.fifo_samples = 128, \
Dadxl372.h280 uint16_t fifo_samples; member
423 enum adxl372_fifo_format format, uint16_t fifo_samples);
/Zephyr-latest/drivers/sensor/adi/adxl367/
Dadxl367_stream.c134 data->fifo_config.fifo_read_mode, data->fifo_config.fifo_samples); in adxl367_submit_stream()
137 data->fifo_config.fifo_read_mode, data->fifo_config.fifo_samples); in adxl367_submit_stream()
199 uint16_t fifo_samples = ((data->fifo_ent[0]) | ((data->fifo_ent[1] & 0x3) << 8)); in adxl367_process_fifo_samples_cb() local
202 uint16_t fifo_packet_cnt = fifo_samples / sample_numb; in adxl367_process_fifo_samples_cb()
Dadxl367.c655 data->fifo_config.fifo_samples = sets_nb; in adxl367_fifo_setup()
1038 cfg->fifo_config.fifo_samples); in adxl367_probe()
1120 .fifo_config.fifo_samples = 128, \
Dadxl367.h300 uint16_t fifo_samples; member
/Zephyr-latest/drivers/sensor/adi/adxl362/
Dadxl362_stream.c153 uint16_t fifo_samples = ((data->fifo_ent[0]) | ((data->fifo_ent[1] & 0x3) << 8)); in adxl362_process_fifo_samples_cb() local
160 uint16_t fifo_bytes = fifo_samples * 2 /*sample size*/; in adxl362_process_fifo_samples_cb()