Lines Matching defs:cp_private
322 struct cp_private { struct
323 void __iomem *regs;
324 struct net_device *dev;
325 spinlock_t lock;
326 u32 msg_enable;
328 struct napi_struct napi;
330 struct pci_dev *pdev;
331 u32 rx_config;
332 u16 cpcmd;
334 struct cp_extra_stats cp_stats;
336 unsigned rx_head ____cacheline_aligned;
337 unsigned rx_tail;
338 struct cp_desc *rx_ring;
339 struct sk_buff *rx_skb[CP_RX_RING_SIZE];
341 unsigned tx_head ____cacheline_aligned;
342 unsigned tx_tail;
343 struct cp_desc *tx_ring;
344 struct sk_buff *tx_skb[CP_TX_RING_SIZE];
345 u32 tx_opts[CP_TX_RING_SIZE];
347 unsigned rx_buf_sz;
348 unsigned wol_enabled : 1; /* Is Wake-on-LAN enabled? */
350 dma_addr_t ring_dma;
352 struct mii_if_info mii_if;