|
iPXE
|
A Realtek network card. More...
#include <realtek.h>
Data Fields | |
| void * | regs |
| Registers. | |
| struct dma_device * | dma |
| DMA device. | |
| struct spi_bit_basher | spibit |
| SPI bit-bashing interface. | |
| struct spi_device | eeprom |
| EEPROM. | |
| struct nvo_block | nvo |
| Non-volatile options. | |
| struct mii_interface | mdio |
| MII interface. | |
| struct mii_device | mii |
| MII device. | |
| int | legacy |
| Legacy datapath mode. | |
| int | have_phy_regs |
| PHYAR and PHYSTATUS registers are present. | |
| unsigned int | tppoll |
| TPPoll register offset. | |
| struct realtek_ring | tx |
| Transmit descriptor ring. | |
| struct realtek_ring | rx |
| Receive descriptor ring. | |
| struct io_buffer * | rx_iobuf [RTL_NUM_RX_DESC] |
| Receive I/O buffers. | |
| struct realtek_rx_buffer | rxbuf |
| Receive buffer (legacy mode) | |
| void* realtek_nic::regs |
Definition at line 292 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 294 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 296 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 298 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 300 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 302 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 304 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 307 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 309 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 311 of file realtek.h.
Referenced by realtek_detect(), and realtek_transmit().
| struct realtek_ring realtek_nic::tx |
Transmit descriptor ring.
Definition at line 314 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 316 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 318 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 320 of file realtek.h.
Referenced by realtek_create_buffer(), realtek_destroy_buffer(), and realtek_legacy_poll_rx().