#include <linux/init.h>
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/delay.h>
#include <linux/kernel.h>
#include <linux/utsname.h>
#include <linux/platform_device.h>
#include <linux/usb/ch9.h>
#include "composite.h"
#include <linux/usb/gadget.h>
#include "gadget_chips.h"
#include "usbstring.c"
#include "config.c"
#include "epautoconf.c"
#include "composite.c"
#include "f_mass_storage.c"
#include "u_serial.c"
#include "f_acm.c"
#include "f_rndis.c"
#include "rndis.c"
#include "u_ether.c"
#include "f_fs.c"
Go to the source code of this file.
#define DESCRIPTOR_ATTR |
( |
|
field, |
|
|
|
format_string |
|
) |
| |
Value:static ssize_t \
{ \
return
sprintf(
buf, format_string, device_desc.field); \
} \
static ssize_t \
{ \
if (
sscanf(
buf, format_string, &value) == 1) { \
device_desc.field =
value; \
} \
return -1; \
} \
Definition at line 1059 of file ccg.c.
Definition at line 71 of file ccg.c.
#define MAX_ACM_INSTANCES 4 |
#define PRODUCT_ID 0x0107 |
Definition at line 70 of file ccg.c.
Definition at line 55 of file ccg.c.
#define VENDOR_ID 0x1d6b /* Linux Foundation */ |
Definition at line 69 of file ccg.c.
MODULE_AUTHOR |
( |
"Mike |
Lockwood, |
|
|
Andrzej Pietrasiewicz" |
|
|
) |
| |
MODULE_DESCRIPTION |
( |
"Configurable Composite USB Gadget" |
| ) |
|