Lines Matching defs:tsi108_prv_data

79 struct tsi108_prv_data {  struct
80 void __iomem *regs; /* Base of normal regs */
81 void __iomem *phyregs; /* Base of register bank used for PHY access */
83 struct net_device *dev;
84 struct napi_struct napi;
86 unsigned int phy; /* Index of PHY for this interface */
87 unsigned int irq_num;
88 unsigned int id;
89 unsigned int phy_type;
91 struct timer_list timer;/* Timer that triggers the check phy function */
92 unsigned int rxtail; /* Next entry in rxring to read */
93 unsigned int rxhead; /* Next entry in rxring to give a new buffer */
94 unsigned int rxfree; /* Number of free, allocated RX buffers */
96 unsigned int rxpending; /* Non-zero if there are still descriptors
100 unsigned int txtail; /* Next TX descriptor to check status on */
101 unsigned int txhead; /* Next TX descriptor to use */
108 unsigned int txfree;
110 unsigned int phy_ok; /* The PHY is currently powered on. */
116 unsigned int link_up;
117 unsigned int speed;
118 unsigned int duplex;
120 tx_desc *txring;
121 rx_desc *rxring;
122 struct sk_buff *txskbs[TSI108_TXRING_LEN];
123 struct sk_buff *rxskbs[TSI108_RXRING_LEN];
125 dma_addr_t txdma, rxdma;
129 spinlock_t txlock, misclock;
137 struct net_device_stats stats;
138 struct net_device_stats tmpstats;
144 unsigned long rx_fcs; /* Add to rx_frame_errors */
145 unsigned long rx_short_fcs; /* Add to rx_frame_errors */
146 unsigned long rx_long_fcs; /* Add to rx_frame_errors */
147 unsigned long rx_underruns; /* Add to rx_length_errors */
148 unsigned long rx_overruns; /* Add to rx_length_errors */
150 unsigned long tx_coll_abort; /* Add to tx_aborted_errors/collisions */
174 struct tsi108_prv_data *data = netdev_priv(dev); in dump_eth_one() argument