Searched refs:buf_avail (Results 1 – 6 of 6) sorted by relevance
165 uint32_t buf_avail = buf_len; in adxl345_process_fifo_samples_cb() local167 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()
122 uint32_t buf_avail = buf_len; in icm42688_fifo_count_cb() local125 buf_avail -= sizeof(hdr); in icm42688_fifo_count_cb()127 uint32_t read_len = MIN(fifo_count, buf_avail); in icm42688_fifo_count_cb()
304 uint32_t buf_len, buf_avail; in lsm6dsv16x_read_fifo_cb() local335 buf_avail = buf_len - sizeof(hdr); in lsm6dsv16x_read_fifo_cb()360 read_buf, buf_avail, lsm6dsv16x->streaming_sqe); in lsm6dsv16x_read_fifo_cb()
195 uint32_t buf_avail = buf_len; in adxl362_process_fifo_samples_cb() local197 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()
240 uint32_t buf_avail = buf_len; in adxl372_process_fifo_samples_cb() local242 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()
326 uint32_t buf_avail = buf_len; in adxl367_process_fifo_samples_cb() local328 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()