Searched refs:IIO_BUSY_BIT_POS (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/iio/ |
D | industrialio-event.c | 49 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()
|
D | iio_core.h | 62 #define IIO_BUSY_BIT_POS 1 macro
|
D | industrialio-buffer.c | 268 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()
|
D | industrialio-core.c | 1765 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()
|