Home
last modified time | relevance | path

Searched refs:buffer_ioctl_handler (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/include/linux/iio/
Diio-opaque.h52 struct iio_ioctl_handler *buffer_ioctl_handler; member
/Linux-v6.1/drivers/iio/
Dindustrialio-buffer.c1763 sz = sizeof(*(iio_dev_opaque->buffer_ioctl_handler)); in iio_buffers_alloc_sysfs_and_mask()
1764 iio_dev_opaque->buffer_ioctl_handler = kzalloc(sz, GFP_KERNEL); in iio_buffers_alloc_sysfs_and_mask()
1765 if (!iio_dev_opaque->buffer_ioctl_handler) { in iio_buffers_alloc_sysfs_and_mask()
1770 iio_dev_opaque->buffer_ioctl_handler->ioctl = iio_device_buffer_ioctl; in iio_buffers_alloc_sysfs_and_mask()
1772 iio_dev_opaque->buffer_ioctl_handler); in iio_buffers_alloc_sysfs_and_mask()
1793 iio_device_ioctl_handler_unregister(iio_dev_opaque->buffer_ioctl_handler); in iio_buffers_free_sysfs_and_mask()
1794 kfree(iio_dev_opaque->buffer_ioctl_handler); in iio_buffers_free_sysfs_and_mask()