#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/device.h>
#include <linux/module.h>
#include "g_zero.h"
#include "gadget_chips.h"
Go to the source code of this file.
|
| module_param (pattern, uint, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (pattern,"0 = all zeroes, 1 = mod63, 2 = none") |
|
| module_param (isoc_interval, uint, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (isoc_interval,"1 - 16") |
|
| module_param (isoc_maxpacket, uint, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (isoc_maxpacket,"0 - 1023 (fs), 0 - 1024 (hs/ss)") |
|
| module_param (isoc_mult, uint, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (isoc_mult,"0 - 2 (hs/ss only)") |
|
| module_param (isoc_maxburst, uint, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (isoc_maxburst,"0 - 15 (ss only)") |
|
int __init | sourcesink_add (struct usb_composite_dev *cdev, bool autoresume) |
|
#define FS_ALT_IFC_1_OFFSET 3 |
#define HS_ALT_IFC_1_OFFSET 3 |
#define SS_ALT_IFC_1_OFFSET 5 |
module_param |
( |
isoc_interval |
, |
|
|
uint |
, |
|
|
S_IRUGO| |
S_IWUSR |
|
) |
| |
module_param |
( |
isoc_maxpacket |
, |
|
|
uint |
, |
|
|
S_IRUGO| |
S_IWUSR |
|
) |
| |
module_param |
( |
isoc_maxburst |
, |
|
|
uint |
, |
|
|
S_IRUGO| |
S_IWUSR |
|
) |
| |
MODULE_PARM_DESC |
( |
isoc_interval |
, |
|
|
"1 - 16" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
isoc_maxpacket |
, |
|
|
"0 - 1023 |
fs, |
|
|
0-1024(hs/ss)" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
isoc_mult |
, |
|
|
"0 - 2 (hs/ss only)" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
isoc_maxburst |
, |
|
|
"0 - 15 (ss only)" |
|
|
) |
| |
sourcesink_add - add a source/sink testing configuration to a device : the device to support the configuration
Definition at line 873 of file f_sourcesink.c.
Initial value:= {
.bMaxBurst = 0,
.bmAttributes = 0,
}
Definition at line 269 of file f_sourcesink.c.
Initial value:= {
.bMaxBurst = 0,
.bmAttributes = 0,
}
Definition at line 251 of file f_sourcesink.c.
Initial value:= {
.bMaxBurst = 0,
.bmAttributes = 0,
.wBytesPerInterval = 0,
}
Definition at line 233 of file f_sourcesink.c.
Initial value:= {
.bMaxBurst = 0,
.bmAttributes = 0,
.wBytesPerInterval = 0,
}
Definition at line 216 of file f_sourcesink.c.