|
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 841 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 843 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 845 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 847 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 850 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 853 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 855 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 857 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 859 of file xhci.h.
Referenced by xhci_enqueue(), and xhci_ring_alloc().
| void* xhci_trb_ring::db |
Doorbell register.
Definition at line 862 of file xhci.h.
Referenced by xhci_doorbell(), and xhci_ring_alloc().
| uint32_t xhci_trb_ring::dbval |
Doorbell register value.
Definition at line 864 of file xhci.h.
Referenced by xhci_doorbell(), and xhci_ring_alloc().
1.8.15