Lines Matching defs:xgbe_prv_data

651 struct xgbe_prv_data {  struct
652 struct net_device *netdev;
653 struct platform_device *pdev;
654 struct acpi_device *adev;
655 struct device *dev;
658 unsigned int use_acpi;
661 void __iomem *xgmac_regs; /* XGMAC CSRs */
662 void __iomem *xpcs_regs; /* XPCS MMD registers */
665 spinlock_t lock;
668 struct mutex xpcs_mutex;
671 struct mutex rss_mutex;
673 int dev_irq;
674 unsigned int per_channel_irq;
676 struct xgbe_hw_if hw_if;
677 struct xgbe_desc_if desc_if;
680 unsigned int coherent;
681 unsigned int axdomain;
682 unsigned int arcache;
683 unsigned int awcache;
686 struct xgbe_channel *channel;
687 unsigned int channel_count;
688 unsigned int tx_ring_count;
689 unsigned int tx_desc_count;
690 unsigned int rx_ring_count;
691 unsigned int rx_desc_count;
693 unsigned int tx_q_count;
694 unsigned int rx_q_count;
697 unsigned int pblx8;
700 unsigned int tx_sf_mode;
701 unsigned int tx_threshold;
702 unsigned int tx_pbl;
703 unsigned int tx_osp_mode;
706 unsigned int rx_sf_mode;
707 unsigned int rx_threshold;
708 unsigned int rx_pbl;
711 unsigned int tx_usecs;
712 unsigned int tx_frames;
715 unsigned int rx_riwt;
716 unsigned int rx_usecs;
717 unsigned int rx_frames;
720 unsigned int rx_buf_size;
723 unsigned int pause_autoneg;
724 unsigned int tx_pause;
725 unsigned int rx_pause;
728 u8 rss_key[XGBE_RSS_HASH_KEY_SIZE];
729 u32 rss_table[XGBE_RSS_MAX_TABLE_SIZE];
730 u32 rss_options;
733 struct module *phy_module;
734 char *mii_bus_id;
735 struct mii_bus *mii;
736 int mdio_mmd;
737 struct phy_device *phydev;
738 int default_autoneg;
739 int default_speed;
742 phy_interface_t phy_mode;
743 int phy_link;
744 int phy_speed;
745 unsigned int phy_tx_pause;
746 unsigned int phy_rx_pause;
749 unsigned char mac_addr[ETH_ALEN];
750 netdev_features_t netdev_features;
751 struct napi_struct napi;
752 struct xgbe_mmc_stats mmc_stats;
755 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
758 struct clk *sysclk;
759 unsigned long sysclk_rate;
760 struct clk *ptpclk;
761 unsigned long ptpclk_rate;
764 spinlock_t tstamp_lock;
765 struct ptp_clock_info ptp_clock_info;
766 struct ptp_clock *ptp_clock;
767 struct hwtstamp_config tstamp_config;
768 struct cyclecounter tstamp_cc;
769 struct timecounter tstamp_tc;
770 unsigned int tstamp_addend;
771 struct work_struct tx_tstamp_work;
772 struct sk_buff *tx_tstamp_skb;
773 u64 tx_tstamp;
776 struct ieee_ets *ets;
777 struct ieee_pfc *pfc;
778 unsigned int q2tc_map[XGBE_MAX_QUEUES];
779 unsigned int prio2q_map[IEEE_8021QAZ_MAX_TCS];
782 struct xgbe_hw_features hw_feat;
785 struct work_struct restart_work;
810 int xgbe_mdio_register(struct xgbe_prv_data *); argument