Linux Kernel
3.7.1
|
#include <linux/kref.h>
#include <linux/usb/composite.h>
#include <linux/usb/uas.h>
#include <linux/usb/storage.h>
#include <scsi/scsi.h>
#include <target/target_core_base.h>
#include <target/target_core_fabric.h>
Go to the source code of this file.
Data Structures | |
struct | usbg_nacl |
struct | tcm_usbg_nexus |
struct | usbg_tpg |
struct | usbg_tport |
struct | usbg_cmd |
struct | uas_stream |
struct | usbg_cdb |
struct | bot_status |
struct | f_uas |
Macros | |
#define | USBG_NAMELEN 32 |
#define | fuas_to_gadget(f) (f->function.config->cdev->gadget) |
#define | UASP_SS_EP_COMP_LOG_STREAMS 4 |
#define | UASP_SS_EP_COMP_NUM_STREAMS (1 << UASP_SS_EP_COMP_LOG_STREAMS) |
#define | USB_G_ALT_INT_BBB 0 |
#define | USB_G_ALT_INT_UAS 1 |
#define | USBG_MAX_CMD 64 |
#define | USBG_ENABLED (1 << 0) |
#define | USBG_IS_UAS (1 << 1) |
#define | USBG_USE_STREAMS (1 << 2) |
#define | USBG_IS_BOT (1 << 3) |
#define | USBG_BOT_CMD_PEND (1 << 4) |
Enumerations | |
enum | { USB_G_STR_CONFIG = USB_GADGET_FIRST_AVAIL_IDX, USB_G_STR_INT_UAS, USB_G_STR_INT_BBB } |
enum | uas_state { UASP_SEND_DATA, UASP_RECEIVE_DATA, UASP_SEND_STATUS, UASP_QUEUE_COMMAND } |
Variables | |
struct usbg_tpg * | the_only_tpg_I_currently_have |
#define fuas_to_gadget | ( | f | ) | (f->function.config->cdev->gadget) |
Definition at line 15 of file tcm_usb_gadget.h.
#define UASP_SS_EP_COMP_LOG_STREAMS 4 |
Definition at line 16 of file tcm_usb_gadget.h.
#define UASP_SS_EP_COMP_NUM_STREAMS (1 << UASP_SS_EP_COMP_LOG_STREAMS) |
Definition at line 17 of file tcm_usb_gadget.h.
#define USB_G_ALT_INT_BBB 0 |
Definition at line 25 of file tcm_usb_gadget.h.
#define USB_G_ALT_INT_UAS 1 |
Definition at line 26 of file tcm_usb_gadget.h.
#define USBG_BOT_CMD_PEND (1 << 4) |
Definition at line 126 of file tcm_usb_gadget.h.
#define USBG_ENABLED (1 << 0) |
Definition at line 122 of file tcm_usb_gadget.h.
#define USBG_IS_BOT (1 << 3) |
Definition at line 125 of file tcm_usb_gadget.h.
#define USBG_IS_UAS (1 << 1) |
Definition at line 123 of file tcm_usb_gadget.h.
#define USBG_MAX_CMD 64 |
Definition at line 73 of file tcm_usb_gadget.h.
#define USBG_NAMELEN 32 |
Definition at line 13 of file tcm_usb_gadget.h.
#define USBG_USE_STREAMS (1 << 2) |
Definition at line 124 of file tcm_usb_gadget.h.
anonymous enum |
Definition at line 19 of file tcm_usb_gadget.h.
enum uas_state |
Definition at line 66 of file tcm_usb_gadget.h.
Definition at line 1536 of file tcm_usb_gadget.c.