Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
usbpipe.c File Reference
#include "int.h"
#include "rxtx.h"
#include "dpc.h"
#include "control.h"
#include "desc.h"
#include "device.h"

Go to the source code of this file.

Macros

#define USB_CTL_WAIT   500
 
#define URB_ASYNC_UNLINK   0
 

Functions

int PIPEnsControlOutAsyn (PSDevice pDevice, BYTE byRequest, WORD wValue, WORD wIndex, WORD wLength, PBYTE pbyBuffer)
 
int PIPEnsControlOut (PSDevice pDevice, BYTE byRequest, WORD wValue, WORD wIndex, WORD wLength, PBYTE pbyBuffer)
 
int PIPEnsControlIn (PSDevice pDevice, BYTE byRequest, WORD wValue, WORD wIndex, WORD wLength, PBYTE pbyBuffer)
 
int PIPEnsInterruptRead (PSDevice pDevice)
 
int PIPEnsBulkInUsbRead (PSDevice pDevice, PRCB pRCB)
 
int PIPEnsSendBulkOut (PSDevice pDevice, PUSB_SEND_CONTEXT pContext)
 

Macro Definition Documentation

#define URB_ASYNC_UNLINK   0

Definition at line 62 of file usbpipe.c.

#define USB_CTL_WAIT   500

Definition at line 59 of file usbpipe.c.

Function Documentation

int PIPEnsBulkInUsbRead ( PSDevice  pDevice,
PRCB  pRCB 
)

Definition at line 486 of file usbpipe.c.

int PIPEnsControlIn ( PSDevice  pDevice,
BYTE  byRequest,
WORD  wValue,
WORD  wIndex,
WORD  wLength,
PBYTE  pbyBuffer 
)

Definition at line 209 of file usbpipe.c.

int PIPEnsControlOut ( PSDevice  pDevice,
BYTE  byRequest,
WORD  wValue,
WORD  wIndex,
WORD  wLength,
PBYTE  pbyBuffer 
)

Definition at line 150 of file usbpipe.c.

int PIPEnsControlOutAsyn ( PSDevice  pDevice,
BYTE  byRequest,
WORD  wValue,
WORD  wIndex,
WORD  wLength,
PBYTE  pbyBuffer 
)

Definition at line 107 of file usbpipe.c.

int PIPEnsInterruptRead ( PSDevice  pDevice)

Definition at line 348 of file usbpipe.c.

int PIPEnsSendBulkOut ( PSDevice  pDevice,
PUSB_SEND_CONTEXT  pContext 
)

Definition at line 621 of file usbpipe.c.