iPXE
|
A Realtek network card. More...
#include <realtek.h>
Data Fields | |
void * | regs |
Registers. More... | |
struct dma_device * | dma |
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_buffer * | rx_iobuf [RTL_NUM_RX_DESC] |
Receive I/O buffers. More... | |
struct realtek_rx_buffer | rxbuf |
Receive buffer (legacy mode) More... | |
void* realtek_nic::regs |
Registers.
Definition at line 291 of file realtek.h.
Referenced by realtek_check_link(), realtek_close(), realtek_create_buffer(), realtek_create_ring(), realtek_destroy_buffer(), realtek_destroy_ring(), realtek_detect(), realtek_dump(), realtek_init_eeprom(), realtek_irq(), realtek_legacy_poll_rx(), realtek_mii_read(), realtek_mii_write(), realtek_open(), realtek_poll(), realtek_poll_tx(), realtek_probe(), realtek_remove(), realtek_reset(), realtek_spi_close_bit(), realtek_spi_open_bit(), realtek_spi_read_bit(), realtek_spi_write_bit(), and realtek_transmit().
struct dma_device* realtek_nic::dma |
DMA device.
Definition at line 293 of file realtek.h.
Referenced by realtek_create_buffer(), realtek_create_ring(), realtek_detect(), realtek_probe(), realtek_refill_rx(), and realtek_transmit().
struct spi_bit_basher realtek_nic::spibit |
SPI bit-bashing interface.
Definition at line 295 of file realtek.h.
Referenced by realtek_detect(), realtek_init_eeprom(), realtek_spi_close_bit(), realtek_spi_open_bit(), realtek_spi_read_bit(), and realtek_spi_write_bit().
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().
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().
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().
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().
int realtek_nic::legacy |
Legacy datapath mode.
Definition at line 306 of file realtek.h.
Referenced by realtek_close(), realtek_create_buffer(), realtek_create_ring(), realtek_destroy_buffer(), realtek_destroy_ring(), realtek_detect(), realtek_poll_rx(), realtek_poll_tx(), realtek_refill_rx(), and realtek_transmit().
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().
unsigned int realtek_nic::tppoll |
TPPoll register offset.
Definition at line 310 of file realtek.h.
Referenced by realtek_detect(), and realtek_transmit().
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().
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().
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().
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().