Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Enumerations | Functions | Variables
wusb-wa.h File Reference

Go to the source code of this file.

Data Structures

struct  usb_rpipe_descriptor
 
struct  wa_notif_hdr
 
struct  hwa_notif_dn
 
struct  wa_xfer_hdr
 
struct  wa_xfer_ctl
 
struct  wa_xfer_bi
 
struct  wa_xfer_hwaiso
 
struct  wa_xfer_abort
 
struct  wa_notif_xfer
 
struct  wa_xfer_result
 
struct  usb_wa_descriptor
 
struct  hwa_dev_info
 

Enumerations

enum  { WA_EXEC_RC_CMD = 40 }
 
enum  {
  WUSB_REQ_ADD_MMC_IE = 20, WUSB_REQ_REMOVE_MMC_IE = 21, WUSB_REQ_SET_NUM_DNTS = 22, WUSB_REQ_SET_CLUSTER_ID = 23,
  WUSB_REQ_SET_DEV_INFO = 24, WUSB_REQ_GET_TIME = 25, WUSB_REQ_SET_STREAM_IDX = 26, WUSB_REQ_SET_WUSB_MAS = 27,
  WUSB_REQ_CHAN_STOP = 28
}
 
enum  { WUSB_TIME_ADJ = 0, WUSB_TIME_BPST = 1, WUSB_TIME_WUSB = 2 }
 
enum  { WA_ENABLE = 0x01, WA_RESET = 0x02, RPIPE_PAUSE = 0x1 }
 
enum  { WA_STATUS_ENABLED = 0x01, WA_STATUS_RESETTING = 0x02 }
 
enum  rpipe_crs { RPIPE_CRS_CTL = 0x01, RPIPE_CRS_ISO = 0x02, RPIPE_CRS_BULK = 0x04, RPIPE_CRS_INTR = 0x08 }
 
enum  wa_notif_type {
  DWA_NOTIF_RWAKE = 0x91, DWA_NOTIF_PORTSTATUS = 0x92, WA_NOTIF_TRANSFER = 0x93, HWA_NOTIF_BPST_ADJ = 0x94,
  HWA_NOTIF_DN = 0x95
}
 
enum  wa_xfer_type {
  WA_XFER_TYPE_CTL = 0x80, WA_XFER_TYPE_BI = 0x81, WA_XFER_TYPE_ISO = 0x82, WA_XFER_RESULT = 0x83,
  WA_XFER_ABORT = 0x84
}
 
enum  {
  WA_XFER_STATUS_SUCCESS, WA_XFER_STATUS_HALTED, WA_XFER_STATUS_DATA_BUFFER_ERROR, WA_XFER_STATUS_BABBLE,
  WA_XFER_RESERVED, WA_XFER_STATUS_NOT_FOUND, WA_XFER_STATUS_INSUFFICIENT_RESOURCE, WA_XFER_STATUS_TRANSACTION_ERROR,
  WA_XFER_STATUS_ABORTED, WA_XFER_STATUS_RPIPE_NOT_READY, WA_XFER_INVALID_FORMAT, WA_XFER_UNEXPECTED_SEGMENT_NUMBER,
  WA_XFER_STATUS_RPIPE_TYPE_MISMATCH
}
 

Functions

struct usb_rpipe_descriptor __attribute__ ((packed))
 

Variables

u8 bLength
 
u8 bDescriptorType
 
__le16 wRPipeIndex
 
__le16 wRequests
 
__le16 wBlocks
 
__le16 wMaxPacketSize
 
u8 bHSHubAddress
 
u8 bHSHubPort
 
u8 bSpeed
 
u8 bDeviceAddress
 
u8 bEndpointAddress
 
u8 bDataSequence
 
__le32 dwCurrentWindow
 
u8 bMaxDataSequence
 
u8 bInterval
 
u8 bOverTheAirInterval
 
u8 bmAttribute
 
u8 bmCharacteristics
 
u8 bmRetryOptions
 
__le16 wNumTransactionErrors
 
enum wa_notif_type __attribute__
 
u8 bNotifyType
 
struct wa_notif_hdr hdr
 
u8 bSourceDeviceAddr
 
