Lines Matching defs:sparx5
169 struct sparx5 *sparx5; member
209 struct sparx5 *sparx5; member
234 struct sparx5 { struct
243 struct sparx5_port *ports[SPX5_PORTS]; argument
244 enum sparx5_core_clockfreq coreclock; argument
246 u32 num_stats;
247 u32 num_ethtool_stats;
248 const char * const *stats_layout;
249 u64 *stats;
251 struct mutex queue_stats_lock;
252 struct delayed_work stats_work;
253 struct workqueue_struct *stats_queue;
255 struct notifier_block netdevice_nb;
256 struct notifier_block switchdev_nb;
257 struct notifier_block switchdev_blocking_nb;
259 u8 base_mac[ETH_ALEN];
284 struct sparx5_rx rx; argument
285 struct sparx5_tx tx; argument
288 struct sparx5_phc phc[SPARX5_PHC_COUNT]; argument
303 int sparx5_register_notifier_blocks(struct sparx5 *sparx5); argument
371 static inline int sparx5_dcb_init(struct sparx5 *sparx5) in sparx5_dcb_init()
615 static inline u32 spx5_rd(struct sparx5 *sparx5, int id, int tinst, int tcnt, in spx5_rd()
631 static inline void spx5_wr(u32 val, struct sparx5 *sparx5, in spx5_wr()
651 static inline void spx5_rmw(u32 val, u32 mask, struct sparx5 *sparx5, in spx5_rmw()
679 static inline void __iomem *spx5_inst_get(struct sparx5 *sparx5, int id, int tinst) in spx5_inst_get()
684 static inline void __iomem *spx5_reg_get(struct sparx5 *sparx5, in spx5_reg_get()