Lines Matching defs:sparx5
149 struct sparx5 *sparx5; member
180 struct sparx5 { struct
189 struct sparx5_port *ports[SPX5_PORTS]; argument
190 enum sparx5_core_clockfreq coreclock; argument
192 u32 num_stats;
193 u32 num_ethtool_stats;
194 const char * const *stats_layout;
195 u64 *stats;
197 struct mutex queue_stats_lock;
198 struct delayed_work stats_work;
199 struct workqueue_struct *stats_queue;
201 struct notifier_block netdevice_nb;
225 struct sparx5_rx rx; argument
226 struct sparx5_tx tx; argument
230 int sparx5_register_notifier_blocks(struct sparx5 *sparx5); argument
365 static inline u32 spx5_rd(struct sparx5 *sparx5, int id, int tinst, int tcnt, in spx5_rd()
381 static inline void spx5_wr(u32 val, struct sparx5 *sparx5, in spx5_wr()
401 static inline void spx5_rmw(u32 val, u32 mask, struct sparx5 *sparx5, in spx5_rmw()
429 static inline void __iomem *spx5_inst_get(struct sparx5 *sparx5, int id, int tinst) in spx5_inst_get()
434 static inline void __iomem *spx5_reg_get(struct sparx5 *sparx5, in spx5_reg_get()