dmaengine: dmatest: Describe members of struct dmatest_params
Kernel documentation validator complains that not all members of struct dmatest_params are being described. Describe them all. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20200424161147.16895-5-andriy.shevchenko@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
parent
35c5fc0285
commit
7f2b722668
|
@ -72,10 +72,6 @@ static bool norandom;
|
||||||
module_param(norandom, bool, 0644);
|
module_param(norandom, bool, 0644);
|
||||||
MODULE_PARM_DESC(norandom, "Disable random offset setup (default: random)");
|
MODULE_PARM_DESC(norandom, "Disable random offset setup (default: random)");
|
||||||
|
|
||||||
static bool polled;
|
|
||||||
module_param(polled, bool, S_IRUGO | S_IWUSR);
|
|
||||||
MODULE_PARM_DESC(polled, "Use polling for completion instead of interrupts");
|
|
||||||
|
|
||||||
static bool verbose;
|
static bool verbose;
|
||||||
module_param(verbose, bool, S_IRUGO | S_IWUSR);
|
module_param(verbose, bool, S_IRUGO | S_IWUSR);
|
||||||
MODULE_PARM_DESC(verbose, "Enable \"success\" result messages (default: off)");
|
MODULE_PARM_DESC(verbose, "Enable \"success\" result messages (default: off)");
|
||||||
|
@ -88,6 +84,10 @@ static unsigned int transfer_size;
|
||||||
module_param(transfer_size, uint, 0644);
|
module_param(transfer_size, uint, 0644);
|
||||||
MODULE_PARM_DESC(transfer_size, "Optional custom transfer size in bytes (default: not used (0))");
|
MODULE_PARM_DESC(transfer_size, "Optional custom transfer size in bytes (default: not used (0))");
|
||||||
|
|
||||||
|
static bool polled;
|
||||||
|
module_param(polled, bool, S_IRUGO | S_IWUSR);
|
||||||
|
MODULE_PARM_DESC(polled, "Use polling for completion instead of interrupts");
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* struct dmatest_params - test parameters.
|
* struct dmatest_params - test parameters.
|
||||||
* @buf_size: size of the memcpy test buffer
|
* @buf_size: size of the memcpy test buffer
|
||||||
|
@ -99,6 +99,11 @@ MODULE_PARM_DESC(transfer_size, "Optional custom transfer size in bytes (default
|
||||||
* @xor_sources: number of xor source buffers
|
* @xor_sources: number of xor source buffers
|
||||||
* @pq_sources: number of p+q source buffers
|
* @pq_sources: number of p+q source buffers
|
||||||
* @timeout: transfer timeout in msec, -1 for infinite timeout
|
* @timeout: transfer timeout in msec, -1 for infinite timeout
|
||||||
|
* @noverify: disable data verification
|
||||||
|
* @norandom: disable random offset setup
|
||||||
|
* @alignment: custom data address alignment taken as 2^alignment
|
||||||
|
* @transfer_size: custom transfer size in bytes
|
||||||
|
* @polled: use polling for completion instead of interrupts
|
||||||
*/
|
*/
|
||||||
struct dmatest_params {
|
struct dmatest_params {
|
||||||
unsigned int buf_size;
|
unsigned int buf_size;
|
||||||
|
|
Loading…
Reference in New Issue