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