Lines Matching defs:bcmgenet_priv
608 struct bcmgenet_priv { struct
609 void __iomem *base;
610 enum bcmgenet_version version;
611 struct net_device *dev;
614 void __iomem *tx_bds;
615 struct enet_cb *tx_cbs;
616 unsigned int num_tx_bds;
618 struct bcmgenet_tx_ring tx_rings[DESC_INDEX + 1];
621 void __iomem *rx_bds;
622 struct enet_cb *rx_cbs;
623 unsigned int num_rx_bds;
624 unsigned int rx_buf_len;
626 struct bcmgenet_rx_ring rx_rings[DESC_INDEX + 1];
629 struct bcmgenet_hw_params *hw_params;
632 wait_queue_head_t wq;
633 bool internal_phy;
634 struct device_node *phy_dn;
635 struct device_node *mdio_dn;
636 struct mii_bus *mii_bus;
637 u16 gphy_rev;
638 struct clk *clk_eee;
639 bool clk_eee_enabled;
642 int old_link;
643 int old_speed;
644 int old_duplex;
645 int old_pause;
646 phy_interface_t phy_interface;
647 int phy_addr;
648 int ext_phy;
651 struct work_struct bcmgenet_irq_work;
652 int irq0;
653 int irq1;
654 int wol_irq;
655 bool wol_irq_disabled;
658 spinlock_t lock;
659 unsigned int irq0_stat;
684 static inline u32 bcmgenet_##name##_readl(struct bcmgenet_priv *priv, \ argument