PSPSDK 2024-10-31
Loading...
Searching...
No Matches
UsbdDeviceReq Struct Reference

USB device request, used by sceUsbbdReqSend and sceUsbbdReqRecv. More...

#include <usb/pspusbbus.h>

Collaboration diagram for UsbdDeviceReq:

Data Fields

struct UsbEndpointendp
 Pointer to the endpoint to queue request on.
 
voiddata
 Pointer to the data buffer to use in the request.
 
int size
 Size of the data buffer (send == size of data, recv == size of max receive)
 
int unkc
 Unknown.
 
voidfunc
 Pointer to the function to call on completion.
 
int recvsize
 Resultant size (send == size of data sent, recv == size of data received)
 
int retcode
 Return code of the request, 0 == success, -3 == cancelled.
 
int unk1c
 Unknown.
 
voidarg
 A user specified pointer for the device request.
 
voidlink
 Link pointer to next request used by the driver, set it to NULL.
 

Detailed Description

USB device request, used by sceUsbbdReqSend and sceUsbbdReqRecv.

Field Documentation

◆ arg

void* UsbdDeviceReq::arg

A user specified pointer for the device request.

◆ data

void* UsbdDeviceReq::data

Pointer to the data buffer to use in the request.

◆ endp

struct UsbEndpoint* UsbdDeviceReq::endp

Pointer to the endpoint to queue request on.

◆ func

void* UsbdDeviceReq::func

Pointer to the function to call on completion.

◆ link

void* UsbdDeviceReq::link

Link pointer to next request used by the driver, set it to NULL.

◆ recvsize

int UsbdDeviceReq::recvsize

Resultant size (send == size of data sent, recv == size of data received)

◆ retcode

int UsbdDeviceReq::retcode

Return code of the request, 0 == success, -3 == cancelled.

◆ size

int UsbdDeviceReq::size

Size of the data buffer (send == size of data, recv == size of max receive)

◆ unk1c

int UsbdDeviceReq::unk1c

Unknown.

◆ unkc

int UsbdDeviceReq::unkc

Unknown.


The documentation for this struct was generated from the following file: