iPXE
Data Fields
usb_device_host_operations Struct Reference

USB device host controller operations. More...

#include <usb.h>

Data Fields

int(* open )(struct usb_device *usb)
 Open device. More...
 
void(* close )(struct usb_device *usb)
 Close device. More...
 
int(* address )(struct usb_device *usb)
 Assign device address. More...
 

Detailed Description

USB device host controller operations.

Definition at line 740 of file usb.h.

Field Documentation

◆ open

int( * usb_device_host_operations::open) (struct usb_device *usb)

Open device.

Parameters
usbUSB device
Return values
rcReturn status code

Definition at line 746 of file usb.h.

Referenced by register_usb().

◆ close

void( * usb_device_host_operations::close) (struct usb_device *usb)

Close device.

Parameters
usbUSB device

Definition at line 751 of file usb.h.

Referenced by register_usb(), and unregister_usb().

◆ address

int( * usb_device_host_operations::address) (struct usb_device *usb)

Assign device address.

Parameters
usbUSB device
Return values
rcReturn status code

Definition at line 757 of file usb.h.

Referenced by register_usb().


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