iPXE
|
An Intel descriptor ring. More...
#include <intel.h>
Data Fields | |
struct intel_descriptor * | desc |
Descriptors. More... | |
struct dma_mapping | map |
Descriptor ring DMA mapping. More... | |
unsigned int | prod |
Producer index. More... | |
unsigned int | cons |
Consumer index. More... | |
unsigned int | reg |
Register block. More... | |
size_t | len |
Length (in bytes) More... | |
void(* | describe )(struct intel_descriptor *desc, physaddr_t addr, size_t len) |
Populate descriptor. More... | |
struct intel_descriptor* intel_ring::desc |
Descriptors.
Definition at line 224 of file intel.h.
Referenced by intel_create_ring(), intel_destroy_ring(), intel_init_ring(), intel_poll_rx(), intel_poll_tx(), intel_refill_rx(), and intel_transmit().
struct dma_mapping intel_ring::map |
Descriptor ring DMA mapping.
Definition at line 226 of file intel.h.
Referenced by intel_create_ring(), and intel_destroy_ring().
unsigned int intel_ring::prod |
Producer index.
Definition at line 228 of file intel.h.
Referenced by intel_destroy_ring(), intel_poll_rx(), intel_poll_tx(), intel_refill_rx(), and intel_transmit().
unsigned int intel_ring::cons |
Consumer index.
Definition at line 230 of file intel.h.
Referenced by intel_destroy_ring(), intel_poll_rx(), intel_poll_tx(), intel_refill_rx(), and intel_transmit().
unsigned int intel_ring::reg |
Register block.
Definition at line 233 of file intel.h.
Referenced by intel_create_ring(), intel_destroy_ring(), intel_init_ring(), intel_refill_rx(), and intel_transmit().
size_t intel_ring::len |
Length (in bytes)
Definition at line 235 of file intel.h.
Referenced by intel_create_ring(), intel_destroy_ring(), and intel_init_ring().
void( * intel_ring::describe) (struct intel_descriptor *desc, physaddr_t addr, size_t len) |
Populate descriptor.
desc | Descriptor |
addr | Data buffer address |
len | Length of data |
Definition at line 243 of file intel.h.
Referenced by intel_init_ring(), intel_refill_rx(), and intel_transmit().