uOFW
Reverse engineered PSP kernel 6.60.
Loading...
Searching...
No Matches
Data Fields
UsbDriver Struct Reference

#include <usbbus.h>

Data Fields

const char * name
 
int endpoints
 
struct UsbEndpointendp
 
struct UsbInterface * intp
 
void * devp_hi
 
void * confp_hi
 
void * devp
 
void * confp
 
struct StringDescriptorstr
 
int(* recvctl )(int arg1, int arg2, struct DeviceRequest *req)
 
int(* func28 )(int arg1, int arg2, int arg3)
 
int(* attach )(int speed, void *arg2, void *arg3)
 
int(* detach )(int arg1, int arg2, int arg3)
 
int unk34
 
int(* start_func )(int size, void *args)
 
int(* stop_func )(int size, void *args)
 
struct UsbDriverlink
 

Detailed Description

USB driver structure used by sceUsbbdRegister and sceUsbbdUnregister

Field Documentation

◆ name

const char* UsbDriver::name

Name of the USB driver

◆ endpoints

int UsbDriver::endpoints

Number of endpoints in this driver (including default control)

◆ endp

struct UsbEndpoint* UsbDriver::endp

List of endpoint structures (used when calling other functions)

◆ intp

struct UsbInterface* UsbDriver::intp

Interface list

◆ devp_hi

void* UsbDriver::devp_hi

Pointer to hi-speed device descriptor

◆ confp_hi

void* UsbDriver::confp_hi

Pointer to hi-speed device configuration

◆ devp

void* UsbDriver::devp

Pointer to full-speed device descriptor

◆ confp

void* UsbDriver::confp

Pointer to full-speed device configuration

◆ str

struct StringDescriptor* UsbDriver::str

Default String descriptor

◆ recvctl

int(* UsbDriver::recvctl) (int arg1, int arg2, struct DeviceRequest *req)

Received a control request arg0 is endpoint, arg1 is possibly data arg2 is data buffer

◆ func28

int(* UsbDriver::func28) (int arg1, int arg2, int arg3)

Unknown

◆ attach

int(* UsbDriver::attach) (int speed, void *arg2, void *arg3)

Configuration set (attach) function

◆ detach

int(* UsbDriver::detach) (int arg1, int arg2, int arg3)

Configuration unset (detach) function

◆ unk34

int UsbDriver::unk34

Unknown set to 0

◆ start_func

int(* UsbDriver::start_func) (int size, void *args)

Function called when the driver is started

◆ stop_func

int(* UsbDriver::stop_func) (int size, void *args)

Function called when the driver is stopped

◆ link

struct UsbDriver* UsbDriver::link

Link to next USB driver in the chain, set to NULL


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