Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
Loading...
Searching...
No Matches
ioforge_usb.h File Reference
#include "ioforge.h"

Go to the source code of this file.

Data Structures

struct  UsbControllerOp
 
struct  ioforge_usb_controller_service
 
struct  ioforge_usb_endpoint
 
struct  ioforge_usb_device
 

Typedefs

typedef void(* ioforge_usb_visitor_fn) (struct ioforge_usb_device *dev, void *ctx)
 

Enumerations

enum  ioforge_usb_version { IoForgeUSB_VERSION_2 = 0x20 , IoForgeUSB_VERSION_3 = 0x30 }
 

Functions

struct ioforge_deviceioforge_get_usb_ctrl_root ()
 
struct ioforge_deviceioforge_get_usb_devices_root ()
 
void ioforge_find_usb_device_by_devclass (struct ioforge_device *node, uint16_t devclass, ioforge_usb_visitor_fn callback, void *ctx)
 

Typedef Documentation

◆ ioforge_usb_visitor_fn

typedef void(* ioforge_usb_visitor_fn) (struct ioforge_usb_device *dev, void *ctx)

Definition at line 61 of file ioforge_usb.h.

Enumeration Type Documentation

◆ ioforge_usb_version

Enumerator
IoForgeUSB_VERSION_2 
IoForgeUSB_VERSION_3 

Definition at line 10 of file ioforge_usb.h.

Function Documentation

◆ ioforge_find_usb_device_by_devclass()

void ioforge_find_usb_device_by_devclass ( struct ioforge_device * node,
uint16_t devclass,
ioforge_usb_visitor_fn callback,
void * ctx )

◆ ioforge_get_usb_ctrl_root()

struct ioforge_device * ioforge_get_usb_ctrl_root ( )

Referenced by __attribute__(), and __attribute__().

◆ ioforge_get_usb_devices_root()

struct ioforge_device * ioforge_get_usb_devices_root ( )