Lines Matching defs:sonic_local
294 struct sonic_local { struct
296 int dma_bitmode;
300 int reg_offset;
301 void *descriptors;
304 void *cda; /* CAM descriptor area */
305 void *tda; /* Transmit descriptor area */
306 void *rra; /* Receive resource area */
307 void *rda; /* Receive descriptor area */
308 struct sk_buff* volatile rx_skb[SONIC_NUM_RRS]; /* packets to be received */
309 struct sk_buff* volatile tx_skb[SONIC_NUM_TDS]; /* packets to be transmitted */
310 unsigned int tx_len[SONIC_NUM_TDS]; /* lengths of tx DMA mappings */
313 dma_addr_t descriptors_laddr;
314 u32 cda_laddr; /* logical DMA address of CDA */
315 u32 tda_laddr; /* logical DMA address of TDA */
316 u32 rra_laddr; /* logical DMA address of RRA */
317 u32 rda_laddr; /* logical DMA address of RDA */
318 dma_addr_t rx_laddr[SONIC_NUM_RRS]; /* logical DMA addresses of rx skbuffs */
319 dma_addr_t tx_laddr[SONIC_NUM_TDS]; /* logical DMA addresses of tx skbuffs */
320 unsigned int cur_rx;
321 unsigned int cur_tx; /* first unacked transmit packet */
322 unsigned int eol_rx;
323 unsigned int eol_tx; /* last unacked transmit packet */
324 int msg_enable;
325 struct device *device; /* generic device */
326 struct net_device_stats stats;
327 spinlock_t lock;