iPXE
Data Fields
xhci_trb_ring Struct Reference

A transfer request block command/transfer ring. More...

#include <xhci.h>

Data Fields

unsigned int prod
 Producer counter.
unsigned int cons
 Consumer counter.
unsigned int shift
 Ring size (log2)
unsigned int mask
 Ring counter mask.
struct io_buffer ** iobuf
 I/O buffers.
union xhci_trbtrb
 Transfer request blocks.
size_t len
 Length of transfer request blocks.
struct xhci_trb_linklink
 Link TRB (if applicable)
void * db
 Doorbell register.
uint32_t dbval
 Doorbell register value.

Detailed Description

A transfer request block command/transfer ring.

Definition at line 840 of file xhci.h.


Field Documentation

unsigned int xhci_trb_ring::prod

Producer counter.

Definition at line 842 of file xhci.h.

Referenced by xhci_enqueue(), xhci_ring_free(), and xhci_ring_reset().

unsigned int xhci_trb_ring::cons

Consumer counter.

Definition at line 844 of file xhci.h.

Referenced by xhci_dequeue(), xhci_ring_free(), xhci_ring_reset(), and xhci_set_tr_dequeue_pointer().

unsigned int xhci_trb_ring::shift

Ring size (log2)

Definition at line 846 of file xhci.h.

Referenced by xhci_enqueue(), xhci_ring_alloc(), xhci_ring_free(), xhci_ring_reset(), and xhci_set_tr_dequeue_pointer().

unsigned int xhci_trb_ring::mask

Ring counter mask.

Definition at line 848 of file xhci.h.

Referenced by xhci_dequeue(), xhci_enqueue(), xhci_ring_alloc(), and xhci_set_tr_dequeue_pointer().

I/O buffers.

Definition at line 851 of file xhci.h.

Referenced by xhci_dequeue(), xhci_enqueue(), xhci_ring_alloc(), and xhci_ring_free().

Length of transfer request blocks.

Definition at line 856 of file xhci.h.

Referenced by xhci_command_alloc(), xhci_endpoint_open(), xhci_ring_alloc(), and xhci_ring_free().

Link TRB (if applicable)

Definition at line 858 of file xhci.h.

Referenced by xhci_enqueue(), and xhci_ring_alloc().

Doorbell register.

Definition at line 861 of file xhci.h.

Referenced by xhci_ring_alloc().

Doorbell register value.

Definition at line 863 of file xhci.h.

Referenced by xhci_ring_alloc().


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