iPXE
usb_endpoint Struct Reference

A USB endpoint. More...

#include <usb.h>

Data Fields

struct usb_deviceusb
 USB device.
unsigned int address
 Endpoint address.
unsigned int attributes
 Attributes.
size_t mtu
 Maximum transfer size.
unsigned int burst
 Maximum burst size.
unsigned int interval
 Interval (in microframes)
int open
 Endpoint is open.
unsigned int fill
 Buffer fill level.
struct list_head halted
 List of halted endpoints.
struct usb_endpoint_host_operationshost
 Host controller operations.
void * priv
 Host controller private data.
struct usb_endpoint_driver_operationsdriver
 Driver operations.
struct list_head recycled
 Recycled I/O buffer list.
size_t reserve
 Refill buffer reserved header length.
size_t len
 Refill buffer payload length.
unsigned int max
 Maximum fill level.

Detailed Description

A USB endpoint.

Definition at line 404 of file usb.h.

Field Documentation

◆ usb

◆ address

◆ attributes

◆ mtu

◆ burst

unsigned int usb_endpoint::burst

◆ interval

◆ open

◆ fill

unsigned int usb_endpoint::fill

Buffer fill level.

Definition at line 421 of file usb.h.

Referenced by usb_complete_err(), usb_endpoint_close(), usb_message(), usb_prefill(), usb_refill_limit(), usb_stream(), and usbblk_out_refill().

◆ halted

struct list_head usb_endpoint::halted

List of halted endpoints.

Definition at line 424 of file usb.h.

Referenced by usb_complete_err(), usb_endpoint_close(), usb_endpoint_open(), usb_endpoint_reset(), usb_message(), usb_step(), and usb_stream().

◆ host

struct usb_endpoint_host_operations* usb_endpoint::host

Host controller operations.

Definition at line 427 of file usb.h.

Referenced by usb_endpoint_close(), usb_endpoint_mtu(), usb_endpoint_open(), usb_endpoint_reset(), usb_message(), and usb_stream().

◆ priv

void* usb_endpoint::priv

Host controller private data.

Definition at line 429 of file usb.h.

Referenced by usb_endpoint_get_hostdata(), and usb_endpoint_set_hostdata().

◆ driver

struct usb_endpoint_driver_operations* usb_endpoint::driver

Driver operations.

Definition at line 431 of file usb.h.

Referenced by usb_complete_err(), usb_endpoint_init(), and usbnet_has_intr().

◆ recycled

struct list_head usb_endpoint::recycled

Recycled I/O buffer list.

Definition at line 434 of file usb.h.

Referenced by usb_flush(), usb_prefill(), usb_recycle(), usb_refill_init(), and usb_refill_limit().

◆ reserve

size_t usb_endpoint::reserve

Refill buffer reserved header length.

Definition at line 436 of file usb.h.

Referenced by usb_prefill(), usb_refill_init(), and usb_refill_limit().

◆ len

size_t usb_endpoint::len

Refill buffer payload length.

Definition at line 438 of file usb.h.

Referenced by ncm_open(), usb_prefill(), usb_refill_init(), and usb_refill_limit().

◆ max

unsigned int usb_endpoint::max

Maximum fill level.

Definition at line 440 of file usb.h.

Referenced by usb_endpoint_close(), usb_endpoint_open(), usb_flush(), usb_prefill(), usb_refill(), usb_refill_init(), and usb_refill_limit().


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