iPXE
Data Fields
sky2_port Struct Reference

#include <sky2.h>

Data Fields

struct sky2_hwhw
 
struct net_devicenetdev
 
unsigned port
 
struct tx_ring_infotx_ring
 
struct sky2_tx_letx_le
 
u16 tx_cons
 
u16 tx_prod
 
struct rx_ring_inforx_ring
 
struct sky2_rx_lerx_le
 
u16 rx_next
 
u16 rx_put
 
u16 rx_data_size
 
u32 rx_le_map
 
u32 tx_le_map
 
u16 advertising
 
u16 speed
 
u8 autoneg
 
u8 duplex
 
enum flow_control flow_mode
 
enum flow_control flow_status
 

Detailed Description

Definition at line 2039 of file sky2.h.

Field Documentation

◆ hw

struct sky2_hw* sky2_port::hw

◆ netdev

struct net_device* sky2_port::netdev

◆ port

unsigned sky2_port::port

◆ tx_ring

struct tx_ring_info* sky2_port::tx_ring

Definition at line 2044 of file sky2.h.

Referenced by sky2_free_rings(), sky2_tx_complete(), sky2_up(), and tx_le_re().

◆ tx_le

struct sky2_tx_le* sky2_port::tx_le

◆ tx_cons

u16 sky2_port::tx_cons

Definition at line 2046 of file sky2.h.

Referenced by sky2_tx_complete(), tx_avail(), and tx_init().

◆ tx_prod

u16 sky2_port::tx_prod

Definition at line 2047 of file sky2.h.

Referenced by get_tx_le(), sky2_le_error(), sky2_tx_clean(), sky2_xmit_frame(), tx_avail(), and tx_init().

◆ rx_ring

struct rx_ring_info* sky2_port::rx_ring

Definition at line 2049 of file sky2.h.

Referenced by sky2_free_rings(), sky2_receive(), sky2_rx_clean(), sky2_rx_start(), and sky2_up().

◆ rx_le

struct sky2_rx_le* sky2_port::rx_le

Definition at line 2050 of file sky2.h.

Referenced by sky2_free_rings(), sky2_le_error(), sky2_next_rx(), sky2_rx_clean(), and sky2_up().

◆ rx_next

u16 sky2_port::rx_next

Definition at line 2052 of file sky2.h.

Referenced by sky2_receive(), and sky2_rx_start().

◆ rx_put

u16 sky2_port::rx_put

Definition at line 2053 of file sky2.h.

Referenced by sky2_le_error(), sky2_next_rx(), sky2_rx_start(), and sky2_rx_update().

◆ rx_data_size

u16 sky2_port::rx_data_size

Definition at line 2054 of file sky2.h.

Referenced by receive_new(), sky2_rx_alloc(), sky2_rx_start(), and sky2_rx_submit().

◆ rx_le_map

u32 sky2_port::rx_le_map

Definition at line 2056 of file sky2.h.

Referenced by sky2_rx_start(), and sky2_up().

◆ tx_le_map

u32 sky2_port::tx_le_map

Definition at line 2057 of file sky2.h.

Referenced by sky2_up().

◆ advertising

u16 sky2_port::advertising

Definition at line 2058 of file sky2.h.

Referenced by sky2_init_netdev(), and sky2_phy_init().

◆ speed

u16 sky2_port::speed

◆ autoneg

u8 sky2_port::autoneg

Definition at line 2060 of file sky2.h.

Referenced by sky2_init_netdev(), sky2_phy_init(), and sky2_phy_intr().

◆ duplex

u8 sky2_port::duplex

◆ flow_mode

enum flow_control sky2_port::flow_mode

Definition at line 2062 of file sky2.h.

Referenced by sky2_init_netdev(), and sky2_phy_init().

◆ flow_status

enum flow_control sky2_port::flow_status

Definition at line 2063 of file sky2.h.

Referenced by sky2_autoneg_done(), and sky2_link_up().


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