summaryrefslogtreecommitdiff
path: root/rust/helpers/scatterlist.c
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@kernel.org>2025-08-28 15:32:14 +0200
committerDanilo Krummrich <dakr@kernel.org>2025-09-04 23:33:50 +0200
commitc2437c43cfb1f7f461669ba3cd74936fe345640b (patch)
treecfd48c33c10a12673926807f48eb816e1af5e41a /rust/helpers/scatterlist.c
parent779db37373a38f23e2534c7f4ffe8188f5237988 (diff)
rust: dma: implement DataDirection
Add the `DataDirection` struct, a newtype wrapper around the C `enum dma_data_direction`. This provides a type-safe Rust interface for specifying the direction of DMA transfers. Reviewed-by: Alice Ryhl <aliceryhl@google.com> Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> Reviewed-by: Daniel Almeida <daniel.almeida@collabora.com> Reviewed-by: Lyude Paul <lyude@redhat.com> Link: https://lore.kernel.org/r/20250828133323.53311-2-dakr@kernel.org Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'rust/helpers/scatterlist.c')
0 files changed, 0 insertions, 0 deletions