Lines Matching defs:sparx5
168 struct sparx5 *sparx5; member
207 struct sparx5 *sparx5; member
232 struct sparx5 { struct
241 struct sparx5_port *ports[SPX5_PORTS]; argument
242 enum sparx5_core_clockfreq coreclock; argument
244 u32 num_stats;
245 u32 num_ethtool_stats;
246 const char * const *stats_layout;
247 u64 *stats;
249 struct mutex queue_stats_lock;
250 struct delayed_work stats_work;
251 struct workqueue_struct *stats_queue;
253 struct notifier_block netdevice_nb;
254 struct notifier_block switchdev_nb;
255 struct notifier_block switchdev_blocking_nb;
257 u8 base_mac[ETH_ALEN];
281 struct sparx5_rx rx; argument
282 struct sparx5_tx tx; argument
285 struct sparx5_phc phc[SPARX5_PHC_COUNT]; argument
296 int sparx5_register_notifier_blocks(struct sparx5 *sparx5); argument
467 static inline u32 spx5_rd(struct sparx5 *sparx5, int id, int tinst, int tcnt, in spx5_rd()
483 static inline void spx5_wr(u32 val, struct sparx5 *sparx5, in spx5_wr()
503 static inline void spx5_rmw(u32 val, u32 mask, struct sparx5 *sparx5, in spx5_rmw()
531 static inline void __iomem *spx5_inst_get(struct sparx5 *sparx5, int id, int tinst) in spx5_inst_get()
536 static inline void __iomem *spx5_reg_get(struct sparx5 *sparx5, in spx5_reg_get()