Lines Matching defs:sparx5
147 struct sparx5 *sparx5; member
188 struct sparx5 *sparx5; member
229 struct sparx5 { struct
238 struct sparx5_port *ports[SPX5_PORTS]; argument
239 enum sparx5_core_clockfreq coreclock; argument
241 u32 num_stats;
242 u32 num_ethtool_stats;
243 const char * const *stats_layout;
244 u64 *stats;
246 struct mutex queue_stats_lock;
247 struct delayed_work stats_work;
248 struct workqueue_struct *stats_queue;
250 struct notifier_block netdevice_nb;
251 struct notifier_block switchdev_nb;
252 struct notifier_block switchdev_blocking_nb;
254 u8 base_mac[ETH_ALEN];
279 struct sparx5_rx rx; argument
280 struct sparx5_tx tx; argument
283 struct sparx5_phc phc[SPARX5_PHC_COUNT]; argument
299 int sparx5_register_notifier_blocks(struct sparx5 *sparx5); argument
367 static inline int sparx5_dcb_init(struct sparx5 *sparx5) in sparx5_dcb_init()
617 static inline u32 spx5_rd(struct sparx5 *sparx5, int id, int tinst, int tcnt, in spx5_rd()
633 static inline void spx5_wr(u32 val, struct sparx5 *sparx5, in spx5_wr()
653 static inline void spx5_rmw(u32 val, u32 mask, struct sparx5 *sparx5, in spx5_rmw()
681 static inline void __iomem *spx5_inst_get(struct sparx5 *sparx5, int id, int tinst) in spx5_inst_get()
686 static inline void __iomem *spx5_reg_get(struct sparx5 *sparx5, in spx5_reg_get()