Lines Matching +full:wait +full:- +full:state
21 capability of the following: DMA_MEMCPY (memory-to-memory), DMA_MEMSET
22 (const-to-memory or memory-to-memory, when emulated), DMA_XOR, DMA_PQ.
28 Part 1 - How to build the test module
33 Device Drivers -> DMA Engine support -> DMA Test client
38 Part 2 - When dmatest is built as a module
57 Example of multi-channel test usage (new in the 5.0 kernel)::
68 For all tests, starting in the 5.0 kernel, either single- or multi-channel,
80 % ls -1 /sys/class/dma/
88 The following command returns the state of the test. ::
92 To wait for test completion userspace can poll 'run' until it is false, or use
93 the wait parameter. Specifying 'wait=1' when loading the module causes module
95 /sys/module/dmatest/parameters/wait waits for any running test to complete
96 before returning. For example, the following scripts wait for 42 tests
102 % modprobe dmatest run=1 iterations=42 wait=1
103 % modprobe -r dmatest
108 % cat /sys/module/dmatest/parameters/wait
109 % modprobe -r dmatest
111 Part 3 - When built-in in the kernel
116 re-run with the same or different parameters. For the details see the above
117 section `Part 2 - When dmatest is built as a module`_.
120 case. You always could check them at run-time by running ::
122 % grep -H . /sys/module/dmatest/parameters/*
124 Part 4 - Gathering the test results
133 % dmesg | tail -n 1
134 dmatest: result dma0chan0-copy0: #1: No errors with src_off=0x7bf dst_off=0x8ad len=0x3fea (0)
144 % dmesg | tail -n 1
145 dmatest: dma0chan0-copy0: summary 1 test, 0 failures 1000 iops 100000 KB/s (0)
150 Part 5 - Handling channel allocation
154 -------------------
217 -------------------