Lines Matching refs:fifo_config
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()
106 data->fifo_config.fifo_samples); in adxl372_submit_stream()
112 adxl372_configure_fifo(dev, current_fifo_mode, data->fifo_config.fifo_format, in adxl372_submit_stream()
113 data->fifo_config.fifo_samples); in adxl372_submit_stream()
142 switch (cfg->fifo_config.fifo_format) { in adxl372_get_packet_size()
219 if ((cfg->fifo_config.fifo_format == ADXL372_X_FIFO) || in adxl372_process_fifo_samples_cb()
220 (cfg->fifo_config.fifo_format == ADXL372_XY_FIFO) || in adxl372_process_fifo_samples_cb()
221 (cfg->fifo_config.fifo_format == ADXL372_XZ_FIFO) || in adxl372_process_fifo_samples_cb()
222 (cfg->fifo_config.fifo_format == ADXL372_XYZ_FIFO)) { in adxl372_process_fifo_samples_cb()
226 if ((cfg->fifo_config.fifo_format == ADXL372_Y_FIFO) || in adxl372_process_fifo_samples_cb()
227 (cfg->fifo_config.fifo_format == ADXL372_XY_FIFO) || in adxl372_process_fifo_samples_cb()
228 (cfg->fifo_config.fifo_format == ADXL372_YZ_FIFO) || in adxl372_process_fifo_samples_cb()
229 (cfg->fifo_config.fifo_format == ADXL372_XYZ_FIFO)) { in adxl372_process_fifo_samples_cb()
233 if ((cfg->fifo_config.fifo_format == ADXL372_Z_FIFO) || in adxl372_process_fifo_samples_cb()
234 (cfg->fifo_config.fifo_format == ADXL372_XZ_FIFO) || in adxl372_process_fifo_samples_cb()
235 (cfg->fifo_config.fifo_format == ADXL372_YZ_FIFO) || in adxl372_process_fifo_samples_cb()
236 (cfg->fifo_config.fifo_format == ADXL372_XYZ_FIFO)) { in adxl372_process_fifo_samples_cb()