aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/io.c
diff options
context:
space:
mode:
authorDanilo Krummrich <[email protected]>2025-07-16 15:02:47 +0000
committerDanilo Krummrich <[email protected]>2025-07-19 17:36:51 +0000
commit101d66828a4eefb89b72256155feb6ec9abc144a (patch)
tree16a134f9a4eb29f60a7fb4cb3cefcf4de49c4f3c /rust/helpers/io.c
parentrust: dma: implement `dma::Device` trait (diff)
downloadkernel-101d66828a4eefb89b72256155feb6ec9abc144a.tar.gz
kernel-101d66828a4eefb89b72256155feb6ec9abc144a.zip
rust: dma: add DMA addressing capabilities
Implement `dma_set_mask()`, `dma_set_coherent_mask()` and `dma_set_mask_and_coherent()` in the `dma::Device` trait. Those methods are used to set up the device's DMA addressing capabilities. Reviewed-by: Abdiel Janulgue <[email protected]> Reviewed-by: Daniel Almeida <[email protected]> Reviewed-by: Greg Kroah-Hartman <[email protected]> Link: https://lore.kernel.org/r/[email protected] [ Add DmaMask::try_new(). - Danilo ] Signed-off-by: Danilo Krummrich <[email protected]>
Diffstat (limited to 'rust/helpers/io.c')
0 files changed, 0 insertions, 0 deletions