Lines Matching refs:dmatest
7 This small document introduces how to test DMA drivers using dmatest module.
21 In the configuration file the option called CONFIG_DMATEST. The dmatest could
24 Part 2 - When dmatest is built as a module
29 % modprobe dmatest channel=dma0chan0 timeout=2000 iterations=1 run=1
33 % modprobe dmatest
34 % echo dma0chan0 > /sys/module/dmatest/parameters/channel
35 % echo 2000 > /sys/module/dmatest/parameters/timeout
36 % echo 1 > /sys/module/dmatest/parameters/iterations
37 % echo 1 > /sys/module/dmatest/parameters/run
41 dmatest.channel=dma0chan0 dmatest.timeout=2000 dmatest.iterations=1 dmatest.run=1
48 Once started a message like "dmatest: Started 1 threads using dma0chan0" is
56 % cat /sys/module/dmatest/parameters/run
61 /sys/module/dmatest/parameters/wait waits for any running test to complete
68 % modprobe dmatest run=1 iterations=42 wait=1
69 % modprobe -r dmatest
73 % modprobe dmatest run=1 iterations=42
74 % cat /sys/module/dmatest/parameters/wait
75 % modprobe -r dmatest
83 section `Part 2 - When dmatest is built as a module`_.
88 % grep -H . /sys/module/dmatest/parameters/*
95 …"dmatest: result <channel>: <test id>: '<error msg>' with src_off=<val> dst_off=<val> len=<val> (<…
100 dmatest: result dma0chan0-copy0: #1: No errors with src_off=0x7bf dst_off=0x8ad len=0x3fea (0)
111 dmatest: dma0chan0-copy0: summary 1 test, 0 failures 1000 iops 100000 KB/s (0)