Lines Matching defs:stmmac_priv

42 struct stmmac_priv {  struct
44 struct dma_extended_desc *dma_etx ____cacheline_aligned_in_smp;
45 struct dma_desc *dma_tx;
46 struct sk_buff **tx_skbuff;
47 unsigned int cur_tx;
48 unsigned int dirty_tx;
49 unsigned int dma_tx_size;
50 u32 tx_count_frames;
51 u32 tx_coal_frames;
52 u32 tx_coal_timer;
53 struct stmmac_tx_info *tx_skbuff_dma;
54 dma_addr_t dma_tx_phy;
55 int tx_coalesce;
56 int hwts_tx_en;
57 spinlock_t tx_lock;
58 bool tx_path_in_lpi_mode;
59 struct timer_list txtimer;
61 struct dma_desc *dma_rx ____cacheline_aligned_in_smp;
62 struct dma_extended_desc *dma_erx;
63 struct sk_buff **rx_skbuff;
64 unsigned int cur_rx;
65 unsigned int dirty_rx;
66 unsigned int dma_rx_size;
67 unsigned int dma_buf_sz;
68 u32 rx_riwt;
69 int hwts_rx_en;
70 dma_addr_t *rx_skbuff_dma;
71 dma_addr_t dma_rx_phy;
73 struct napi_struct napi ____cacheline_aligned_in_smp;
75 void __iomem *ioaddr;
76 struct net_device *dev;
77 struct device *device;
78 struct mac_device_info *hw;
79 spinlock_t lock;
81 struct phy_device *phydev ____cacheline_aligned_in_smp;
82 int oldlink;
83 int speed;
84 int oldduplex;
85 unsigned int flow_ctrl;
86 unsigned int pause;
87 struct mii_bus *mii;
88 int mii_irq[PHY_MAX_ADDR];
90 struct stmmac_extra_stats xstats ____cacheline_aligned_in_smp;
91 struct plat_stmmacenet_data *plat;
92 struct dma_features dma_cap;
93 struct stmmac_counters mmc;
94 int hw_cap_support;
95 int synopsys_id;
96 u32 msg_enable;
97 int wolopts;
98 int wol_irq;
99 struct clk *stmmac_clk;
100 struct clk *pclk;
101 struct reset_control *stmmac_rst;
102 int clk_csr;
103 struct timer_list eee_ctrl_timer;
104 int lpi_irq;
105 int eee_enabled;
106 int eee_active;
107 int tx_lpi_timer;
108 int pcs;
109 unsigned int mode;
133 int stmmac_ptp_register(struct stmmac_priv *priv); argument