iPXE
Public Member Functions | Data Fields
tg3 Struct Reference

#include <tg3.h>

Public Member Functions

 DECLARE_BITMAP (tg3_flags, TG3_FLAG_NUMBER_OF_FLAGS)
 

Data Fields

unsigned int irq_sync
 
u32(* read32_mbox )(struct tg3 *, u32)
 
void(* write32_mbox )(struct tg3 *, u32, u32)
 
void * regs
 
struct net_devicedev
 
struct pci_devicepdev
 
u32 msg_enable
 
void(* write32_tx_mbox )(struct tg3 *, u32, u32)
 
void(* write32_rx_mbox )(struct tg3 *, u32, u32)
 
u32 rx_std_max_post
 
u32 rx_pkt_map_sz
 
struct tg3_hw_statushw_status
 
u32 last_tag
 
u32 last_irq_tag
 
u32 int_mbox
 
u32 coal_now
 
u32 consmbox
 
u32 rx_rcb_ptr
 
u16rx_rcb_prod_idx
 
struct tg3_rx_prodring_set prodring
 
struct tg3_rx_buffer_descrx_rcb
 
u32 tx_prod
 
u32 tx_cons
 
u32 prodmbox
 
struct tg3_tx_buffer_desctx_ring
 
struct ring_infotx_buffers
 
dma_addr_t status_mapping
 
dma_addr_t rx_rcb_mapping
 
dma_addr_t tx_desc_mapping
 
unsigned long rx_dropped
 
union {
   unsigned long   phy_crc_errors
 
}; 
 
u16 timer_counter
 
u16 timer_multiplier
 
u32 timer_offset
 
u16 asf_counter
 
u16 asf_multiplier
 
u32 serdes_counter
 
struct tg3_link_config link_config
 
struct tg3_bufmgr_config bufmgr_config
 
u32 rx_mode
 
u32 tx_mode
 
u32 mac_mode
 
u32 mi_mode
 
u32 misc_host_ctrl
 
u32 grc_mode
 
u32 grc_local_ctrl
 
u32 dma_rwctrl
 
u32 coalesce_mode
 
u32 pci_chip_rev_id
 
u16 pci_cmd
 
u8 pci_cacheline_sz
 
u8 pci_lat_timer
 
int pm_cap
 
union {
   int   pcix_cap
 
   int   pcie_cap
 
}; 
 
int pcie_readrq
 
u8 phy_addr
 
u32 phy_id
 
u32 phy_flags
 
u32 led_ctrl
 
u32 phy_otp
 
u32 setlpicnt
 
char board_part_number [TG3_BPN_SIZE]
 
char fw_ver [TG3_VER_SIZE]
 
u32 nic_sram_data_cfg
 
u32 pci_clock_ctrl
 
struct pci_devicepdev_peer
 
int nvram_lock_cnt
 
u32 nvram_size
 
u32 nvram_pagesize
 
u32 nvram_jedecnum
 
u16 subsystem_vendor
 
u16 subsystem_device
 
int link_up
 

Detailed Description

Definition at line 3047 of file tg3.h.

Member Function Documentation

◆ DECLARE_BITMAP()

tg3::DECLARE_BITMAP ( tg3_flags  ,
TG3_FLAG_NUMBER_OF_FLAGS   
)

Field Documentation

◆ irq_sync

unsigned int tg3::irq_sync

Definition at line 3065 of file tg3.h.

◆ read32_mbox

u32(* tg3::read32_mbox) (struct tg3 *, u32)

Definition at line 3087 of file tg3.h.

◆ write32_mbox

void(* tg3::write32_mbox) (struct tg3 *, u32, u32)

Definition at line 3088 of file tg3.h.

◆ regs

void* tg3::regs

Definition at line 3090 of file tg3.h.

◆ dev

struct net_device* tg3::dev

◆ pdev

struct pci_device* tg3::pdev

Definition at line 3092 of file tg3.h.

