Lines Matching defs:bcmgenet_priv
570 struct bcmgenet_priv { struct
571 void __iomem *base;
572 enum bcmgenet_version version;
573 struct net_device *dev;
576 void __iomem *tx_bds;
577 struct enet_cb *tx_cbs;
578 unsigned int num_tx_bds;
580 struct bcmgenet_tx_ring tx_rings[DESC_INDEX + 1];
583 void __iomem *rx_bds;
584 struct enet_cb *rx_cbs;
585 unsigned int num_rx_bds;
586 unsigned int rx_buf_len;
588 struct bcmgenet_rx_ring rx_rings[DESC_INDEX + 1];
591 struct bcmgenet_hw_params *hw_params;
594 wait_queue_head_t wq;
595 struct phy_device *phydev;
596 struct device_node *phy_dn;
597 struct mii_bus *mii_bus;
598 u16 gphy_rev;
599 struct clk *clk_eee;
600 bool clk_eee_enabled;
603 int old_link;
604 int old_speed;
605 int old_duplex;
606 int old_pause;
607 phy_interface_t phy_interface;
608 int phy_addr;
609 int ext_phy;
612 struct work_struct bcmgenet_irq_work;
613 int irq0;
614 int irq1;
615 unsigned int irq0_stat;
616 unsigned int irq1_stat;
617 int wol_irq;
618 bool wol_irq_disabled;
642 static inline u32 bcmgenet_##name##_readl(struct bcmgenet_priv *priv, \ argument