aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorBen Walker <benjamin.walker@intel.com>2022-03-01 11:25:48 -0700
committerVinod Koul <vkoul@kernel.org>2022-04-20 17:28:12 +0530
commitfc44ff0ae9f2aa20b64c4e63ab4614156df80240 (patch)
tree0b27142d92dd94e768a4d075b43df4628be831ea /Documentation
parentdmaengine: idxd: move wq irq enabling to after device enable (diff)
downloadlinux-dev-fc44ff0ae9f2aa20b64c4e63ab4614156df80240.tar.xz
linux-dev-fc44ff0ae9f2aa20b64c4e63ab4614156df80240.zip
dmaengine: Document dmaengine_prep_dma_memset
Document this function to make clear the expected behavior of the 'value' parameter. It was intended to match the behavior of POSIX memset as laid out here: https://lore.kernel.org/dmaengine/YejrA5ZWZ3lTRO%2F1@matsya/ Signed-off-by: Ben Walker <benjamin.walker@intel.com> Link: https://lore.kernel.org/r/20220301182551.883474-2-benjamin.walker@intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/driver-api/dmaengine/provider.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/driver-api/dmaengine/provider.rst b/Documentation/driver-api/dmaengine/provider.rst
index d3fa80e333b1..1e0f1f85d10e 100644
--- a/Documentation/driver-api/dmaengine/provider.rst
+++ b/Documentation/driver-api/dmaengine/provider.rst
@@ -206,6 +206,12 @@ Currently, the types available are:
- The device is able to perform parity check using RAID6 P+Q
algorithm against a memory buffer.
+- DMA_MEMSET
+
+ - The device is able to fill memory with the provided pattern
+
+ - The pattern is treated as a single byte signed value.
+
- DMA_INTERRUPT
- The device is able to trigger a dummy transfer that will