Lines Matching defs:bcmgenet_priv
577 struct bcmgenet_priv { struct
578 void __iomem *base;
579 enum bcmgenet_version version;
580 struct net_device *dev;
583 void __iomem *tx_bds;
584 struct enet_cb *tx_cbs;
585 unsigned int num_tx_bds;
587 struct bcmgenet_tx_ring tx_rings[DESC_INDEX + 1];
590 void __iomem *rx_bds;
591 struct enet_cb *rx_cbs;
592 unsigned int num_rx_bds;
593 unsigned int rx_buf_len;
595 struct bcmgenet_rx_ring rx_rings[DESC_INDEX + 1];
598 struct bcmgenet_hw_params *hw_params;
601 wait_queue_head_t wq;
602 struct phy_device *phydev;
603 bool internal_phy;
604 struct device_node *phy_dn;
605 struct device_node *mdio_dn;
606 struct mii_bus *mii_bus;
607 u16 gphy_rev;
608 struct clk *clk_eee;
609 bool clk_eee_enabled;
612 int old_link;
613 int old_speed;
614 int old_duplex;
615 int old_pause;
616 phy_interface_t phy_interface;
617 int phy_addr;
618 int ext_phy;
621 struct work_struct bcmgenet_irq_work;
622 int irq0;
623 int irq1;
624 unsigned int irq0_stat;
625 unsigned int irq1_stat;
626 int wol_irq;
627 bool wol_irq_disabled;
651 static inline u32 bcmgenet_##name##_readl(struct bcmgenet_priv *priv, \ argument