Searched refs:buffer_ioctl_handler (Results 1 – 2 of 2) sorted by relevance
54 struct iio_ioctl_handler *buffer_ioctl_handler; member
1771 sz = sizeof(*(iio_dev_opaque->buffer_ioctl_handler)); in iio_buffers_alloc_sysfs_and_mask()1772 iio_dev_opaque->buffer_ioctl_handler = kzalloc(sz, GFP_KERNEL); in iio_buffers_alloc_sysfs_and_mask()1773 if (!iio_dev_opaque->buffer_ioctl_handler) { in iio_buffers_alloc_sysfs_and_mask()1778 iio_dev_opaque->buffer_ioctl_handler->ioctl = iio_device_buffer_ioctl; in iio_buffers_alloc_sysfs_and_mask()1780 iio_dev_opaque->buffer_ioctl_handler); in iio_buffers_alloc_sysfs_and_mask()1801 iio_device_ioctl_handler_unregister(iio_dev_opaque->buffer_ioctl_handler); in iio_buffers_free_sysfs_and_mask()1802 kfree(iio_dev_opaque->buffer_ioctl_handler); in iio_buffers_free_sysfs_and_mask()
Completed in 8 milliseconds