Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

vusb.h File Reference


Detailed Description

VUSB - VirtualBox USB.

Definition in file vusb.h.

#include <VBox/cdefs.h>
#include <VBox/types.h>

Go to the source code of this file.

Classes

struct  vusb_urb
struct  vusb_urb::VUSBURBDEV
struct  vusb_urb::VUSBURBHCI
struct  vusb_urb::VUSBURBHCI::VUSBURBHCITD
struct  vusb_urb::VUSBURBVUSB
struct  VUSBIDEVICE
struct  VUSBIRHCONFIG
struct  VUSBIROOTHUBCONNECTOR
struct  VUSBIROOTHUBPORT
struct  VUSBPORTBITMAP
struct  VUSBURBISOCPKT

URB

#define VUSBURB_MAGIC   0x19490112
enum  VUSBDIRECTION { VUSBDIRECTION_SETUP = 0, VUSBDIRECTION_IN = 1, VUSBDIRECTION_OUT = 2, VUSBDIRECTION_INVALID = 0x7f }
enum  VUSBSTATUS {
  VUSBSTATUS_OK = 0, VUSBSTATUS_STALL, VUSBSTATUS_DNR, VUSBSTATUS_CRC,
  VUSBSTATUS_DATA_UNDERRUN, VUSBSTATUS_DATA_OVERRUN, VUSBSTATUS_NOT_ACCESSED, VUSBSTATUS_INVALID = 0x7f
}
enum  VUSBURBSTATE {
  VUSBURBSTATE_INVALID = 0, VUSBURBSTATE_FREE, VUSBURBSTATE_ALLOCATED, VUSBURBSTATE_IN_FLIGHT,
  VUSBURBSTATE_REAPED, VUSBURBSTATE_CANCELLED, VUSBURBSTATE_END, VUSBURBSTATE_32BIT_HACK = 0x7fffffff
}
enum  VUSBXFERTYPE {
  VUSBXFERTYPE_CTRL = 0, VUSBXFERTYPE_ISOC, VUSBXFERTYPE_BULK, VUSBXFERTYPE_INTR,
  VUSBXFERTYPE_MSG, VUSBXFERTYPE_INVALID = 0x7f
}
typedef const VUSBURBISOCPKTPCVUSBURBISOCPKT
typedef VUSBURBISOCPKTPVUSBURBISOCPTK
typedef struct vusb_urb VUSBURB

Defines

#define VUSB_BUS_HZ   12000000
#define VUSB_DIRECTION_IN   VUSBDIRECTION_IN
#define VUSB_DIRECTION_OUT   VUSBDIRECTION_OUT
#define VUSB_DIRECTION_SETUP   VUSBDIRECTION_SETUP
USB Standard version flags.
#define VUSB_STDVER_11   BIT(1)
#define VUSB_STDVER_20   BIT(2)

Typedefs

typedef FNVUSBRESETDONE * PFNVUSBRESETDONE
typedef struct VUSBIDEVICEPVUSBIDEVICE
typedef struct VUSBIRHCONFIGPVUSBIRHCONFIG
typedef struct
VUSBIROOTHUBCONNECTOR
PVUSBIROOTHUBCONNECTOR
typedef struct VUSBIROOTHUBPORTPVUSBIROOTHUBPORT
typedef VUSBPORTBITMAPPVUSBPORTBITMAP
typedef struct vusb_urbPVUSBURB
typedef int void * pvUser
typedef int rc

Enumerations

enum  VUSBDEVICESTATE {
  VUSB_DEVICE_STATE_INVALID = 0, VUSB_DEVICE_STATE_DETACHED, VUSB_DEVICE_STATE_ATTACHED, VUSB_DEVICE_STATE_POWERED,
  VUSB_DEVICE_STATE_DEFAULT, VUSB_DEVICE_STATE_ADDRESS, VUSB_DEVICE_STATE_CONFIGURED, VUSB_DEVICE_STATE_SUSPENDED,
  VUSB_DEVICE_STATE_RESET, VUSB_DEVICE_STATE_RESET_DESTROY, VUSB_DEVICE_STATE_DESTROY, VUSB_DEVICE_STATE_DESTROYED,
  VUSB_DEVICE_STATE_32BIT_HACK = 0x7fffffff
}

Functions

typedef DECLCALLBACK (void) FNVUSBRESETDONE(PVUSBIDEVICE pDevice


Generated by  Doxygen 1.6.0   Back to index