Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Enumerations | Functions | Variables
uas.h File Reference
#include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h>

Go to the source code of this file.

Data Structures

struct  iu
 
struct  command_iu
 
struct  task_mgmt_iu
 
struct  sense_iu
 
struct  response_ui
 
struct  usb_pipe_usage_descriptor
 

Enumerations

enum  {
  IU_ID_COMMAND = 0x01, IU_ID_STATUS = 0x03, IU_ID_RESPONSE = 0x04, IU_ID_TASK_MGMT = 0x05,
  IU_ID_READ_READY = 0x06, IU_ID_WRITE_READY = 0x07
}
 
enum  {
  TMF_ABORT_TASK = 0x01, TMF_ABORT_TASK_SET = 0x02, TMF_CLEAR_TASK_SET = 0x04, TMF_LOGICAL_UNIT_RESET = 0x08,
  TMF_I_T_NEXUS_RESET = 0x10, TMF_CLEAR_ACA = 0x40, TMF_QUERY_TASK = 0x80, TMF_QUERY_TASK_SET = 0x81,
  TMF_QUERY_ASYNC_EVENT = 0x82
}
 
enum  {
  RC_TMF_COMPLETE = 0x00, RC_INVALID_INFO_UNIT = 0x02, RC_TMF_NOT_SUPPORTED = 0x04, RC_TMF_FAILED = 0x05,
  RC_TMF_SUCCEEDED = 0x08, RC_INCORRECT_LUN = 0x09, RC_OVERLAPPED_TAG = 0x0a
}
 
enum  {
  CMD_PIPE_ID = 1, STATUS_PIPE_ID = 2, DATA_IN_PIPE_ID = 3, DATA_OUT_PIPE_ID = 4,
  UAS_SIMPLE_TAG = 0, UAS_HEAD_TAG = 1, UAS_ORDERED_TAG = 2, UAS_ACA = 4
}
 

Functions

struct usb_pipe_usage_descriptor __attribute__ ((__packed__))
 

Variables

__u8 bLength
 
__u8 bDescriptorType
 
__u8 bPipeID
 
__u8 Reserved
 
enum { ... }  __attribute__
 

Enumeration Type Documentation

anonymous enum
Enumerator:
IU_ID_COMMAND 
IU_ID_STATUS 
IU_ID_RESPONSE 
IU_ID_TASK_MGMT 
IU_ID_READ_READY 
IU_ID_WRITE_READY 

Definition at line 14 of file uas.h.

anonymous enum
Enumerator:
TMF_ABORT_TASK 
TMF_ABORT_TASK_SET 
TMF_CLEAR_TASK_SET 
TMF_LOGICAL_UNIT_RESET 
TMF_I_T_NEXUS_RESET 
TMF_CLEAR_ACA 
TMF_QUERY_TASK 
TMF_QUERY_TASK_SET 
TMF_QUERY_ASYNC_EVENT 

Definition at line 23 of file uas.h.

anonymous enum
Enumerator:
RC_TMF_COMPLETE 
RC_INVALID_INFO_UNIT 
RC_TMF_NOT_SUPPORTED 
RC_TMF_FAILED 
RC_TMF_SUCCEEDED 
RC_INCORRECT_LUN 
RC_OVERLAPPED_TAG 

Definition at line 35 of file uas.h.

anonymous enum
Enumerator:
CMD_PIPE_ID 
STATUS_PIPE_ID 
DATA_IN_PIPE_ID 
DATA_OUT_PIPE_ID 
UAS_SIMPLE_TAG 
UAS_HEAD_TAG 
UAS_ORDERED_TAG 
UAS_ACA 

Definition at line 98 of file uas.h.

Function Documentation

Definition at line 85 of file mpc512x_dma.c.

Variable Documentation

enum { ... } __attribute__
__u8 bDescriptorType

Definition at line 98 of file uas.h.

__u8 bLength

Definition at line 97 of file uas.h.

__u8 bPipeID

Definition at line 100 of file uas.h.

__u8 Reserved

Definition at line 101 of file uas.h.