Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/iio/
H A Diio-opaque.h53 unsigned int attached_buffers_cnt; member
/openbmc/linux/drivers/iio/
H A Dindustrialio-buffer.c316 for (i = 0; i < iio_dev_opaque->attached_buffers_cnt; i++) { in iio_buffer_wakeup_poll()
348 for (i = 0; i < iio_dev_opaque->attached_buffers_cnt; i++) { in iio_device_detach_buffers()
1541 if (idx >= iio_dev_opaque->attached_buffers_cnt) in iio_device_buffer_getfd()
1764 if (!iio_dev_opaque->attached_buffers_cnt) in iio_buffers_alloc_sysfs_and_mask()
1767 for (idx = 0; idx < iio_dev_opaque->attached_buffers_cnt; idx++) { in iio_buffers_alloc_sysfs_and_mask()
1801 if (!iio_dev_opaque->attached_buffers_cnt) in iio_buffers_free_sysfs_and_mask()
1807 for (i = iio_dev_opaque->attached_buffers_cnt - 1; i >= 0; i--) { in iio_buffers_free_sysfs_and_mask()
1987 unsigned int cnt = iio_dev_opaque->attached_buffers_cnt; in iio_device_attach_buffer()
2003 iio_dev_opaque->attached_buffers_cnt = cnt; in iio_device_attach_buffer()
H A Dindustrialio-core.c1962 if (iio_dev_opaque->attached_buffers_cnt) in __iio_device_register()
1967 if (iio_dev_opaque->attached_buffers_cnt || iio_dev_opaque->event_interface) { in __iio_device_register()