Home
last modified time | relevance | path

Searched refs:fifo_wmark_cfg (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/drivers/sensor/adi/adxl362/
Dadxl362_stream.c274 struct sensor_stream_trigger *fifo_wmark_cfg = NULL; in adxl362_process_status_cb() local
279 fifo_wmark_cfg = &read_config->triggers[i]; in adxl362_process_status_cb()
292 if ((fifo_wmark_cfg != NULL) && ADXL362_STATUS_CHECK_FIFO_WTR(status)) { in adxl362_process_status_cb()
328 if ((fifo_wmark_cfg != NULL) && (fifo_full_cfg == NULL)) { in adxl362_process_status_cb()
329 data_opt = fifo_wmark_cfg->opt; in adxl362_process_status_cb()
330 } else if ((fifo_wmark_cfg == NULL) && (fifo_full_cfg != NULL)) { in adxl362_process_status_cb()
333 data_opt = MIN(fifo_wmark_cfg->opt, fifo_full_cfg->opt); in adxl362_process_status_cb()
/Zephyr-latest/drivers/sensor/adi/adxl372/
Dadxl372_stream.c319 struct sensor_stream_trigger *fifo_wmark_cfg = NULL; in adxl372_process_status1_cb() local
324 fifo_wmark_cfg = &read_config->triggers[i]; in adxl372_process_status1_cb()
336 if ((fifo_wmark_cfg != NULL) && (fifo_full_cfg != NULL) && in adxl372_process_status1_cb()
368 if ((fifo_wmark_cfg != NULL) && (fifo_full_cfg == NULL)) { in adxl372_process_status1_cb()
369 data_opt = fifo_wmark_cfg->opt; in adxl372_process_status1_cb()
370 } else if ((fifo_wmark_cfg == NULL) && (fifo_full_cfg != NULL)) { in adxl372_process_status1_cb()
373 data_opt = MIN(fifo_wmark_cfg->opt, fifo_full_cfg->opt); in adxl372_process_status1_cb()
/Zephyr-latest/drivers/sensor/adi/adxl367/
Dadxl367_stream.c429 struct sensor_stream_trigger *fifo_wmark_cfg = NULL; in adxl367_process_status_cb() local
434 fifo_wmark_cfg = &read_config->triggers[i]; in adxl367_process_status_cb()
447 if ((fifo_wmark_cfg != NULL) && FIELD_GET(ADXL367_STATUS_FIFO_WATERMARK, status)) { in adxl367_process_status_cb()
483 if ((fifo_wmark_cfg != NULL) && (fifo_full_cfg == NULL)) { in adxl367_process_status_cb()
484 data_opt = fifo_wmark_cfg->opt; in adxl367_process_status_cb()
485 } else if ((fifo_wmark_cfg == NULL) && (fifo_full_cfg != NULL)) { in adxl367_process_status_cb()
488 data_opt = MIN(fifo_wmark_cfg->opt, fifo_full_cfg->opt); in adxl367_process_status_cb()
/Zephyr-latest/drivers/sensor/adi/adxl345/
Dadxl345_stream.c259 struct sensor_stream_trigger *fifo_wmark_cfg = NULL; in adxl345_process_status1_cb() local
263 fifo_wmark_cfg = &read_config->triggers[i]; in adxl345_process_status1_cb()
270 if ((fifo_wmark_cfg != NULL) in adxl345_process_status1_cb()
303 if (fifo_wmark_cfg != NULL) { in adxl345_process_status1_cb()
304 data_opt = fifo_wmark_cfg->opt; in adxl345_process_status1_cb()