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

Go to the source code of this file.

Macros

#define CONTROLnsRequestOut(Device, Request, Value, Index, Length, Buffer)   PIPEnsControlOut(Device, Request, Value, Index, Length, Buffer)
 
#define CONTROLnsRequestOutAsyn(Device, Request, Value, Index, Length, Buffer)   PIPEnsControlOutAsyn(Device, Request, Value, Index, Length, Buffer)
 
#define CONTROLnsRequestIn(Device, Request, Value, Index, Length, Buffer)   PIPEnsControlIn(Device, Request, Value, Index, Length, Buffer)
 

Functions

void ControlvWriteByte (PSDevice pDevice, BYTE byRegType, BYTE byRegOfs, BYTE byData)
 
void ControlvReadByte (PSDevice pDevice, BYTE byRegType, BYTE byRegOfs, PBYTE pbyData)
 
void ControlvMaskByte (PSDevice pDevice, BYTE byRegType, BYTE byRegOfs, BYTE byMask, BYTE byData)
 

Macro Definition Documentation

#define CONTROLnsRequestIn (   Device,
  Request,
  Value,
  Index,
  Length,
  Buffer 
)    PIPEnsControlIn(Device, Request, Value, Index, Length, Buffer)

Definition at line 45 of file control.h.

#define CONTROLnsRequestOut (   Device,
  Request,
  Value,
  Index,
  Length,
  Buffer 
)    PIPEnsControlOut(Device, Request, Value, Index, Length, Buffer)

Definition at line 39 of file control.h.

#define CONTROLnsRequestOutAsyn (   Device,
  Request,
  Value,
  Index,
  Length,
  Buffer 
)    PIPEnsControlOutAsyn(Device, Request, Value, Index, Length, Buffer)

Definition at line 42 of file control.h.

Function Documentation

void ControlvMaskByte ( PSDevice  pDevice,
BYTE  byRegType,
BYTE  byRegOfs,
BYTE  byMask,
BYTE  byData 
)

Definition at line 86 of file control.c.

void ControlvReadByte ( PSDevice  pDevice,
BYTE  byRegType,
BYTE  byRegOfs,
PBYTE  pbyData 
)

Definition at line 72 of file control.c.

void ControlvWriteByte ( PSDevice  pDevice,
BYTE  byRegType,
BYTE  byRegOfs,
BYTE  byData 
)

Definition at line 59 of file control.c.