iPXE
|
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_trb * | trb |
Transfer request blocks. More... | |
size_t | len |
Length of transfer request blocks. More... | |
struct dma_mapping | map |
DMA mapping. More... | |
struct xhci_trb_link * | link |
Link TRB (if applicable) More... | |
void * | db |
Doorbell register. More... | |
uint32_t | dbval |
Doorbell register value. More... | |
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().
unsigned int xhci_trb_ring::cons |
Consumer counter.
Definition at line 844 of file xhci.h.
Referenced by xhci_dequeue(), xhci_ring_consumed(), xhci_ring_fill(), 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(), xhci_ring_consumed(), xhci_ring_remaining(), and xhci_set_tr_dequeue_pointer().
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().
union xhci_trb* xhci_trb_ring::trb |
Transfer request blocks.
Definition at line 854 of file xhci.h.
Referenced by xhci_abort(), xhci_address_device_input(), xhci_command_alloc(), xhci_configure_endpoint_input(), xhci_endpoint_open(), xhci_enqueue(), xhci_ring_alloc(), xhci_ring_consumed(), xhci_ring_free(), xhci_ring_reset(), and xhci_set_tr_dequeue_pointer().
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().
struct dma_mapping xhci_trb_ring::map |
DMA mapping.
Definition at line 858 of file xhci.h.
Referenced by xhci_abort(), xhci_address_device_input(), xhci_command_alloc(), xhci_configure_endpoint_input(), xhci_ring_alloc(), xhci_ring_free(), and xhci_set_tr_dequeue_pointer().
struct xhci_trb_link* xhci_trb_ring::link |
Link TRB (if applicable)
Definition at line 860 of file xhci.h.
Referenced by xhci_enqueue(), and xhci_ring_alloc().
void* xhci_trb_ring::db |
Doorbell register.
Definition at line 863 of file xhci.h.
Referenced by xhci_doorbell(), and xhci_ring_alloc().
uint32_t xhci_trb_ring::dbval |
Doorbell register value.
Definition at line 865 of file xhci.h.
Referenced by xhci_doorbell(), and xhci_ring_alloc().