u8 bmAttributes
 
struct wusb_dn_hdr dndata []
 
u8 bRequestType
 
__le16 wRPipe
 
__le32 dwTransferID
 
__le32 dwTransferLength
 
u8 bTransferSegment
 
__le16 wReserved
 
struct usb_ctrlrequest baSetupData
 
u8 bReserved
 
__le16 wPresentationTime
 
__le32 dwNumOfPackets
 
u8 bEndpoint
 
u8 Reserved
 
u8 bTransferStatus
 
u16 bcdWAVersion
 
u8 bNumPorts
 
u16 wNumRPipes
 
u16 wRPipeMaxBlock
 
u8 bRPipeBlockSize
 
u8 bPwrOn2PwrGood
 
u8 bNumMMCIEs
 
u8 DeviceRemovable
 
u8 bmDeviceAvailability [32]
 
__le16 wPHYRates
 
u8 bmDeviceAttribute
 

Enumeration Type Documentation

anonymous enum

Radio Command Request for the Radio Control Interface

Radio Control Interface command and event codes are the same as WHCI, and listed in include/linux/uwb.h:UWB_RC_{CMD,EVT}_*

Enumerator:
WA_EXEC_RC_CMD 

Definition at line 40 of file wusb-wa.h.

anonymous enum
Enumerator:
WUSB_REQ_ADD_MMC_IE 
WUSB_REQ_REMOVE_MMC_IE 
WUSB_REQ_SET_NUM_DNTS 
WUSB_REQ_SET_CLUSTER_ID 
WUSB_REQ_SET_DEV_INFO 
WUSB_REQ_GET_TIME 
WUSB_REQ_SET_STREAM_IDX 
WUSB_REQ_SET_WUSB_MAS 
WUSB_REQ_CHAN_STOP 

Definition at line 45 of file wusb-wa.h.

anonymous enum
Enumerator:
WUSB_TIME_ADJ 
WUSB_TIME_BPST 
WUSB_TIME_WUSB 

Definition at line 59 of file wusb-wa.h.

anonymous enum
Enumerator:
WA_ENABLE 
WA_RESET 
RPIPE_PAUSE 

Definition at line 65 of file wusb-wa.h.

anonymous enum
Enumerator:
WA_STATUS_ENABLED 
WA_STATUS_RESETTING 

Definition at line 72 of file wusb-wa.h.

anonymous enum

Transfer result basic codes [WUSB] table 8-15

Enumerator:
WA_XFER_STATUS_SUCCESS 
WA_XFER_STATUS_HALTED 
WA_XFER_STATUS_DATA_BUFFER_ERROR 
WA_XFER_STATUS_BABBLE 
WA_XFER_RESERVED 
WA_XFER_STATUS_NOT_FOUND 
WA_XFER_STATUS_INSUFFICIENT_RESOURCE 
WA_XFER_STATUS_TRANSACTION_ERROR 
WA_XFER_STATUS_ABORTED 
WA_XFER_STATUS_RPIPE_NOT_READY 
WA_XFER_INVALID_FORMAT 
WA_XFER_UNEXPECTED_SEGMENT_NUMBER 
WA_XFER_STATUS_RPIPE_TYPE_MISMATCH 

Definition at line 212 of file wusb-wa.h.

enum rpipe_crs
Enumerator:
RPIPE_CRS_CTL 
RPIPE_CRS_ISO 
RPIPE_CRS_BULK 
RPIPE_CRS_INTR 

Definition at line 77 of file wusb-wa.h.

Wire Adapter Notification types ([WUSB] sections 8.4.5 & 8.5.4)

These are the notifications coming on the notification endpoint of an HWA and a DWA.

Enumerator:
DWA_NOTIF_RWAKE 
DWA_NOTIF_PORTSTATUS 
WA_NOTIF_TRANSFER 
HWA_NOTIF_BPST_ADJ 
HWA_NOTIF_DN 

Definition at line 118 of file wusb-wa.h.

Enumerator:
WA_XFER_TYPE_CTL 
WA_XFER_TYPE_BI 
WA_XFER_TYPE_ISO 
WA_XFER_RESULT 
WA_XFER_ABORT 

