#include <linux/blkdev.h>
#include <linux/pagemap.h>
#include <linux/export.h>
#include <linux/hid.h>
#include <asm/unaligned.h>
#include <linux/usb/composite.h>
#include <linux/usb/functionfs.h>
Go to the source code of this file.
|
enum | ffs_state {
FFS_READ_DESCRIPTORS,
FFS_READ_STRINGS,
FFS_ACTIVE,
FFS_CLOSING,
FFS_READ_DESCRIPTORS,
FFS_READ_STRINGS,
FFS_ACTIVE,
FFS_CLOSING
} |
|
enum | ffs_setup_state {
FFS_NO_SETUP,
FFS_SETUP_PENDING,
FFS_SETUP_CANCELED,
FFS_NO_SETUP,
FFS_SETUP_PENDING,
FFS_SETUP_CANCELED
} |
|
enum | ffs_entity_type {
FFS_DESCRIPTOR,
FFS_INTERFACE,
FFS_STRING,
FFS_ENDPOINT,
FFS_DESCRIPTOR,
FFS_INTERFACE,
FFS_STRING,
FFS_ENDPOINT
} |
|
Value:do { \
pr_vdebug(
"entity " #
type "(%02x)\n", (
val)); \
pr_vdebug("invalid entity's value\n"); \
} \
pr_debug(
"entity " #
type "(%02x); ret = %d\n", \
} \
} while (0)
#define __entity_check_INTERFACE |
( |
|
val | ) |
1 |
#define __entity_check_STRING |
( |
|
val | ) |
(val) |
#define FFS_FL_CALL_CLOSED_CALLBACK 0 |
#define FFS_SETUP_STATE |
( |
|
ffs | ) |
|
Value:
Definition at line 164 of file f_fs.c.
#define FUNCTIONFS_MAGIC 0xa647361 /* Chosen by a honest dice roll ;) */ |
#define pr_vdebug |
( |
|
... | ) |
do { } while (0) |
- Enumerator:
FFS_DESCRIPTOR |
|
FFS_INTERFACE |
|
FFS_STRING |
|
FFS_ENDPOINT |
|
FFS_DESCRIPTOR |
|
FFS_INTERFACE |
|
FFS_STRING |
|
FFS_ENDPOINT |
|
Definition at line 1607 of file f_fs.c.
- Enumerator:
FFS_NO_SETUP |
|
FFS_SETUP_PENDING |
|
FFS_SETUP_CANCELED |
|
FFS_NO_SETUP |
|
FFS_SETUP_PENDING |
|
FFS_SETUP_CANCELED |
|
Definition at line 92 of file f_fs.c.
- Enumerator:
FFS_READ_DESCRIPTORS |
|
FFS_READ_STRINGS |
|
FFS_ACTIVE |
|
FFS_CLOSING |
|
FFS_READ_DESCRIPTORS |
|
FFS_READ_STRINGS |
|
FFS_ACTIVE |
|
FFS_CLOSING |
|
Definition at line 54 of file f_fs.c.