Referenced by tg3_init_one().

◆ msg_enable

u32 tg3::msg_enable

Definition at line 3094 of file tg3.h.

◆ write32_tx_mbox

void(* tg3::write32_tx_mbox) (struct tg3 *, u32, u32)

Definition at line 3097 of file tg3.h.

◆ write32_rx_mbox

void(* tg3::write32_rx_mbox) (struct tg3 *, u32, u32)

Definition at line 3101 of file tg3.h.

◆ rx_std_max_post

u32 tg3::rx_std_max_post

Definition at line 3103 of file tg3.h.

◆ rx_pkt_map_sz

u32 tg3::rx_pkt_map_sz

Definition at line 3104 of file tg3.h.

◆ hw_status

struct tg3_hw_status* tg3::hw_status

Definition at line 3107 of file tg3.h.

◆ last_tag

u32 tg3::last_tag

Definition at line 3109 of file tg3.h.

◆ last_irq_tag

u32 tg3::last_irq_tag

Definition at line 3110 of file tg3.h.

◆ int_mbox

u32 tg3::int_mbox

Definition at line 3111 of file tg3.h.

◆ coal_now

u32 tg3::coal_now

Definition at line 3114 of file tg3.h.

◆ consmbox

u32 tg3::consmbox

Definition at line 3116 of file tg3.h.

◆ rx_rcb_ptr

u32 tg3::rx_rcb_ptr

Definition at line 3117 of file tg3.h.

◆ rx_rcb_prod_idx

u16* tg3::rx_rcb_prod_idx

Definition at line 3118 of file tg3.h.

◆ prodring

struct tg3_rx_prodring_set tg3::prodring

Definition at line 3119 of file tg3.h.

◆ rx_rcb

struct tg3_rx_buffer_desc* tg3::rx_rcb

Definition at line 3120 of file tg3.h.

◆ tx_prod

u32 tg3::tx_prod

Definition at line 3122 of file tg3.h.

◆ tx_cons

u32 tg3::tx_cons

Definition at line 3123 of file tg3.h.

◆ prodmbox

u32 tg3::prodmbox

Definition at line 3124 of file tg3.h.

◆ tx_ring

struct tg3_tx_buffer_desc* tg3::tx_ring

Definition at line 3125 of file tg3.h.

◆ tx_buffers

struct ring_info* tg3::tx_buffers

Definition at line 3126 of file tg3.h.

◆ status_mapping

dma_addr_t tg3::status_mapping

Definition at line 3128 of file tg3.h.

◆ rx_rcb_mapping

dma_addr_t tg3::rx_rcb_mapping

Definition at line 3129 of file tg3.h.

◆ tx_desc_mapping

dma_addr_t tg3::tx_desc_mapping

Definition at line 3130 of file tg3.h.

◆ rx_dropped

unsigned long tg3::rx_dropped

Definition at line 3134 of file tg3.h.

◆ phy_crc_errors

unsigned long tg3::phy_crc_errors

Definition at line 3139 of file tg3.h.

◆ @339

union { ... }

◆ timer_counter

u16 tg3::timer_counter

Definition at line 3142 of file tg3.h.

◆ timer_multiplier

u16 tg3::timer_multiplier

Definition at line 3143 of file tg3.h.

◆ timer_offset

u32 tg3::timer_offset

Definition at line 3144 of file tg3.h.

◆ asf_counter

u16 tg3::asf_counter

Definition at line 3145 of file tg3.h.

◆ asf_multiplier

u16 tg3::asf_multiplier

Definition at line 3146 of file tg3.h.

◆ serdes_counter

u32 tg3::serdes_counter

Definition at line 3149 of file tg3.h.

◆ link_config

struct tg3_link_config tg3::link_config

Definition at line 3154 of file tg3.h.

◆ bufmgr_config

struct tg3_bufmgr_config tg3::bufmgr_config

Definition at line 3155 of file tg3.h.

◆ rx_mode