Definition at line 154 of file wusb-wa.h.

Function Documentation

mcontroller : adapter info structure for old mimd_t apps

: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id

Definition at line 171 of file esd_usb2.c.

Variable Documentation

enum { ... } __attribute__
struct usb_ctrlrequest baSetupData

Definition at line 181 of file wusb-wa.h.

u16 bcdWAVersion

Definition at line 263 of file wusb-wa.h.

u8 bDataSequence

Definition at line 122 of file wusb-wa.h.

u8 bDescriptorType

Definition at line 112 of file wusb-wa.h.

u8 bDeviceAddress

Definition at line 120 of file wusb-wa.h.

u8 bEndpoint

Definition at line 211 of file wusb-wa.h.

__u8 bEndpointAddress

Definition at line 121 of file wusb-wa.h.

u8 bHSHubAddress

Definition at line 117 of file wusb-wa.h.

u8 bHSHubPort

Definition at line 118 of file wusb-wa.h.

u8 bInterval

Definition at line 125 of file wusb-wa.h.

u8 bLength

Definition at line 111 of file wusb-wa.h.

u8 bmAttribute

Definition at line 127 of file wusb-wa.h.

u8 bmAttributes

Definition at line 154 of file wusb-wa.h.

u8 bMaxDataSequence

Definition at line 124 of file wusb-wa.h.

u8 bmCharacteristics

Definition at line 128 of file wusb-wa.h.

u8 bmDeviceAttribute

Definition at line 274 of file wusb-wa.h.

u8 bmDeviceAvailability[32]

Definition at line 271 of file wusb-wa.h.

u8 bmRetryOptions

Definition at line 129 of file wusb-wa.h.

u8 bNotifyType

Definition at line 137 of file wusb-wa.h.

u8 bNumMMCIEs

Definition at line 270 of file wusb-wa.h.

u8 bNumPorts

Definition at line 264 of file wusb-wa.h.

u8 bOverTheAirInterval

Definition at line 126 of file wusb-wa.h.

u8 bPwrOn2PwrGood

Definition at line 269 of file wusb-wa.h.

u8 bRequestType

Definition at line 172 of file wusb-wa.h.

__u8 bReserved

Definition at line 185 of file wusb-wa.h.

u8 bRPipeBlockSize

Definition at line 268 of file wusb-wa.h.

u8 bSourceDeviceAddr

Definition at line 153 of file wusb-wa.h.

u8 bSpeed

Definition at line 119 of file wusb-wa.h.

u8 bTransferSegment

Definition at line 176 of file wusb-wa.h.

u8 bTransferStatus

Definition at line 241 of file wusb-wa.h.

__le16 DeviceRemovable

Definition at line 271 of file wusb-wa.h.

struct wusb_dn_hdr dndata[]

Definition at line 155 of file wusb-wa.h.

__le32 dwCurrentWindow

Definition at line 123 of file wusb-wa.h.

__le32 dwNumOfPackets

Definition at line 195 of file wusb-wa.h.

__le32 dwTransferID

Definition at line 174 of file wusb-wa.h.

__le32 dwTransferLength

Definition at line 175 of file wusb-wa.h.

Definition at line 152 of file wusb-wa.h.

u8 Reserved

Definition at line 212 of file wusb-wa.h.

__le16 wBlocks

Definition at line 115 of file wusb-wa.h.

__le16 wMaxPacketSize

Definition at line 116 of file wusb-wa.h.

u16 wNumRPipes

Definition at line 266 of file wusb-wa.h.

__le16 wNumTransactionErrors

Definition at line 130 of file wusb-wa.h.

__le16 wPHYRates

Definition at line 273 of file wusb-wa.h.

__le16 wPresentationTime

Definition at line 194 of file wusb-wa.h.

__le16 wRequests

Definition at line 114 of file wusb-wa.h.

__le16 wReserved

Definition at line 180 of file wusb-wa.h.

__le16 wRPipe

Definition at line 173 of file wusb-wa.h.

__le16 wRPipeIndex

Definition at line 113 of file wusb-wa.h.

u16 wRPipeMaxBlock

Definition at line 267 of file wusb-wa.h.