Lines Matching refs:bcm_sf2_priv
61 struct bcm_sf2_priv { struct
121 static inline struct bcm_sf2_priv *bcm_sf2_to_priv(struct dsa_switch *ds) in bcm_sf2_to_priv() argument
128 static inline u32 bcm_sf2_mangle_addr(struct bcm_sf2_priv *priv, u32 off) in bcm_sf2_mangle_addr()
134 static inline u32 name##_readl(struct bcm_sf2_priv *priv, u32 off) \
138 static inline void name##_writel(struct bcm_sf2_priv *priv, \
150 static inline u64 name##_readq(struct bcm_sf2_priv *priv, u32 off) \
159 static inline void name##_writeq(struct bcm_sf2_priv *priv, u64 val, \
169 static inline void intrl2_##which##_mask_clear(struct bcm_sf2_priv *priv, \
175 static inline void intrl2_##which##_mask_set(struct bcm_sf2_priv *priv, \
182 static inline u32 core_readl(struct bcm_sf2_priv *priv, u32 off) in core_readl()
188 static inline void core_writel(struct bcm_sf2_priv *priv, u32 val, u32 off) in core_writel()
194 static inline u32 reg_readl(struct bcm_sf2_priv *priv, u16 off) in reg_readl()
199 static inline void reg_writel(struct bcm_sf2_priv *priv, u32 val, u16 off) in reg_writel()
213 static inline u32 reg_led_readl(struct bcm_sf2_priv *priv, u16 off, u16 reg) in reg_led_readl()
218 static inline void reg_led_writel(struct bcm_sf2_priv *priv, u32 val, u16 off, u16 reg) in reg_led_writel()
228 int bcm_sf2_cfp_rst(struct bcm_sf2_priv *priv);