PSPSDK 2025-03-30
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.
 
void * data
 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.
 
void * func
 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.
 
void * arg
 A user specified pointer for the device request.
 
void * link
 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: