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. More...
 
unsigned int cons
 Consumer counter. More...
 
unsigned int shift
 Ring size (log2) More...
 
unsigned int mask
 Ring counter mask. More...
 
struct io_buffer ** iobuf
 I/O buffers. More...
 
union xhci_trbtrb
 Transfer request blocks. More...
 
size_t len
 Length of transfer request blocks. More...
 
struct xhci_trb_linklink
 Link TRB (if applicable) More...
 
void * db
 Doorbell register. More...
 
uint32_t dbval
 Doorbell register value. More...
 

Detailed Description

A transfer request block command/transfer ring.

Definition at line 840 of file xhci.h.

Field Documentation

◆ prod

unsigned int xhci_trb_ring::prod

Producer counter.

Definition at line 842 of file xhci.h.

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

◆ cons

unsigned int xhci_trb_ring::cons

◆ shift

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

◆ mask

unsigned int xhci_trb_ring::mask

◆ iobuf

struct io_buffer** xhci_trb_ring::iobuf

I/O buffers.

Definition at line 851 of file xhci.h.

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

◆ trb

union xhci_trb* xhci_trb_ring::trb

◆ len

size_t xhci_trb_ring::len

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

struct xhci_trb_link* xhci_trb_ring::link

Link TRB (if applicable)

Definition at line 858 of file xhci.h.

Referenced by xhci_enqueue(), and xhci_ring_alloc().

◆ db

void* xhci_trb_ring::db

Doorbell register.

Definition at line 861 of file xhci.h.

Referenced by xhci_doorbell(), and xhci_ring_alloc().

◆ dbval

uint32_t xhci_trb_ring::dbval

Doorbell register value.

Definition at line 863 of file xhci.h.

Referenced by xhci_doorbell(), and xhci_ring_alloc().


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