Lines Matching defs:xlgmac_pdata
543 struct xlgmac_pdata { struct
544 struct net_device *netdev;
545 struct device *dev;
547 struct xlgmac_hw_ops hw_ops;
548 struct xlgmac_desc_ops desc_ops;
551 struct xlgmac_stats stats;
553 u32 msg_enable;
556 void __iomem *mac_regs;
559 struct xlgmac_hw_features hw_feat;
561 struct work_struct restart_work;
564 struct xlgmac_channel *channel_head;
565 unsigned int channel_count;
566 unsigned int tx_ring_count;
567 unsigned int rx_ring_count;
568 unsigned int tx_desc_count;
569 unsigned int rx_desc_count;
570 unsigned int tx_q_count;
571 unsigned int rx_q_count;
574 unsigned int pblx8;
577 unsigned int tx_sf_mode;
578 unsigned int tx_threshold;
579 unsigned int tx_pbl;
580 unsigned int tx_osp_mode;
583 unsigned int rx_sf_mode;
584 unsigned int rx_threshold;
585 unsigned int rx_pbl;
588 unsigned int tx_usecs;
589 unsigned int tx_frames;
592 unsigned int rx_riwt;
593 unsigned int rx_usecs;
594 unsigned int rx_frames;
597 unsigned int rx_buf_size;
600 unsigned int tx_pause;
601 unsigned int rx_pause;
604 int dev_irq;
605 unsigned int per_channel_irq;
606 int channel_irq[XLGMAC_MAX_DMA_CHANNELS];
609 unsigned char mac_addr[ETH_ALEN];
610 netdev_features_t netdev_features;
611 struct napi_struct napi;
637 void xlgmac_dump_tx_desc(struct xlgmac_pdata *pdata, argument