iPXE
Data Fields
uhci_ring Struct Reference

A transfer ring. More...

#include <uhci.h>

Data Fields

unsigned int prod
 Producer counter.
unsigned int cons
 Consumer counter.
size_t mtu
 Maximum packet length.
uint8_t flags
 Base flags.
uint32_t control
 Base control word.
struct uhci_transferxfer [UHCI_RING_COUNT]
 Transfers.
struct uhci_transferend
 End of transfer ring (if non-empty)
struct uhci_queue_headhead
 Queue head.

Detailed Description

A transfer ring.

Definition at line 231 of file uhci.h.


Field Documentation

unsigned int uhci_ring::prod

Producer counter.

Definition at line 233 of file uhci.h.

Referenced by uhci_enqueue(), and uhci_restart().

unsigned int uhci_ring::cons

Consumer counter.

Definition at line 235 of file uhci.h.

Referenced by uhci_dequeue(), uhci_endpoint_poll(), and uhci_restart().

Maximum packet length.

Definition at line 238 of file uhci.h.

Referenced by uhci_describe(), uhci_endpoint_message(), uhci_endpoint_mtu(), uhci_endpoint_open(), and uhci_endpoint_stream().

Base flags.

This incorporates the CERR and LS bits

Definition at line 243 of file uhci.h.

Referenced by uhci_endpoint_open(), and uhci_enqueue().

Base control word.

This incorporates the device address, the endpoint address, and the data toggle for the next descriptor to be enqueued.

Definition at line 249 of file uhci.h.

Referenced by uhci_describe(), uhci_device_address(), uhci_endpoint_message(), uhci_endpoint_open(), and uhci_restart().

Transfers.

Definition at line 252 of file uhci.h.

Referenced by uhci_dequeue(), uhci_endpoint_poll(), uhci_enqueue(), uhci_restart(), and uhci_ring_free().

End of transfer ring (if non-empty)

Definition at line 254 of file uhci.h.

Referenced by uhci_describe(), uhci_endpoint_message(), uhci_endpoint_stream(), and uhci_enqueue().


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