Lines Matching defs:emac_adapter
325 struct emac_adapter { struct
326 struct net_device *netdev;
327 struct mii_bus *mii_bus;
328 struct phy_device *phydev;
330 void __iomem *base;
331 void __iomem *csr;
333 struct emac_sgmii phy;
334 struct emac_stats stats;
336 struct emac_irq irq;
337 struct clk *clk[EMAC_CLK_CNT];
340 struct emac_ring_header ring_header;
341 struct emac_tx_queue tx_q;
342 struct emac_rx_queue rx_q;
343 unsigned int tx_desc_cnt;
344 unsigned int rx_desc_cnt;
345 unsigned int rrd_size; /* in quad words */
346 unsigned int rfd_size; /* in quad words */
347 unsigned int tpd_size; /* in quad words */
349 unsigned int rxbuf_size;
354 bool automatic;
355 bool tx_flow_control;
356 bool rx_flow_control;
380 int emac_reinit_locked(struct emac_adapter *adpt); argument