Lines Matching defs:bcmgenet_priv
579 struct bcmgenet_priv { struct
580 void __iomem *base;
581 enum bcmgenet_version version;
582 struct net_device *dev;
585 void __iomem *tx_bds;
586 struct enet_cb *tx_cbs;
587 unsigned int num_tx_bds;
589 struct bcmgenet_tx_ring tx_rings[DESC_INDEX + 1];
592 void __iomem *rx_bds;
593 struct enet_cb *rx_cbs;
594 unsigned int num_rx_bds;
595 unsigned int rx_buf_len;
597 struct bcmgenet_rx_ring rx_rings[DESC_INDEX + 1];
600 struct bcmgenet_hw_params *hw_params;
603 wait_queue_head_t wq;
604 struct phy_device *phydev;
605 bool internal_phy;
606 struct device_node *phy_dn;
607 struct device_node *mdio_dn;
608 struct mii_bus *mii_bus;
609 u16 gphy_rev;
610 struct clk *clk_eee;
611 bool clk_eee_enabled;
614 int old_link;
615 int old_speed;
616 int old_duplex;
617 int old_pause;
618 phy_interface_t phy_interface;
619 int phy_addr;
620 int ext_phy;
623 struct work_struct bcmgenet_irq_work;
624 int irq0;
625 int irq1;
626 int wol_irq;
627 bool wol_irq_disabled;
630 spinlock_t lock;
631 unsigned int irq0_stat;
655 static inline u32 bcmgenet_##name##_readl(struct bcmgenet_priv *priv, \ argument