Lines Matching defs:stmmac_priv

211 struct stmmac_priv {  struct
232 int (*hwif_quirks)(struct stmmac_priv *priv); argument
233 struct mutex lock;
235 struct stmmac_dma_conf dma_conf;
238 struct stmmac_channel channel[STMMAC_CH_MAX];
240 int speed;
241 unsigned int flow_ctrl;
242 unsigned int pause;
243 struct mii_bus *mii;
245 struct phylink_config phylink_config;
246 struct phylink *phylink;
248 struct stmmac_extra_stats xstats ____cacheline_aligned_in_smp;
249 struct stmmac_safety_stats sstats;
250 struct plat_stmmacenet_data *plat;
251 struct dma_features dma_cap;
252 struct stmmac_counters mmc;
253 int hw_cap_support;
254 int synopsys_id;
255 u32 msg_enable;
256 int wolopts;
257 int wol_irq;
258 int clk_csr;
259 struct timer_list eee_ctrl_timer;
260 int lpi_irq;
261 int eee_enabled;
262 int eee_active;
263 int tx_lpi_timer;
264 int tx_lpi_enabled;
265 int eee_tw_timer;
266 bool eee_sw_timer_en;
267 unsigned int mode;
268 unsigned int chain_mode;
269 int extend_desc;
270 struct hwtstamp_config tstamp_config;
271 struct ptp_clock *ptp_clock;
272 struct ptp_clock_info ptp_clock_ops;
273 unsigned int default_addend;
274 u32 sub_second_inc;
275 u32 systime_flags;
276 u32 adv_ts;
277 int use_riwt;
278 int irq_wake;
279 rwlock_t ptp_lock;
281 struct mutex aux_ts_lock;
282 wait_queue_head_t tstamp_busy_wait;
284 void __iomem *mmcaddr;
285 void __iomem *ptpaddr;
286 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
287 int sfty_ce_irq;
288 int sfty_ue_irq;
289 int rx_irq[MTL_MAX_RX_QUEUES];
290 int tx_irq[MTL_MAX_TX_QUEUES];
292 char int_name_mac[IFNAMSIZ + 9];
293 char int_name_wol[IFNAMSIZ + 9];
294 char int_name_lpi[IFNAMSIZ + 9];
295 char int_name_sfty_ce[IFNAMSIZ + 10];
296 char int_name_sfty_ue[IFNAMSIZ + 10];
297 char int_name_rx_irq[MTL_MAX_TX_QUEUES][IFNAMSIZ + 14];
298 char int_name_tx_irq[MTL_MAX_TX_QUEUES][IFNAMSIZ + 18];
301 struct dentry *dbgfs_dir;
304 unsigned long state;
305 struct workqueue_struct *wq;
306 struct work_struct service_task;
309 unsigned long fpe_task_state;
310 struct workqueue_struct *fpe_wq;
311 struct work_struct fpe_task;
312 char wq_name[IFNAMSIZ + 4];
315 unsigned int tc_entries_max;
316 unsigned int tc_off_max;
317 struct stmmac_tc_entry *tc_entries;
318 unsigned int flow_entries_max;
319 struct stmmac_flow_entry *flow_entries;
320 unsigned int rfs_entries_max[STMMAC_RFS_T_MAX];
321 unsigned int rfs_entries_cnt[STMMAC_RFS_T_MAX];
322 unsigned int rfs_entries_total;
323 struct stmmac_rfs_entry *rfs_entries;
349 int stmmac_init_tstamp_counter(struct stmmac_priv *priv, u32 systime_flags); argument