Searched refs:IIO_BUSY_BIT_POS (Results 1 – 4 of 4) sorted by relevance
/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 | 271 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()
|
D | industrialio-core.c | 1749 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()
|