Pyro Kernel
Data Fields
USB_bus_s Struct Reference

Data Fields

status_t(* add_driver )(USB_driver_s *psDriver)
 
void(* add_driver_resistant )(USB_driver_s *psDriver)
 
void(* remove_driver )(USB_driver_s *psDriver)
 
void(* connect )(USB_device_s *psDevice)
 
void(* disconnect )(USB_device_s **psDevice)
 
int(* new_device )(USB_device_s *psDevice)
 
USB_device_s *(* alloc_device )(USB_device_s *psParent, USB_bus_driver_s *psBus)
 
void(* free_device )(USB_device_s *psDevice)
 
int(* set_idle )(USB_device_s *psDevice, int nIFNum, int nDuration, int nReportID)
 
int(* string )(USB_device_s *psDevice, int nIndex, char *pBuf, size_t nSize)
 
USB_bus_driver_s *(* alloc_bus )()
 
void(* free_bus )(USB_bus_driver_s *psBus)
 
void(* add_bus )(USB_bus_driver_s *psBus)
 
void(* remove_bus )(USB_bus_driver_s *psBus)
 
int(* root_hub_string )(int id, int serial, char *type, uint8 *data, int len)
 
int(* check_bandwidth )(USB_device_s *psDevice, USB_packet_s *psPacket)
 
void(* claim_bandwidth )(USB_device_s *psDevice, USB_packet_s *psPacket, int nBusTime, int nISOc)
 
void(* release_bandwidth )(USB_device_s *psDevice, USB_packet_s *psPacket, int nISOc)
 
USB_packet_s *(* alloc_packet )(int nISOPackets)
 
void(* free_packet )(USB_packet_s *psPacket)
 
status_t(* submit_packet )(USB_packet_s *psPacket)
 
status_t(* cancel_packet )(USB_packet_s *psPacket)
 
int(* control_msg )(USB_device_s *psDevice, unsigned int nPipe, uint8 nRequest, uint8 nRequestType, uint16 nValue, uint16 nIndex, void *pData, uint16 nSize, bigtime_t nTimeOut)
 
int(* set_interface )(USB_device_s *psDevice, int nIFNum, int nAlternate)
 
int(* set_configuration )(USB_device_s *psDevice, int nConfig)
 

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