Home
last modified time | relevance | path

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

/drivers/staging/iio/
Dring_sw.c35 unsigned char *read_p; member
51 ring->read_p = NULL; in __iio_allocate_sw_ring_buffer()
104 if (ring->read_p == NULL) in iio_store_to_sw_ring()
105 ring->read_p = ring->data; in iio_store_to_sw_ring()
112 else if (ring->write_p == ring->read_p) { in iio_store_to_sw_ring()
113 change_test_ptr = ring->read_p; in iio_store_to_sw_ring()
122 if (change_test_ptr == ring->read_p) in iio_store_to_sw_ring()
123 ring->read_p = temp_ptr; in iio_store_to_sw_ring()
132 if (ring->half_p == ring->read_p) { in iio_store_to_sw_ring()
173 initial_read_p = ring->read_p; in iio_read_first_n_sw_rb()
[all …]