diff options
| author | Abdiel Janulgue <[email protected]> | 2025-06-02 08:53:13 +0000 |
|---|---|---|
| committer | Danilo Krummrich <[email protected]> | 2025-06-23 13:44:30 +0000 |
| commit | d37a39f607c4a479d59781639b9c2a05448568a3 (patch) | |
| tree | c5a023df7772fded7ee80e385a83402a3b42654a /rust/helpers/device.c | |
| parent | rust: dma: convert the read/write macros to return Result (diff) | |
| download | kernel-d37a39f607c4a479d59781639b9c2a05448568a3.tar.gz kernel-d37a39f607c4a479d59781639b9c2a05448568a3.zip | |
rust: dma: add as_slice/write functions for CoherentAllocation
Add unsafe accessors for the region for reading or writing large
blocks of data.
Reviewed-by: Andreas Hindborg <[email protected]>
Signed-off-by: Abdiel Janulgue <[email protected]>
Reviewed-by: Alexandre Courbot <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[ Fix line length and slightly reword safety comment in doc-test of
CoherentAllocation::write(); fix formatting issue. - Danilo ]
Signed-off-by: Danilo Krummrich <[email protected]>
Diffstat (limited to 'rust/helpers/device.c')
0 files changed, 0 insertions, 0 deletions
