Home
last modified time | relevance | path

Searched refs:buf_avail (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/drivers/sensor/adi/adxl345/
Dadxl345_stream.c165 uint32_t buf_avail = buf_len; in adxl345_process_fifo_samples_cb() local
167 buf_avail -= sizeof(*hdr); in adxl345_process_fifo_samples_cb()
169 uint32_t read_len = MIN(fifo_bytes, buf_avail); in adxl345_process_fifo_samples_cb()
171 if (buf_avail < fifo_bytes) { in adxl345_process_fifo_samples_cb()
/Zephyr-latest/drivers/sensor/tdk/icm42688/
Dicm42688_rtio_stream.c122 uint32_t buf_avail = buf_len; in icm42688_fifo_count_cb() local
125 buf_avail -= sizeof(hdr); in icm42688_fifo_count_cb()
127 uint32_t read_len = MIN(fifo_count, buf_avail); in icm42688_fifo_count_cb()
/Zephyr-latest/drivers/sensor/st/lsm6dsv16x/
Dlsm6dsv16x_rtio_stream.c304 uint32_t buf_len, buf_avail; in lsm6dsv16x_read_fifo_cb() local
335 buf_avail = buf_len - sizeof(hdr); in lsm6dsv16x_read_fifo_cb()
360 read_buf, buf_avail, lsm6dsv16x->streaming_sqe); in lsm6dsv16x_read_fifo_cb()
/Zephyr-latest/drivers/sensor/adi/adxl362/
Dadxl362_stream.c195 uint32_t buf_avail = buf_len; in adxl362_process_fifo_samples_cb() local
197 buf_avail -= sizeof(*hdr); in adxl362_process_fifo_samples_cb()
199 uint32_t read_len = MIN(fifo_bytes, buf_avail); in adxl362_process_fifo_samples_cb()
/Zephyr-latest/drivers/sensor/adi/adxl372/
Dadxl372_stream.c240 uint32_t buf_avail = buf_len; in adxl372_process_fifo_samples_cb() local
242 buf_avail -= sizeof(*hdr); in adxl372_process_fifo_samples_cb()
244 uint32_t read_len = MIN(fifo_bytes, buf_avail); in adxl372_process_fifo_samples_cb()
/Zephyr-latest/drivers/sensor/adi/adxl367/
Dadxl367_stream.c326 uint32_t buf_avail = buf_len; in adxl367_process_fifo_samples_cb() local
328 buf_avail -= sizeof(*hdr); in adxl367_process_fifo_samples_cb()
330 uint32_t read_len = MIN(fifo_bytes, buf_avail); in adxl367_process_fifo_samples_cb()