iPXE
Data Fields
uhci_ring Struct Reference

A transfer ring. More...

#include <uhci.h>

Data Fields

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

Detailed Description

A transfer ring.

Definition at line 231 of file uhci.h.

Field Documentation

◆ prod

unsigned int uhci_ring::prod

Producer counter.

Definition at line 233 of file uhci.h.

Referenced by uhci_enqueue(), uhci_restart(), and uhci_ring_fill().

◆ cons

unsigned int uhci_ring::cons

Consumer counter.

Definition at line 235 of file uhci.h.

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

◆ mtu

size_t uhci_ring::mtu

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

◆ flags

uint8_t uhci_ring::flags

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

◆ control

uint32_t uhci_ring::control

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

◆ xfer

struct uhci_transfer* uhci_ring::xfer[UHCI_RING_COUNT]

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

struct uhci_transfer* uhci_ring::end

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

◆ head

struct uhci_queue_head* uhci_ring::head

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