Home
last modified time | relevance | path

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

/drivers/iio/
Dindustrialio-event.c49 return !!test_bit(IIO_BUSY_BIT_POS, &ev_int->flags); in iio_event_enabled()
177 clear_bit(IIO_BUSY_BIT_POS, &ev_int->flags); in iio_event_chrdev_release()
205 if (test_and_set_bit(IIO_BUSY_BIT_POS, &ev_int->flags)) { in iio_event_getfd()
215 clear_bit(IIO_BUSY_BIT_POS, &ev_int->flags); in iio_event_getfd()
Diio_core.h62 #define IIO_BUSY_BIT_POS 1 macro
Dindustrialio-buffer.c271 if (test_bit(IIO_BUSY_BIT_POS, &rb->flags)) in iio_buffer_read_wrapper()
284 if (test_bit(IIO_BUSY_BIT_POS, &rb->flags)) in iio_buffer_write_wrapper()
297 if (test_bit(IIO_BUSY_BIT_POS, &rb->flags)) in iio_buffer_poll_wrapper()
1515 clear_bit(IIO_BUSY_BIT_POS, &buffer->flags); in iio_buffer_chrdev_release()
1548 if (test_and_set_bit(IIO_BUSY_BIT_POS, &buffer->flags)) { in iio_device_buffer_getfd()
1588 clear_bit(IIO_BUSY_BIT_POS, &buffer->flags); in iio_device_buffer_getfd()
Dindustrialio-core.c1749 if (test_and_set_bit(IIO_BUSY_BIT_POS, &iio_dev_opaque->flags)) in iio_chrdev_open()
1757 clear_bit(IIO_BUSY_BIT_POS, &iio_dev_opaque->flags); in iio_chrdev_open()
1784 clear_bit(IIO_BUSY_BIT_POS, &iio_dev_opaque->flags); in iio_chrdev_release()