Data Fields
usb_endpoint Struct Reference

A USB endpoint. More...

#include <usb.h>

Data Fields

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

Detailed Description

A USB endpoint.

Definition at line 389 of file usb.h.

Field Documentation

◆ usb

struct usb_device* usb_endpoint::usb

◆ address

unsigned int usb_endpoint::address

◆ attributes

unsigned int usb_endpoint::attributes

◆ mtu

size_t usb_endpoint::mtu

◆ burst

unsigned int usb_endpoint::burst

◆ interval

unsigned int usb_endpoint::interval

◆ open

int usb_endpoint::open

◆ fill

unsigned int usb_endpoint::fill

Buffer fill level.

Definition at line 406 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 409 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 412 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 414 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 416 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 419 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 421 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 423 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 425 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: