diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2026-02-14 13:06:51 -0800 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2026-02-14 13:06:51 -0800 |
| commit | 273a171dee33cb77070d7259c469d9440548c7df (patch) | |
| tree | d82dffe3e4affbce24e05db216d9450743aae625 /include/linux/iio/buffer_impl.h | |
| parent | 19a5d9ba6208e9006a2a9d5962aea4d6e427d8ab (diff) | |
| parent | ab2e361ca97a42b7af8be1d273646b30d3b75bf3 (diff) | |
Merge branch 'next' into for-linus
Prepare input updates for 7.0 merge window.
Diffstat (limited to 'include/linux/iio/buffer_impl.h')
| -rw-r--r-- | include/linux/iio/buffer_impl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/iio/buffer_impl.h b/include/linux/iio/buffer_impl.h index e72552e026f3..8d770ced66b2 100644 --- a/include/linux/iio/buffer_impl.h +++ b/include/linux/iio/buffer_impl.h @@ -50,6 +50,7 @@ struct sg_table; * @enqueue_dmabuf: called from userspace via ioctl to queue this DMABUF * object to this buffer. Requires a valid DMABUF fd, that * was previouly attached to this buffer. + * @get_dma_dev: called to get the DMA channel associated with this buffer. * @lock_queue: called when the core needs to lock the buffer queue; * it is used when enqueueing DMABUF objects. * @unlock_queue: used to unlock a previously locked buffer queue @@ -90,6 +91,7 @@ struct iio_buffer_access_funcs { struct iio_dma_buffer_block *block, struct dma_fence *fence, struct sg_table *sgt, size_t size, bool cyclic); + struct device * (*get_dma_dev)(struct iio_buffer *buffer); void (*lock_queue)(struct iio_buffer *buffer); void (*unlock_queue)(struct iio_buffer *buffer); |
