summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorGary Guo <gary@garyguo.net>2026-07-06 13:44:28 +0100
committerDanilo Krummrich <dakr@kernel.org>2026-07-11 18:09:04 +0200
commit1d409d1e7a874b3aeff8908292bc26ba4113cc06 (patch)
tree74482f05d1945e386565e5b1ee02e4b563d66f2c /drivers/input
parent2fabff7807853804af2ae691b263c3ac5cc9a636 (diff)
downloadlinux-next-1d409d1e7a874b3aeff8908292bc26ba4113cc06.tar.gz
linux-next-1d409d1e7a874b3aeff8908292bc26ba4113cc06.zip
rust: io: implement a view type for `Coherent`
Implement a `CoherentView` type which is a view of `Coherent`. To be able to give out DMA handles, the view type contains both CPU and DMA pointers, and the projection method projects both at once. Delegate most of the `Io` implementation to `SysMemBackend`. Provide a method to erase the DMA handle and give out a `SysMem` view, if the user does not need the `dma_handle`. Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Gary Guo <gary@garyguo.net> Reviewed-by: Daniel Almeida <daniel.almeida@collabora.com> Link: https://patch.msgid.link/20260706-io_projection-v6-15-72cd5d055d54@garyguo.net Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'drivers/input')
0 files changed, 0 insertions, 0 deletions