Lines Matching defs:bcmgenet_priv
628 struct bcmgenet_priv { struct
629 void __iomem *base;
630 enum bcmgenet_version version;
631 struct net_device *dev;
634 void __iomem *tx_bds;
635 struct enet_cb *tx_cbs;
636 unsigned int num_tx_bds;
638 struct bcmgenet_tx_ring tx_rings[DESC_INDEX + 1];
641 void __iomem *rx_bds;
642 struct enet_cb *rx_cbs;
643 unsigned int num_rx_bds;
644 unsigned int rx_buf_len;
645 struct bcmgenet_rxnfc_rule rxnfc_rules[MAX_NUM_OF_FS_RULES];
646 struct list_head rxnfc_list;
648 struct bcmgenet_rx_ring rx_rings[DESC_INDEX + 1];
651 struct bcmgenet_hw_params *hw_params;
654 wait_queue_head_t wq;
655 bool internal_phy;
656 struct device_node *phy_dn;
657 struct device_node *mdio_dn;
658 struct mii_bus *mii_bus;
659 u16 gphy_rev;
660 struct clk *clk_eee;
661 bool clk_eee_enabled;
664 int old_link;
665 int old_speed;
666 int old_duplex;
667 int old_pause;
668 phy_interface_t phy_interface;
669 int phy_addr;
670 int ext_phy;
673 struct work_struct bcmgenet_irq_work;
674 int irq0;
675 int irq1;
676 int wol_irq;
677 bool wol_irq_disabled;
680 spinlock_t lock;
681 unsigned int irq0_stat;
706 static inline u32 bcmgenet_##name##_readl(struct bcmgenet_priv *priv, \ argument