u32 tg3::rx_mode

Definition at line 3158 of file tg3.h.

Referenced by __tg3_set_rx_mode().

◆ tx_mode

u32 tg3::tx_mode

Definition at line 3159 of file tg3.h.

◆ mac_mode

u32 tg3::mac_mode

Definition at line 3160 of file tg3.h.

◆ mi_mode

u32 tg3::mi_mode

Definition at line 3161 of file tg3.h.

◆ misc_host_ctrl

u32 tg3::misc_host_ctrl

Definition at line 3162 of file tg3.h.

◆ grc_mode

u32 tg3::grc_mode

Definition at line 3163 of file tg3.h.

◆ grc_local_ctrl

u32 tg3::grc_local_ctrl

Definition at line 3164 of file tg3.h.

◆ dma_rwctrl

u32 tg3::dma_rwctrl

Definition at line 3165 of file tg3.h.

◆ coalesce_mode

u32 tg3::coalesce_mode

Definition at line 3166 of file tg3.h.

◆ pci_chip_rev_id

u32 tg3::pci_chip_rev_id

Definition at line 3169 of file tg3.h.

◆ pci_cmd

u16 tg3::pci_cmd

Definition at line 3170 of file tg3.h.

◆ pci_cacheline_sz

u8 tg3::pci_cacheline_sz

Definition at line 3171 of file tg3.h.

◆ pci_lat_timer

u8 tg3::pci_lat_timer

Definition at line 3172 of file tg3.h.

◆ pm_cap

int tg3::pm_cap

Definition at line 3174 of file tg3.h.

◆ pcix_cap

int tg3::pcix_cap

Definition at line 3176 of file tg3.h.

◆ pcie_cap

int tg3::pcie_cap

Definition at line 3177 of file tg3.h.

◆ @341

union { ... }

◆ pcie_readrq

int tg3::pcie_readrq

Definition at line 3179 of file tg3.h.

◆ phy_addr

u8 tg3::phy_addr

Definition at line 3181 of file tg3.h.

◆ phy_id

u32 tg3::phy_id

Definition at line 3184 of file tg3.h.

◆ phy_flags

u32 tg3::phy_flags

Definition at line 3233 of file tg3.h.

◆ led_ctrl

u32 tg3::led_ctrl

Definition at line 3255 of file tg3.h.

◆ phy_otp

u32 tg3::phy_otp

Definition at line 3256 of file tg3.h.

◆ setlpicnt

u32 tg3::setlpicnt

Definition at line 3257 of file tg3.h.

◆ board_part_number

char tg3::board_part_number[TG3_BPN_SIZE]

Definition at line 3260 of file tg3.h.

◆ fw_ver

char tg3::fw_ver[TG3_VER_SIZE]

Definition at line 3262 of file tg3.h.

◆ nic_sram_data_cfg

u32 tg3::nic_sram_data_cfg

Definition at line 3263 of file tg3.h.

◆ pci_clock_ctrl

u32 tg3::pci_clock_ctrl

Definition at line 3264 of file tg3.h.

◆ pdev_peer

struct pci_device* tg3::pdev_peer

Definition at line 3265 of file tg3.h.

◆ nvram_lock_cnt

int tg3::nvram_lock_cnt

Definition at line 3267 of file tg3.h.

◆ nvram_size

u32 tg3::nvram_size

Definition at line 3268 of file tg3.h.

◆ nvram_pagesize

u32 tg3::nvram_pagesize

Definition at line 3277 of file tg3.h.

◆ nvram_jedecnum

u32 tg3::nvram_jedecnum

Definition at line 3278 of file tg3.h.

◆ subsystem_vendor

u16 tg3::subsystem_vendor

Definition at line 3305 of file tg3.h.

◆ subsystem_device

u16 tg3::subsystem_device

Definition at line 3306 of file tg3.h.

◆ link_up

int tg3::link_up

Definition at line 3307 of file tg3.h.


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