crisv32_ethernet_local Struct Reference

#include <eth_v32.h>

Collaboration diagram for crisv32_ethernet_local:

Collaboration graph
[legend]

Public Member Functions

dma_descr_context ctxt_in __attribute__ ((__aligned__(32)))
dma_descr_context ctxt_out __attribute__ ((__aligned__(32)))

Data Fields

crisv32_eth_descractive_rx_desc
crisv32_eth_descrprev_rx_desc
crisv32_eth_descrlast_rx_desc
crisv32_eth_descractive_tx_desc
crisv32_eth_descrprev_tx_desc
crisv32_eth_descrcatch_tx_desc
crisv32_eth_descr dma_rx_descr_list [NBR_RX_DESC]
crisv32_eth_descr dma_tx_descr_list [NBR_TX_DESC]
char new_rx_package
int eth_inst
int dma_in_inst
int dma_out_inst
timer_list speed_timer
int current_speed
int current_speed_selection
int sender_started
int txpackets
crisv32_eth_ledsleds
timer_list duplex_timer
int full_duplex
enum duplex current_duplex
net_device_stats stats
unsigned int mdio_phy_addr
transceiver_opstransceiver
unsigned long newbuf
spinlock_t lock
spinlock_t transceiver_lock

Detailed Description

Definition at line 134 of file eth_v32.h.


Member Function Documentation

dma_descr_context ctxt_in crisv32_ethernet_local::__attribute__ ( (__aligned__(32))   ) 

dma_descr_context ctxt_out crisv32_ethernet_local::__attribute__ ( (__aligned__(32))   ) 


Field Documentation

crisv32_eth_descr* crisv32_ethernet_local::active_rx_desc

Definition at line 138 of file eth_v32.h.

Referenced by __crisv32_eth_rx_ring_advance(), crisv32_eth_poll(), crisv32_eth_receive_packet(), crisv32_eth_rx_ring_advance(), and crisv32_ethernet_bug().

crisv32_eth_descr* crisv32_ethernet_local::prev_rx_desc

Definition at line 139 of file eth_v32.h.

Referenced by __crisv32_eth_rx_ring_advance(), and crisv32_ethernet_bug().

crisv32_eth_descr* crisv32_ethernet_local::last_rx_desc

Definition at line 140 of file eth_v32.h.

Referenced by crisv32_eth_receive_packet(), and crisv32_ethernet_bug().

crisv32_eth_descr* crisv32_ethernet_local::active_tx_desc

Definition at line 142 of file eth_v32.h.

Referenced by crisv32_eth_hw_send_packet(), crisv32_eth_reset_rings(), crisv32_eth_send_packet(), crisv32_eth_tx_timeout(), crisv32_ethernet_bug(), crisv32nw_eth_interrupt(), and crisv32tx_eth_interrupt().

crisv32_eth_descr* crisv32_ethernet_local::prev_tx_desc

Definition at line 143 of file eth_v32.h.

Referenced by crisv32_eth_hw_send_packet(), and crisv32_start_dma_out().

crisv32_eth_descr* crisv32_ethernet_local::catch_tx_desc

Definition at line 144 of file eth_v32.h.

Referenced by crisv32_eth_reset_rings(), crisv32_eth_send_packet(), crisv32_eth_tx_timeout(), crisv32_ethernet_bug(), crisv32nw_eth_interrupt(), and crisv32tx_eth_interrupt().

crisv32_eth_descr crisv32_ethernet_local::dma_rx_descr_list[NBR_RX_DESC]

Definition at line 146 of file eth_v32.h.

Referenced by crisv32_eth_init_rings(), crisv32_eth_reset_rings(), and crisv32_ethernet_bug().

crisv32_eth_descr crisv32_ethernet_local::dma_tx_descr_list[NBR_TX_DESC]

Definition at line 147 of file eth_v32.h.

Referenced by crisv32_eth_init_rings(), and crisv32_ethernet_bug().

char crisv32_ethernet_local::new_rx_package

Definition at line 154 of file eth_v32.h.

Referenced by crisv32_eth_poll(), crisv32_eth_rx_ring_advance(), and crisv32_has_rx_work().

int crisv32_ethernet_local::eth_inst

Definition at line 157 of file eth_v32.h.

Referenced by crisv32_eth_check_duplex(), crisv32_eth_check_speed(), crisv32_eth_open(), crisv32_eth_receive_mdio_bit(), crisv32_eth_request_irqdma(), crisv32_eth_send_mdio_bit(), crisv32_eth_set_mac_address(), crisv32_eth_set_multicast_list(), crisv32_eth_setup_controller(), crisv32_eth_tx_timeout(), crisv32_ethernet_bug(), crisv32_start_receiver(), crisv32_stop_receiver(), crisv32nw_eth_interrupt(), update_rx_stats(), and update_tx_stats().

int crisv32_ethernet_local::dma_in_inst

Definition at line 158 of file eth_v32.h.

Referenced by crisv32_disable_rx_ints(), crisv32_enable_rx_ints(), crisv32_eth_close(), crisv32_eth_open(), crisv32_eth_poll(), crisv32_eth_rx_ring_advance(), crisv32_ethernet_bug(), and crisv32rx_eth_interrupt().

int crisv32_ethernet_local::dma_out_inst

