Home
last modified time | relevance | path

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

/drivers/staging/iio/
Dring_sw.c144 u8 *initial_read_p, *initial_write_p, *current_read_p, *end_read_p; in iio_read_first_n_sw_rb() local
213 current_read_p = ring->read_p; in iio_read_first_n_sw_rb()
215 if (initial_read_p <= current_read_p) in iio_read_first_n_sw_rb()
216 dead_offset = current_read_p - initial_read_p; in iio_read_first_n_sw_rb()
218 dead_offset = buffer_size - (initial_read_p - current_read_p); in iio_read_first_n_sw_rb()