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