Lines Matching defs:tsi108_prv_data
62 struct tsi108_prv_data { struct
63 void __iomem *regs; /* Base of normal regs */
64 void __iomem *phyregs; /* Base of register bank used for PHY access */
66 struct net_device *dev;
67 struct napi_struct napi;
69 unsigned int phy; /* Index of PHY for this interface */
70 unsigned int irq_num;
71 unsigned int id;
72 unsigned int phy_type;
74 struct timer_list timer;/* Timer that triggers the check phy function */
75 unsigned int rxtail; /* Next entry in rxring to read */
76 unsigned int rxhead; /* Next entry in rxring to give a new buffer */
77 unsigned int rxfree; /* Number of free, allocated RX buffers */
79 unsigned int rxpending; /* Non-zero if there are still descriptors
83 unsigned int txtail; /* Next TX descriptor to check status on */
84 unsigned int txhead; /* Next TX descriptor to use */
91 unsigned int txfree;
93 unsigned int phy_ok; /* The PHY is currently powered on. */
99 unsigned int link_up;
100 unsigned int speed;
101 unsigned int duplex;
103 tx_desc *txring;
104 rx_desc *rxring;
105 struct sk_buff *txskbs[TSI108_TXRING_LEN];
106 struct sk_buff *rxskbs[TSI108_RXRING_LEN];
108 dma_addr_t txdma, rxdma;
112 spinlock_t txlock, misclock;
120 struct net_device_stats stats;
121 struct net_device_stats tmpstats;
149 struct tsi108_prv_data *data = netdev_priv(dev); in dump_eth_one() argument