summaryrefslogtreecommitdiffstats
path: root/rust
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@kernel.org>2025-12-29 12:30:06 +0100
committerDanilo Krummrich <dakr@kernel.org>2025-12-29 12:30:53 +0100
commit7bf97992afa4e815f4ed84638340e2a93de65504 (patch)
tree79eba63468803b3a36685e8ea4982d8842ce1887 /rust
parentd43a12e474351161bb6d7e2a17ab56f591b9302d (diff)
parentf8f9c1f4d0c7a64600e2ca312dec824a0bc2f1da (diff)
downloadlinux-7bf97992afa4e815f4ed84638340e2a93de65504.tar.gz
linux-7bf97992afa4e815f4ed84638340e2a93de65504.zip
Merge tag 'v6.19-rc3' into driver-core-next
We need the driver-core fixes in here as well to build on top of. Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'rust')
-rw-r--r--rust/helpers/dma.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/rust/helpers/dma.c b/rust/helpers/dma.c
index 8c7e8d7b888e..e7defeecda71 100644
--- a/rust/helpers/dma.c
+++ b/rust/helpers/dma.c
@@ -22,3 +22,24 @@ __rust_helper int rust_helper_dma_set_mask_and_coherent(struct device *dev,
{
return dma_set_mask_and_coherent(dev, mask);
}
+
+int rust_helper_dma_set_mask(struct device *dev, u64 mask)
+{
+ return dma_set_mask(dev, mask);
+}
+
+int rust_helper_dma_set_coherent_mask(struct device *dev, u64 mask)
+{
+ return dma_set_coherent_mask(dev, mask);
+}
+
+int rust_helper_dma_map_sgtable(struct device *dev, struct sg_table *sgt,
+ enum dma_data_direction dir, unsigned long attrs)
+{
+ return dma_map_sgtable(dev, sgt, dir, attrs);
+}
+
+size_t rust_helper_dma_max_mapping_size(struct device *dev)
+{
+ return dma_max_mapping_size(dev);
+}