Definition at line 159 of file eth_v32.h.

Referenced by crisv32_disable_tx_ints(), crisv32_enable_tx_ints(), crisv32_eth_close(), crisv32_eth_open(), crisv32_eth_tx_timeout(), crisv32_ethernet_bug(), crisv32_start_dma_out(), crisv32nw_eth_interrupt(), and crisv32tx_eth_interrupt().

struct timer_list crisv32_ethernet_local::speed_timer

Definition at line 162 of file eth_v32.h.

Referenced by crisv32_eth_check_speed(), crisv32_eth_close(), crisv32_eth_open(), and crisv32_ethernet_device_init().

int crisv32_ethernet_local::current_speed

Definition at line 163 of file eth_v32.h.

Referenced by broadcom_check_speed(), crisv32_eth_check_speed(), crisv32_eth_get_settings(), crisv32_ethernet_device_init(), crisv32_set_network_leds(), generic_check_speed(), intel_check_speed(), national_check_speed(), tdk_check_speed(), and vitesse_check_speed().

int crisv32_ethernet_local::current_speed_selection

Definition at line 164 of file eth_v32.h.

Referenced by crisv32_eth_get_settings(), crisv32_eth_negotiate(), crisv32_eth_nway_reset(), crisv32_eth_set_speed(), and crisv32_ethernet_device_init().

int crisv32_ethernet_local::sender_started

Definition at line 165 of file eth_v32.h.

Referenced by crisv32_eth_close(), crisv32_eth_tx_timeout(), crisv32_start_dma_out(), and crisv32nw_eth_interrupt().

int crisv32_ethernet_local::txpackets

Definition at line 166 of file eth_v32.h.

Referenced by crisv32_eth_reset_rings(), crisv32_eth_send_packet(), crisv32_eth_tx_timeout(), crisv32_ethernet_bug(), crisv32nw_eth_interrupt(), and crisv32tx_eth_interrupt().

struct crisv32_eth_leds* crisv32_ethernet_local::leds

Definition at line 168 of file eth_v32.h.

Referenced by crisv32_clear_network_leds(), crisv32_eth_check_speed(), crisv32_eth_receive_packet(), crisv32_eth_send_packet(), crisv32_init_leds(), and crisv32_set_network_leds().

struct timer_list crisv32_ethernet_local::duplex_timer

Definition at line 171 of file eth_v32.h.

Referenced by crisv32_eth_check_duplex(), crisv32_eth_close(), crisv32_eth_open(), and crisv32_ethernet_device_init().

int crisv32_ethernet_local::full_duplex

Definition at line 172 of file eth_v32.h.

Referenced by broadcom_check_duplex(), crisv32_eth_check_duplex(), crisv32_eth_get_settings(), crisv32_ethernet_device_init(), generic_check_duplex(), intel_check_duplex(), national_check_duplex(), tdk_check_duplex(), and vitesse_check_duplex().

enum duplex crisv32_ethernet_local::current_duplex

Definition at line 173 of file eth_v32.h.

Referenced by crisv32_eth_get_settings(), crisv32_eth_negotiate(), crisv32_eth_nway_reset(), crisv32_eth_set_duplex(), and crisv32_ethernet_device_init().

struct net_device_stats crisv32_ethernet_local::stats

Definition at line 175 of file eth_v32.h.

Referenced by crisv32_eth_poll(), crisv32_eth_receive_packet(), crisv32_eth_tx_timeout(), crisv32_get_stats(), crisv32nw_eth_interrupt(), crisv32tx_eth_interrupt(), update_rx_stats(), and update_tx_stats().

unsigned int crisv32_ethernet_local::mdio_phy_addr

Definition at line 178 of file eth_v32.h.

Referenced by crisv32_eth_get_mdio_reg(), crisv32_eth_get_settings(), crisv32_eth_ioctl(), crisv32_eth_probe_transceiver(), crisv32_eth_reset_tranceiver(), and crisv32_eth_set_mdio_reg().

struct transceiver_ops* crisv32_ethernet_local::transceiver

Definition at line 180 of file eth_v32.h.

Referenced by crisv32_eth_check_duplex(), crisv32_eth_check_speed(), and crisv32_eth_probe_transceiver().

unsigned long crisv32_ethernet_local::newbuf

Definition at line 181 of file eth_v32.h.

Referenced by __crisv32_eth_rx_ring_advance(), and crisv32_eth_receive_packet().

spinlock_t crisv32_ethernet_local::lock

Definition at line 187 of file eth_v32.h.

Referenced by crisv32_eth_close(), crisv32_eth_ioctl(), crisv32_eth_open(), crisv32_eth_send_packet(), crisv32_eth_set_config(), crisv32_eth_tx_timeout(), crisv32_ethernet_device_init(), crisv32_get_stats(), crisv32nw_eth_interrupt(), and crisv32tx_eth_interrupt().

spinlock_t crisv32_ethernet_local::transceiver_lock

Definition at line 188 of file eth_v32.h.

Referenced by crisv32_eth_check_speed(), crisv32_eth_set_duplex(), crisv32_eth_set_speed(), and crisv32_ethernet_device_init().


The documentation for this struct was generated from the following file:
Generated on Fri Nov 28 00:08:44 2008 for elphel by  doxygen 1.5.1