Lines Matching defs:sparx5
211 struct sparx5 *sparx5; member
253 struct sparx5 *sparx5; member
368 struct sparx5 { struct
378 struct sparx5_port *ports[SPX5_PORTS]; argument
379 enum sparx5_core_clockfreq coreclock; argument
381 u32 num_stats;
382 u32 num_ethtool_stats;
383 const char * const *stats_layout;
384 u64 *stats;
386 struct mutex queue_stats_lock;
387 struct delayed_work stats_work;
388 struct workqueue_struct *stats_queue;
390 struct notifier_block netdevice_nb;
391 struct notifier_block switchdev_nb;
392 struct notifier_block switchdev_blocking_nb;
394 u8 base_mac[ETH_ALEN];
419 struct sparx5_rx rx; argument
420 struct sparx5_tx tx; argument
423 struct sparx5_phc phc[SPARX5_PHC_COUNT]; argument
436 const struct sparx5_match_data *data; argument
440 bool is_sparx5(struct sparx5 *sparx5); argument
523 static inline int sparx5_dcb_init(struct sparx5 *sparx5) in sparx5_dcb_init()
788 static inline u32 spx5_rd(struct sparx5 *sparx5, int id, int tinst, int tcnt, in spx5_rd()
804 static inline void spx5_wr(u32 val, struct sparx5 *sparx5, in spx5_wr()
824 static inline void spx5_rmw(u32 val, u32 mask, struct sparx5 *sparx5, in spx5_rmw()
852 static inline void __iomem *spx5_inst_get(struct sparx5 *sparx5, int id, int tinst) in spx5_inst_get()
857 static inline void __iomem *spx5_reg_get(struct sparx5 *sparx5, in spx5_reg_get()