LibXenon
Bare-metal Xbox 360 homebrew library
Loading...
Searching...
No Matches
Macros | Functions
usb2.c File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define __usb_control_message(ehci, fd, b, c, d, e, f, g, h, i)   ehci_control_message(ehci,fd,b,c,d,e,f,g)
 

Functions

s32 USB_GetDescriptors (struct ehci_hcd *ehci, struct ehci_device *fd, usb_devdesc *udd)
 
void USB_FreeDescriptors (usb_devdesc *udd)
 
s32 USB_WriteBlkMsg (struct ehci_hcd *ehci, struct ehci_device *fd, u8 bEndpoint, u16 wLength, void *rpData)
 
s32 USB_WriteCtrlMsg (struct ehci_hcd *ehci, struct ehci_device *fd, u8 bmRequestType, u8 bmRequest, u16 wValue, u16 wIndex, u16 wLength, void *rpData)
 
s32 USB_GetConfiguration (struct ehci_hcd *ehci, struct ehci_device *fd, u8 *configuration)
 
s32 USB_SetConfiguration (struct ehci_hcd *ehci, struct ehci_device *fd, u8 configuration)
 
s32 USB_SetAlternativeInterface (struct ehci_hcd *ehci, struct ehci_device *fd, u8 interface, u8 alternateSetting)
 
s32 USB_ClearHalt (struct ehci_hcd *ehci, struct ehci_device *fd, u8 endpoint)
 

Macro Definition Documentation

◆ __usb_control_message

#define __usb_control_message (   ehci,
  fd,
  b,
  c,
  d,
  e,
  f,
  g,
  h,
 
)    ehci_control_message(ehci,fd,b,c,d,e,f,g)

Definition at line 7 of file usb2.c.

Function Documentation

◆ USB_ClearHalt()

s32 USB_ClearHalt ( struct ehci_hcd ehci,
struct ehci_device fd,
u8  endpoint 
)

Definition at line 213 of file usb2.c.

◆ USB_FreeDescriptors()

void USB_FreeDescriptors ( usb_devdesc udd)

Definition at line 147 of file usb2.c.

◆ USB_GetConfiguration()

s32 USB_GetConfiguration ( struct ehci_hcd ehci,
struct ehci_device fd,
u8 configuration 
)

Definition at line 185 of file usb2.c.

◆ USB_GetDescriptors()

s32 USB_GetDescriptors ( struct ehci_hcd ehci,
struct ehci_device fd,
usb_devdesc udd 
)

Definition at line 29 of file usb2.c.

◆ USB_SetAlternativeInterface()

s32 USB_SetAlternativeInterface ( struct ehci_hcd ehci,
struct ehci_device fd,
u8  interface,
u8  alternateSetting 
)

Definition at line 205 of file usb2.c.

◆ USB_SetConfiguration()

s32 USB_SetConfiguration ( struct ehci_hcd ehci,
struct ehci_device fd,
u8  configuration 
)

Definition at line 201 of file usb2.c.

◆ USB_WriteBlkMsg()

s32 USB_WriteBlkMsg ( struct ehci_hcd ehci,
struct ehci_device fd,
u8  bEndpoint,
u16  wLength,
void *  rpData 
)

Definition at line 175 of file usb2.c.

◆ USB_WriteCtrlMsg()

s32 USB_WriteCtrlMsg ( struct ehci_hcd ehci,
struct ehci_device fd,
u8  bmRequestType,
u8  bmRequest,
u16  wValue,
u16  wIndex,
u16  wLength,
void *  rpData 
)

Definition at line 180 of file usb2.c.