iPXE
Data Fields
realtek_nic Struct Reference

A Realtek network card. More...

#include <realtek.h>

Data Fields

void * regs
 Registers. More...
 
struct dma_devicedma
 DMA device. More...
 
struct spi_bit_basher spibit
 SPI bit-bashing interface. More...
 
struct spi_device eeprom
 EEPROM. More...
 
struct nvo_block nvo
 Non-volatile options. More...
 
struct mii_interface mdio
 MII interface. More...
 
struct mii_device mii
 MII device. More...
 
int legacy
 Legacy datapath mode. More...
 
int have_phy_regs
 PHYAR and PHYSTATUS registers are present. More...
 
unsigned int tppoll
 TPPoll register offset. More...
 
struct realtek_ring tx
 Transmit descriptor ring. More...
 
struct realtek_ring rx
 Receive descriptor ring. More...
 
struct io_bufferrx_iobuf [RTL_NUM_RX_DESC]
 Receive I/O buffers. More...
 
struct realtek_rx_buffer rxbuf
 Receive buffer (legacy mode) More...
 

Detailed Description

A Realtek network card.

Definition at line 289 of file realtek.h.

Field Documentation

◆ regs

void* realtek_nic::regs

◆ dma

struct dma_device* realtek_nic::dma

◆ spibit

struct spi_bit_basher realtek_nic::spibit

◆ eeprom

struct spi_device realtek_nic::eeprom

EEPROM.

Definition at line 297 of file realtek.h.

Referenced by realtek_detect(), realtek_init_eeprom(), and realtek_probe().

◆ nvo

struct nvo_block realtek_nic::nvo

Non-volatile options.

Definition at line 299 of file realtek.h.

Referenced by realtek_init_eeprom(), realtek_probe(), and realtek_remove().

◆ mdio

struct mii_interface realtek_nic::mdio

MII interface.

Definition at line 301 of file realtek.h.

Referenced by realtek_mii_read(), realtek_mii_write(), and realtek_probe().

◆ mii

struct mii_device realtek_nic::mii

MII device.

Definition at line 303 of file realtek.h.

Referenced by realtek_check_link(), realtek_phy_reset(), realtek_phy_speed(), and realtek_probe().

◆ legacy

int realtek_nic::legacy

◆ have_phy_regs

int realtek_nic::have_phy_regs

PHYAR and PHYSTATUS registers are present.

Definition at line 308 of file realtek.h.

Referenced by realtek_check_link(), realtek_detect(), realtek_mii_read(), realtek_mii_write(), and realtek_phy_reset().

◆ tppoll

unsigned int realtek_nic::tppoll

TPPoll register offset.

Definition at line 310 of file realtek.h.

Referenced by realtek_detect(), and realtek_transmit().

◆ tx

struct realtek_ring realtek_nic::tx

Transmit descriptor ring.

Definition at line 313 of file realtek.h.

Referenced by realtek_close(), realtek_open(), realtek_poll_tx(), realtek_probe(), and realtek_transmit().

◆ rx

struct realtek_ring realtek_nic::rx

Receive descriptor ring.

Definition at line 315 of file realtek.h.

Referenced by realtek_close(), realtek_open(), realtek_poll_rx(), realtek_probe(), and realtek_refill_rx().

◆ rx_iobuf

struct io_buffer* realtek_nic::rx_iobuf[RTL_NUM_RX_DESC]

Receive I/O buffers.

Definition at line 317 of file realtek.h.

Referenced by realtek_close(), realtek_poll_rx(), and realtek_refill_rx().

◆ rxbuf

struct realtek_rx_buffer realtek_nic::rxbuf

Receive buffer (legacy mode)

Definition at line 319 of file realtek.h.

Referenced by realtek_create_buffer(), realtek_destroy_buffer(), and realtek_legacy_poll_rx().


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