Data Fields
usbio_endpoint Struct Reference

A USB I/O endpoint. More...

#include <usbio.h>

Data Fields

struct usbio_deviceusbio
 USB I/O device. More...
struct usb_endpointep
 USB endpoint. More...
struct list_head list
 List of endpoints. More...
struct usbio_operationsop
 USB I/O endpoint operations. More...
unsigned int interface
 Containing interface number. More...
 EFI handle. More...
 USB I/O protocol. More...
unsigned int prod
 Producer counter. More...
unsigned int cons
 Consumer counter. More...
struct io_bufferiobuf [USBIO_RING_COUNT]
 I/O buffers. More...
uint8_t flags [USBIO_RING_COUNT]
 Flags. More...
struct usbio_interrupt_ringintr
 Interrupt ring buffer (if applicable) More...

Detailed Description

A USB I/O endpoint.

Definition at line 53 of file usbio.h.

Field Documentation

◆ usbio

struct usbio_device* usbio_endpoint::usbio

◆ ep

struct usb_endpoint* usbio_endpoint::ep

◆ list

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().

◆ op

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().

◆ interface

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().

◆ handle

EFI_HANDLE usbio_endpoint::handle

EFI handle.

Definition at line 66 of file usbio.h.

Referenced by usbio_endpoint_open().

◆ io

EFI_USB_IO_PROTOCOL* usbio_endpoint::io

◆ prod

unsigned int usbio_endpoint::prod

◆ cons

unsigned int usbio_endpoint::cons

◆ iobuf

struct io_buffer* usbio_endpoint::iobuf[USBIO_RING_COUNT]

◆ flags

uint8_t usbio_endpoint::flags[USBIO_RING_COUNT]


Definition at line 77 of file usbio.h.

Referenced by usbio_bulk_out_poll(), usbio_control_poll(), and usbio_endpoint_enqueue().

◆ intr

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().

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