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


Field Documentation

unsigned int tg3::irq_sync

Definition at line 3065 of file tg3.h.

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

Definition at line 3087 of file tg3.h.

Referenced by tg3_get_invariants().

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

Definition at line 3088 of file tg3.h.

Referenced by tg3_get_invariants(), and tw32_mailbox_flush().

void* tg3::regs

Definition at line 3094 of file tg3.h.

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

Definition at line 3097 of file tg3.h.

Referenced by tg3_get_invariants().

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

Definition at line 3101 of file tg3.h.

Referenced by tg3_get_invariants().

Definition at line 3103 of file tg3.h.

Referenced by tg3_get_invariants().

Definition at line 3104 of file tg3.h.

Definition at line 3109 of file tg3.h.

Referenced by tg3_chip_reset(), tg3_enable_ints(), and tg3_init_rings().

Definition at line 3110 of file tg3.h.

Referenced by tg3_chip_reset(), and tg3_init_rings().

Definition at line 3111 of file tg3.h.

Referenced by tg3_disable_ints(), tg3_enable_ints(), tg3_init_one(), and tg3_rings_reset().

Definition at line 3114 of file tg3.h.

Referenced by tg3_enable_ints(), and tg3_init_one().

Definition at line 3116 of file tg3.h.

Referenced by tg3_init_one(), tg3_rings_reset(), and tg3_rx_complete().

Definition at line 3117 of file tg3.h.

Referenced by tg3_init_rings(), and tg3_rx_complete().

Definition at line 3118 of file tg3.h.

Referenced by tg3_alloc_consistent(), and tg3_rx_complete().

Definition at line 3122 of file tg3.h.

Referenced by tg3_init_rings(), tg3_rings_reset(), tg3_transmit(), and tg3_tx_avail().

Definition at line 3123 of file tg3.h.

Referenced by tg3_init_rings(), tg3_rings_reset(), tg3_tx_avail(), and tg3_tx_complete().

Definition at line 3124 of file tg3.h.

Referenced by tg3_init_one(), tg3_rings_reset(), and tg3_transmit().

Definition at line 3126 of file tg3.h.

Referenced by tg3_alloc_consistent(), tg3_free_consistent(), tg3_transmit(), and tg3_tx_complete().

Definition at line 3128 of file tg3.h.

Referenced by tg3_alloc_consistent(), tg3_free_consistent(), and tg3_rings_reset().

Definition at line 3129 of file tg3.h.

Referenced by tg3_alloc_consistent(), tg3_free_consistent(), and tg3_rings_reset().

Definition at line 3130 of file tg3.h.

Referenced by tg3_alloc_consistent(), and tg3_rings_reset().

unsigned long tg3::rx_dropped

Definition at line 3134 of file tg3.h.

unsigned long tg3::phy_crc_errors

Definition at line 3139 of file tg3.h.

union { ... }

Definition at line 3142 of file tg3.h.

Definition at line 3143 of file tg3.h.

Definition at line 3144 of file tg3.h.

Definition at line 3145 of file tg3.h.

Definition at line 3146 of file tg3.h.

Definition at line 3155 of file tg3.h.

Referenced by tg3_init_bufmgr_config(), and tg3_reset_hw().

Definition at line 3159 of file tg3.h.

Referenced by tg3_abort_hw(), tg3_init_one(), tg3_reset_hw(), and tg3_setup_flow_control().

Definition at line 3161 of file tg3.h.

Referenced by tg3_get_invariants(), tg3_readphy(), tg3_setup_copper_phy(), and tg3_writephy().

Definition at line 3163 of file tg3.h.

Referenced by tg3_chip_reset(), tg3_get_invariants(), tg3_init_one(), and tg3_reset_hw().

Definition at line 3165 of file tg3.h.

Referenced by tg3_reset_hw(), and tg3_test_dma().

Definition at line 3166 of file tg3.h.

Referenced by tg3_enable_ints(), tg3_get_invariants(), and tg3_reset_hw().

Definition at line 3170 of file tg3.h.

Referenced by tg3_restore_pci_state(), and tg3_save_pci_state().

Definition at line 3171 of file tg3.h.

Referenced by tg3_get_invariants(), and tg3_restore_pci_state().

Definition at line 3172 of file tg3.h.

Referenced by tg3_get_invariants(), and tg3_restore_pci_state().

Definition at line 3174 of file tg3.h.

Referenced by tg3_get_eeprom_hw_cfg(), tg3_get_invariants(), and tg3_set_power_state_0().

Definition at line 3176 of file tg3.h.

Referenced by tg3_get_invariants(), tg3_reset_hw(), and tg3_restore_pci_state().

Definition at line 3177 of file tg3.h.

Referenced by tg3_chip_reset(), tg3_get_invariants(), and tg3_setup_copper_phy().

union { ... }

Definition at line 3179 of file tg3.h.

Definition at line 3181 of file tg3.h.

Referenced by tg3_mdio_init(), tg3_readphy(), and tg3_writephy().

Definition at line 3256 of file tg3.h.

Referenced by tg3_get_invariants(), and tg3_phy_apply_otp().

Definition at line 3257 of file tg3.h.

Referenced by tg3_link_report().

Definition at line 3260 of file tg3.h.

Definition at line 3262 of file tg3.h.

Definition at line 3263 of file tg3.h.

Referenced by tg3_chip_reset(), and tg3_get_eeprom_hw_cfg().

Definition at line 3264 of file tg3.h.

Referenced by tg3_chip_reset(), tg3_reset_hw(), and tg3_switch_clocks().

Definition at line 3265 of file tg3.h.

Definition at line 3267 of file tg3.h.

Referenced by tg3_chip_reset(), tg3_nvram_lock(), and tg3_nvram_unlock().

Definition at line 3268 of file tg3.h.

Definition at line 3277 of file tg3.h.

Referenced by tg3_nvram_phys_addr().

Definition at line 3278 of file tg3.h.

Referenced by tg3_nvram_phys_addr().

Definition at line 3305 of file tg3.h.

Referenced by tg3_get_eeprom_hw_cfg(), tg3_init_one(), and tg3_lookup_by_subsys().

Definition at line 3306 of file tg3.h.

Referenced by tg3_get_eeprom_hw_cfg(), tg3_init_one(), and tg3_lookup_by_subsys().


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