Lines Matching defs:xgbe_prv_data
757 struct xgbe_prv_data { struct
758 struct net_device *netdev;
759 struct platform_device *pdev;
760 struct acpi_device *adev;
761 struct device *dev;
764 unsigned int use_acpi;
767 void __iomem *xgmac_regs; /* XGMAC CSRs */
768 void __iomem *xpcs_regs; /* XPCS MMD registers */
769 void __iomem *rxtx_regs; /* SerDes Rx/Tx CSRs */
770 void __iomem *sir0_regs; /* SerDes integration registers (1/2) */
771 void __iomem *sir1_regs; /* SerDes integration registers (2/2) */
774 spinlock_t lock;
777 struct mutex xpcs_mutex;
780 struct mutex rss_mutex;
783 unsigned long dev_state;
785 int dev_irq;
786 unsigned int per_channel_irq;
788 struct xgbe_hw_if hw_if;
789 struct xgbe_phy_if phy_if;
790 struct xgbe_desc_if desc_if;
793 unsigned int coherent;
794 unsigned int axdomain;
795 unsigned int arcache;
796 unsigned int awcache;
799 struct workqueue_struct *dev_workqueue;
800 struct work_struct service_work;
801 struct timer_list service_timer;
804 struct xgbe_channel *channel;
805 unsigned int channel_count;
806 unsigned int tx_ring_count;
807 unsigned int tx_desc_count;
808 unsigned int rx_ring_count;
809 unsigned int rx_desc_count;
811 unsigned int tx_q_count;
812 unsigned int rx_q_count;
815 unsigned int pblx8;
818 unsigned int tx_sf_mode;
819 unsigned int tx_threshold;
820 unsigned int tx_pbl;
821 unsigned int tx_osp_mode;
824 unsigned int rx_sf_mode;
825 unsigned int rx_threshold;
826 unsigned int rx_pbl;
829 unsigned int tx_usecs;
830 unsigned int tx_frames;
833 unsigned int rx_riwt;
834 unsigned int rx_usecs;
835 unsigned int rx_frames;
838 unsigned int rx_buf_size;
841 unsigned int pause_autoneg;
842 unsigned int tx_pause;
843 unsigned int rx_pause;
846 u8 rss_key[XGBE_RSS_HASH_KEY_SIZE];
847 u32 rss_table[XGBE_RSS_MAX_TABLE_SIZE];
848 u32 rss_options;
851 unsigned char mac_addr[ETH_ALEN];
852 netdev_features_t netdev_features;
853 struct napi_struct napi;
854 struct xgbe_mmc_stats mmc_stats;
855 struct xgbe_ext_stats ext_stats;
858 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
861 struct clk *sysclk;
862 unsigned long sysclk_rate;
863 struct clk *ptpclk;
864 unsigned long ptpclk_rate;
867 spinlock_t tstamp_lock;
868 struct ptp_clock_info ptp_clock_info;
869 struct ptp_clock *ptp_clock;
870 struct hwtstamp_config tstamp_config;
871 struct cyclecounter tstamp_cc;
872 struct timecounter tstamp_tc;
873 unsigned int tstamp_addend;
874 struct work_struct tx_tstamp_work;
875 struct sk_buff *tx_tstamp_skb;
876 u64 tx_tstamp;
879 struct ieee_ets *ets;
880 struct ieee_pfc *pfc;
881 unsigned int q2tc_map[XGBE_MAX_QUEUES];
882 unsigned int prio2q_map[IEEE_8021QAZ_MAX_TCS];
885 struct xgbe_hw_features hw_feat;
888 struct work_struct restart_work;
891 unsigned int power_down;
894 u32 msg_enable;
897 phy_interface_t phy_mode;
898 int phy_link;
899 int phy_speed;
902 struct xgbe_phy phy;
903 int mdio_mmd;
904 unsigned long link_check;
906 char an_name[IFNAMSIZ + 32];
907 struct workqueue_struct *an_workqueue;
909 int an_irq;
910 struct work_struct an_irq_work;
912 unsigned int speed_set;
920 u32 serdes_blwc[XGBE_SPEEDS];
921 u32 serdes_cdr_rate[XGBE_SPEEDS];
922 u32 serdes_pq_skew[XGBE_SPEEDS];
923 u32 serdes_tx_amp[XGBE_SPEEDS];
924 u32 serdes_dfe_tap_cfg[XGBE_SPEEDS];
925 u32 serdes_dfe_tap_ena[XGBE_SPEEDS];
928 struct mutex an_mutex;
929 enum xgbe_an an_result;
930 enum xgbe_an an_state;
931 enum xgbe_rx kr_state;
932 enum xgbe_rx kx_state;
933 struct work_struct an_work;
934 unsigned int an_supported;
935 unsigned int parallel_detect;
936 unsigned int fec_ability;
937 unsigned long an_start;
962 void xgbe_ptp_register(struct xgbe_prv_data *); argument