Home
last modified time | relevance | path

Searched refs:read_config (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/drivers/sensor/st/lsm6dsv16x/
Dlsm6dsv16x_rtio_stream.c164 struct sensor_read_config *read_config; in lsm6dsv16x_read_fifo_cb() local
171 read_config = (struct sensor_read_config *)lsm6dsv16x->streaming_sqe->sqe.iodev->data; in lsm6dsv16x_read_fifo_cb()
172 __ASSERT_NO_MSG(read_config != NULL); in lsm6dsv16x_read_fifo_cb()
173 __ASSERT_NO_MSG(read_config->is_streaming == true); in lsm6dsv16x_read_fifo_cb()
179 for (int i = 0; i < read_config->count; ++i) { in lsm6dsv16x_read_fifo_cb()
180 if (read_config->triggers[i].trigger == SENSOR_TRIG_FIFO_WATERMARK) { in lsm6dsv16x_read_fifo_cb()
181 fifo_ths_cfg = &read_config->triggers[i]; in lsm6dsv16x_read_fifo_cb()
185 if (read_config->triggers[i].trigger == SENSOR_TRIG_FIFO_FULL) { in lsm6dsv16x_read_fifo_cb()
186 fifo_full_cfg = &read_config->triggers[i]; in lsm6dsv16x_read_fifo_cb()
/Zephyr-latest/drivers/sensor/adi/adxl362/
Dadxl362_stream.c255 struct sensor_read_config *read_config; in adxl362_process_status_cb() local
262 read_config = (struct sensor_read_config *)data->sqe->sqe.iodev->data; in adxl362_process_status_cb()
264 if (read_config == NULL) { in adxl362_process_status_cb()
268 if (read_config->is_streaming == false) { in adxl362_process_status_cb()
277 for (int i = 0; i < read_config->count; ++i) { in adxl362_process_status_cb()
278 if (read_config->triggers[i].trigger == SENSOR_TRIG_FIFO_WATERMARK) { in adxl362_process_status_cb()
279 fifo_wmark_cfg = &read_config->triggers[i]; in adxl362_process_status_cb()
283 if (read_config->triggers[i].trigger == SENSOR_TRIG_FIFO_FULL) { in adxl362_process_status_cb()
284 fifo_full_cfg = &read_config->triggers[i]; in adxl362_process_status_cb()
/Zephyr-latest/drivers/sensor/adi/adxl372/
Dadxl372_stream.c300 struct sensor_read_config *read_config; in adxl372_process_status1_cb() local
307 read_config = (struct sensor_read_config *)data->sqe->sqe.iodev->data; in adxl372_process_status1_cb()
309 if (read_config == NULL) { in adxl372_process_status1_cb()
313 if (read_config->is_streaming == false) { in adxl372_process_status1_cb()
322 for (int i = 0; i < read_config->count; ++i) { in adxl372_process_status1_cb()
323 if (read_config->triggers[i].trigger == SENSOR_TRIG_FIFO_WATERMARK) { in adxl372_process_status1_cb()
324 fifo_wmark_cfg = &read_config->triggers[i]; in adxl372_process_status1_cb()
328 if (read_config->triggers[i].trigger == SENSOR_TRIG_FIFO_FULL) { in adxl372_process_status1_cb()
329 fifo_full_cfg = &read_config->triggers[i]; in adxl372_process_status1_cb()
/Zephyr-latest/drivers/sensor/tdk/icm42688/
Dicm42688_rtio_stream.c185 struct sensor_read_config *read_config; in icm42688_int_status_cb() local
191 read_config = (struct sensor_read_config *)streaming_sqe->sqe.iodev->data; in icm42688_int_status_cb()
192 __ASSERT_NO_MSG(read_config != NULL); in icm42688_int_status_cb()
194 if (!read_config->is_streaming) { in icm42688_int_status_cb()
200 icm42688_get_read_config_trigger(read_config, SENSOR_TRIG_FIFO_WATERMARK); in icm42688_int_status_cb()
205 icm42688_get_read_config_trigger(read_config, SENSOR_TRIG_FIFO_FULL); in icm42688_int_status_cb()
/Zephyr-latest/drivers/sensor/adi/adxl345/
Dadxl345_stream.c240 struct sensor_read_config *read_config; in adxl345_process_status1_cb() local
247 read_config = (struct sensor_read_config *)data->sqe->sqe.iodev->data; in adxl345_process_status1_cb()
249 if (read_config == NULL) { in adxl345_process_status1_cb()
253 if (read_config->is_streaming == false) { in adxl345_process_status1_cb()
261 for (int i = 0; i < read_config->count; ++i) { in adxl345_process_status1_cb()
262 if (read_config->triggers[i].trigger == SENSOR_TRIG_FIFO_WATERMARK) { in adxl345_process_status1_cb()
263 fifo_wmark_cfg = &read_config->triggers[i]; in adxl345_process_status1_cb()
/Zephyr-latest/drivers/sensor/adi/adxl367/
Dadxl367_stream.c415 struct sensor_read_config *read_config; in adxl367_process_status_cb() local
420 read_config = (struct sensor_read_config *)data->sqe->sqe.iodev->data; in adxl367_process_status_cb()
422 __ASSERT(read_config != NULL, "%s read_config = NULL", __func__); in adxl367_process_status_cb()
424 __ASSERT(read_config->is_streaming != false, in adxl367_process_status_cb()
432 for (int i = 0; i < read_config->count; ++i) { in adxl367_process_status_cb()
433 if (read_config->triggers[i].trigger == SENSOR_TRIG_FIFO_WATERMARK) { in adxl367_process_status_cb()
434 fifo_wmark_cfg = &read_config->triggers[i]; in adxl367_process_status_cb()
438 if (read_config->triggers[i].trigger == SENSOR_TRIG_FIFO_FULL) { in adxl367_process_status_cb()
439 fifo_full_cfg = &read_config->triggers[i]; in adxl367_process_status_cb()
/Zephyr-latest/doc/develop/west/
Dwest-apis.rst285 .. autofunction:: west.configuration.read_config
288 The deprecated *read_config* parameter was removed.
298 should be initialized with :py:func:`west.configuration.read_config` before
Drelease-notes.rst312 - ``west.configuration.read_config``