iPXE
|
A USB I/O endpoint. More...
#include <usbio.h>
Data Fields | |
struct usbio_device * | usbio |
USB I/O device. More... | |
struct usb_endpoint * | ep |
USB endpoint. More... | |
struct list_head | list |
List of endpoints. More... | |
struct usbio_operations * | op |
USB I/O endpoint operations. More... | |
unsigned int | interface |
Containing interface number. More... | |
EFI_HANDLE | handle |
EFI handle. More... | |
EFI_USB_IO_PROTOCOL * | io |
USB I/O protocol. More... | |
unsigned int | prod |
Producer counter. More... | |
unsigned int | cons |
Consumer counter. More... | |
struct io_buffer * | iobuf [USBIO_RING_COUNT] |
I/O buffers. More... | |
uint8_t | flags [USBIO_RING_COUNT] |
Flags. More... | |
struct usbio_interrupt_ring * | intr |
Interrupt ring buffer (if applicable) More... | |
struct usbio_device* usbio_endpoint::usbio |
USB I/O device.
Definition at line 55 of file usbio.h.
Referenced by usbio_bulk_in_poll(), usbio_bulk_out_poll(), usbio_bus_poll(), usbio_control_poll(), usbio_endpoint_close(), usbio_endpoint_open(), usbio_interrupt_callback(), and usbio_interrupt_open().
struct usb_endpoint* usbio_endpoint::ep |
USB endpoint.
Definition at line 57 of file usbio.h.
Referenced by usbio_bulk_in_poll(), usbio_bulk_out_poll(), usbio_control_poll(), usbio_endpoint_close(), usbio_endpoint_enqueue(), usbio_endpoint_open(), usbio_interrupt_callback(), usbio_interrupt_close(), usbio_interrupt_open(), and usbio_interrupt_poll().
struct list_head usbio_endpoint::list |
List of endpoints.
Definition at line 59 of file usbio.h.
Referenced by usbio_bus_poll(), usbio_endpoint_close(), and usbio_endpoint_open().
struct usbio_operations* usbio_endpoint::op |
USB I/O endpoint operations.
Definition at line 61 of file usbio.h.
Referenced by usbio_endpoint_close(), usbio_endpoint_open(), and usbio_endpoint_poll().
unsigned int usbio_endpoint::interface |
Containing interface number.
Definition at line 64 of file usbio.h.
Referenced by usbio_endpoint_close(), and usbio_endpoint_open().
EFI_HANDLE usbio_endpoint::handle |
EFI_USB_IO_PROTOCOL* usbio_endpoint::io |
USB I/O protocol.
Definition at line 68 of file usbio.h.
Referenced by usbio_bulk_in_poll(), usbio_bulk_out_poll(), usbio_endpoint_open(), usbio_interrupt_close(), and usbio_interrupt_open().
unsigned int usbio_endpoint::prod |
Producer counter.
Definition at line 71 of file usbio.h.
Referenced by usbio_bulk_in_poll(), usbio_bulk_out_poll(), usbio_control_poll(), usbio_endpoint_close(), usbio_endpoint_enqueue(), and usbio_interrupt_poll().
unsigned int usbio_endpoint::cons |
Consumer counter.
Definition at line 73 of file usbio.h.
Referenced by usbio_bulk_in_poll(), usbio_bulk_out_poll(), usbio_control_poll(), usbio_endpoint_close(), usbio_endpoint_enqueue(), and usbio_interrupt_poll().
struct io_buffer* usbio_endpoint::iobuf[USBIO_RING_COUNT] |
I/O buffers.
Definition at line 75 of file usbio.h.
Referenced by usbio_bulk_in_poll(), usbio_bulk_out_poll(), usbio_control_poll(), usbio_endpoint_close(), usbio_endpoint_enqueue(), and usbio_interrupt_poll().
uint8_t usbio_endpoint::flags[USBIO_RING_COUNT] |
Flags.
Definition at line 77 of file usbio.h.
Referenced by usbio_bulk_out_poll(), usbio_control_poll(), and usbio_endpoint_enqueue().
struct usbio_interrupt_ring* usbio_endpoint::intr |
Interrupt ring buffer (if applicable)
Definition at line 80 of file usbio.h.
Referenced by usbio_interrupt_close(), usbio_interrupt_open(), and usbio_interrupt_poll().