XenevaOS
Loading...
Searching...
No Matches
Classes | Typedefs | Functions
dwhcidevice.h File Reference
#include "uspi/usb.h"
#include "uspi/usbendpoint.h"
#include "uspi/usbrequest.h"
#include "uspi/dwhcirootport.h"
#include "uspi/dwhcixferstagedata.h"
#include "uspi/dwhciregister.h"
#include "uspi/dwhci.h"
#include "uspi/types.h"
#include "uspios.h"
Include dependency graph for dwhcidevice.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TDWHCIDevice
 

Typedefs

typedef struct TDWHCIDevice TDWHCIDevice
 

Functions

void DWHCIDevice (TDWHCIDevice *pThis)
 
void _DWHCIDevice (TDWHCIDevice *pThis)
 
boolean DWHCIDeviceInitialize (TDWHCIDevice *pThis)
 
int DWHCIDeviceGetDescriptor (TDWHCIDevice *pThis, TUSBEndpoint *pEndpoint, unsigned char ucType, unsigned char ucIndex, void *pBuffer, unsigned nBufSize, unsigned char ucRequestType)
 
boolean DWHCIDeviceSetAddress (TDWHCIDevice *pThis, TUSBEndpoint *pEndpoint, u8 ucDeviceAddress)
 
boolean DWHCIDeviceSetConfiguration (TDWHCIDevice *pThis, TUSBEndpoint *pEndpoint, u8 ucConfigurationValue)
 
int DWHCIDeviceControlMessage (TDWHCIDevice *pThis, TUSBEndpoint *pEndpoint, u8 ucRequestType, u8 ucRequest, u16 usValue, u16 usIndex, void *pData, u16 usDataSize)
 
int DWHCIDeviceTransfer (TDWHCIDevice *pThis, TUSBEndpoint *pEndpoint, void *pBuffer, unsigned nBufSize)
 
boolean DWHCIDeviceSubmitBlockingRequest (TDWHCIDevice *pThis, TUSBRequest *pURB)
 
boolean DWHCIDeviceSubmitAsyncRequest (TDWHCIDevice *pThis, TUSBRequest *pURB)
 
TUSBSpeed DWHCIDeviceGetPortSpeed (TDWHCIDevice *pThis)
 
boolean DWHCIDeviceOvercurrentDetected (TDWHCIDevice *pThis)
 
void DWHCIDeviceDisableRootPort (TDWHCIDevice *pThis)
 

Typedef Documentation

◆ TDWHCIDevice

typedef struct TDWHCIDevice TDWHCIDevice

Function Documentation

◆ _DWHCIDevice()

void _DWHCIDevice ( TDWHCIDevice pThis)

◆ DWHCIDevice()

void DWHCIDevice ( TDWHCIDevice pThis)

◆ DWHCIDeviceControlMessage()

int DWHCIDeviceControlMessage ( TDWHCIDevice pThis,
TUSBEndpoint pEndpoint,
u8  ucRequestType,
u8  ucRequest,
u16  usValue,
u16  usIndex,
void *  pData,
u16  usDataSize 
)

◆ DWHCIDeviceDisableRootPort()

void DWHCIDeviceDisableRootPort ( TDWHCIDevice pThis)

◆ DWHCIDeviceGetDescriptor()

int DWHCIDeviceGetDescriptor ( TDWHCIDevice pThis,
TUSBEndpoint pEndpoint,
unsigned char  ucType,
unsigned char  ucIndex,
void *  pBuffer,
unsigned  nBufSize,
unsigned char  ucRequestType 
)

◆ DWHCIDeviceGetPortSpeed()

TUSBSpeed DWHCIDeviceGetPortSpeed ( TDWHCIDevice pThis)

◆ DWHCIDeviceInitialize()

boolean DWHCIDeviceInitialize ( TDWHCIDevice pThis)

◆ DWHCIDeviceOvercurrentDetected()

boolean DWHCIDeviceOvercurrentDetected ( TDWHCIDevice pThis)

◆ DWHCIDeviceSetAddress()

boolean DWHCIDeviceSetAddress ( TDWHCIDevice pThis,
TUSBEndpoint pEndpoint,
u8  ucDeviceAddress 
)

◆ DWHCIDeviceSetConfiguration()

boolean DWHCIDeviceSetConfiguration ( TDWHCIDevice pThis,
TUSBEndpoint pEndpoint,
u8  ucConfigurationValue 
)

◆ DWHCIDeviceSubmitAsyncRequest()

boolean DWHCIDeviceSubmitAsyncRequest ( TDWHCIDevice pThis,
TUSBRequest pURB 
)

◆ DWHCIDeviceSubmitBlockingRequest()

boolean DWHCIDeviceSubmitBlockingRequest ( TDWHCIDevice pThis,
TUSBRequest pURB 
)

◆ DWHCIDeviceTransfer()

int DWHCIDeviceTransfer ( TDWHCIDevice pThis,
TUSBEndpoint pEndpoint,
void *  pBuffer,
unsigned  nBufSize 
)