Lines Matching defs:emac_priv
308 struct emac_priv { struct
309 u32 msg_enable;
310 struct net_device *ndev;
311 struct platform_device *pdev;
312 struct napi_struct napi;
313 char mac_addr[6];
314 void __iomem *remap_addr;
315 u32 emac_base_phys;
316 void __iomem *emac_base;
317 void __iomem *ctrl_base;
318 struct cpdma_ctlr *dma;
319 struct cpdma_chan *txchan;
320 struct cpdma_chan *rxchan;
321 u32 link; /* 1=link on, 0=link off */
322 u32 speed; /* 0=Auto Neg, 1=No PHY, 10,100, 1000 - mbps */
323 u32 duplex; /* Link duplex: 0=Half, 1=Full */
324 u32 rx_buf_size;
325 u32 isr_count;
326 u32 coal_intvl;
327 u32 bus_freq_mhz;
328 u8 rmii_en;
329 u8 version;
330 u32 mac_hash1;
331 u32 mac_hash2;
332 u32 multicast_hash_cnt[EMAC_NUM_MULTICAST_BITS];
333 u32 rx_addr_type;
334 const char *phy_id;
335 struct device_node *phy_node;
336 spinlock_t lock;
338 void (*int_enable) (void);
339 void (*int_disable) (void);