iPXE
Data Fields
dwmac Struct Reference

A DesignWare MAC network card. More...

#include <dwmac.h>

Data Fields

void * regs
 Registers. More...
 
struct dma_devicedma
 DMA device. More...
 
const char * name
 Device name (for debugging) More...
 
struct dwmac_ring tx
 Transmit ring. More...
 
struct dwmac_ring rx
 Receive ring. More...
 
struct io_bufferrx_iobuf [DWMAC_NUM_RX_DESC]
 Receive I/O buffers. More...
 

Detailed Description

A DesignWare MAC network card.

Definition at line 235 of file dwmac.h.

Field Documentation

◆ regs

void* dwmac::regs

◆ dma

struct dma_device* dwmac::dma

DMA device.

Definition at line 239 of file dwmac.h.

Referenced by dwmac_create_ring(), dwmac_probe(), and dwmac_refill_rx().

◆ name

const char* dwmac::name

◆ tx

struct dwmac_ring dwmac::tx

Transmit ring.

Definition at line 244 of file dwmac.h.

Referenced by dwmac_close(), dwmac_open(), dwmac_poll_tx(), dwmac_probe(), and dwmac_transmit().

◆ rx

struct dwmac_ring dwmac::rx

Receive ring.

Definition at line 246 of file dwmac.h.

Referenced by dwmac_close(), dwmac_open(), dwmac_poll_rx(), dwmac_probe(), and dwmac_refill_rx().

◆ rx_iobuf

struct io_buffer* dwmac::rx_iobuf[DWMAC_NUM_RX_DESC]

Receive I/O buffers.

Definition at line 248 of file dwmac.h.

Referenced by dwmac_close(), dwmac_poll_rx(), and dwmac_refill_rx().


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