|
iPXE
|
USB endpoint host controller operations. More...
#include <usb.h>
Data Fields | |
| int(* | open )(struct usb_endpoint *ep) |
| Open endpoint. More... | |
| void(* | close )(struct usb_endpoint *ep) |
| Close endpoint. More... | |
| int(* | reset )(struct usb_endpoint *ep) |
| Reset endpoint. More... | |
| int(* | mtu )(struct usb_endpoint *ep) |
| Update MTU. More... | |
| int(* | message )(struct usb_endpoint *ep, struct io_buffer *iobuf) |
| Enqueue message transfer. More... | |
| int(* | stream )(struct usb_endpoint *ep, struct io_buffer *iobuf, int zlp) |
| Enqueue stream transfer. More... | |
| int( * usb_endpoint_host_operations::open) (struct usb_endpoint *ep) |
Open endpoint.
| ep | USB endpoint |
| rc | Return status code |
Definition at line 449 of file usb.h.
Referenced by usb_endpoint_open().
| void( * usb_endpoint_host_operations::close) (struct usb_endpoint *ep) |
Close endpoint.
| ep | USB endpoint |
Definition at line 454 of file usb.h.
Referenced by usb_endpoint_close(), and usb_endpoint_open().
| int( * usb_endpoint_host_operations::reset) (struct usb_endpoint *ep) |
Reset endpoint.
| ep | USB endpoint |
| rc | Return status code |
Definition at line 461 of file usb.h.
Referenced by usb_endpoint_reset().
| int( * usb_endpoint_host_operations::mtu) (struct usb_endpoint *ep) |
Update MTU.
| ep | USB endpoint |
| rc | Return status code |
Definition at line 467 of file usb.h.
Referenced by usb_endpoint_mtu().
| int( * usb_endpoint_host_operations::message) (struct usb_endpoint *ep, struct io_buffer *iobuf) |
Enqueue message transfer.
| ep | USB endpoint |
| iobuf | I/O buffer |
| rc | Return status code |
Definition at line 474 of file usb.h.
Referenced by usb_message().
| int( * usb_endpoint_host_operations::stream) (struct usb_endpoint *ep, struct io_buffer *iobuf, int zlp) |
Enqueue stream transfer.
| ep | USB endpoint |
| iobuf | I/O buffer |
| zlp | Append a zero-length packet |
| rc | Return status code |
Definition at line 483 of file usb.h.
Referenced by usb_stream().
1.8.15