Lines Matching refs:bcm_sf2_priv
61 struct bcm_sf2_priv { struct
120 static inline struct bcm_sf2_priv *bcm_sf2_to_priv(struct dsa_switch *ds) in bcm_sf2_to_priv() argument
127 static inline u32 bcm_sf2_mangle_addr(struct bcm_sf2_priv *priv, u32 off) in bcm_sf2_mangle_addr()
133 static inline u32 name##_readl(struct bcm_sf2_priv *priv, u32 off) \
137 static inline void name##_writel(struct bcm_sf2_priv *priv, \
149 static inline u64 name##_readq(struct bcm_sf2_priv *priv, u32 off) \
158 static inline void name##_writeq(struct bcm_sf2_priv *priv, u64 val, \
168 static inline void intrl2_##which##_mask_clear(struct bcm_sf2_priv *priv, \
174 static inline void intrl2_##which##_mask_set(struct bcm_sf2_priv *priv, \
181 static inline u32 core_readl(struct bcm_sf2_priv *priv, u32 off) in core_readl()
187 static inline void core_writel(struct bcm_sf2_priv *priv, u32 val, u32 off) in core_writel()
193 static inline u32 reg_readl(struct bcm_sf2_priv *priv, u16 off) in reg_readl()
198 static inline void reg_writel(struct bcm_sf2_priv *priv, u32 val, u16 off) in reg_writel()
212 static inline u32 reg_led_readl(struct bcm_sf2_priv *priv, u16 off, u16 reg) in reg_led_readl()
217 static inline void reg_led_writel(struct bcm_sf2_priv *priv, u32 val, u16 off, u16 reg) in reg_led_writel()
227 int bcm_sf2_cfp_rst(struct bcm_sf2_priv *priv);