Searched refs:to_wait (Results 1 – 1 of 1) sorted by relevance
90 size_t to_wait, int to_flush) in iio_buffer_ready() argument101 to_wait = min_t(size_t, to_wait, 1); in iio_buffer_ready()107 if (avail >= to_wait) { in iio_buffer_ready()109 if (!to_wait && avail < to_flush) in iio_buffer_ready()117 to_wait - avail); in iio_buffer_ready()121 if (avail + flushed >= to_wait) in iio_buffer_ready()148 size_t to_wait; in iio_buffer_read() local170 to_wait = 0; in iio_buffer_read()172 to_wait = min_t(size_t, n / datum_size, rb->watermark); in iio_buffer_read()181 if (!iio_buffer_ready(indio_dev, rb, to_wait, n / datum_size)) { in iio_buffer_read()