Home
last modified time | relevance | path

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

/linux-6.1.9/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.c268 if (test_bit(IIO_BUSY_BIT_POS, &rb->flags)) in iio_buffer_read_wrapper()
281 if (test_bit(IIO_BUSY_BIT_POS, &rb->flags)) in iio_buffer_write_wrapper()
294 if (test_bit(IIO_BUSY_BIT_POS, &rb->flags)) in iio_buffer_poll_wrapper()
1507 clear_bit(IIO_BUSY_BIT_POS, &buffer->flags); in iio_buffer_chrdev_release()
1540 if (test_and_set_bit(IIO_BUSY_BIT_POS, &buffer->flags)) { in iio_device_buffer_getfd()
1580 clear_bit(IIO_BUSY_BIT_POS, &buffer->flags); in iio_device_buffer_getfd()
Dindustrialio-core.c1765 if (test_and_set_bit(IIO_BUSY_BIT_POS, &iio_dev_opaque->flags)) in iio_chrdev_open()
1773 clear_bit(IIO_BUSY_BIT_POS, &iio_dev_opaque->flags); in iio_chrdev_open()
1800 clear_bit(IIO_BUSY_BIT_POS, &iio_dev_opaque->flags); in iio_chrdev_release()