Home
last modified time | relevance | path

Searched refs:bcm_sf2_priv (Results 1 – 3 of 3) sorted by relevance

/drivers/net/dsa/
Dbcm_sf2.h61 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()
[all …]
Dbcm_sf2.c35 static u16 bcm_sf2_reg_rgmii_cntrl(struct bcm_sf2_priv *priv, int port) in bcm_sf2_reg_rgmii_cntrl()
65 static u16 bcm_sf2_reg_led_base(struct bcm_sf2_priv *priv, int port) in bcm_sf2_reg_led_base()
97 static u32 bcm_sf2_port_override_offset(struct bcm_sf2_priv *priv, int port) in bcm_sf2_port_override_offset()
118 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_num_active_ports()
133 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_recalc_clock()
160 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_imp_setup()
204 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_gphy_enable_set()
236 static inline void bcm_sf2_port_intr_enable(struct bcm_sf2_priv *priv, in bcm_sf2_port_intr_enable()
257 static inline void bcm_sf2_port_intr_disable(struct bcm_sf2_priv *priv, in bcm_sf2_port_intr_disable()
283 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_port_setup()
[all …]
Dbcm_sf2_cfp.c157 static void bcm_sf2_cfp_udf_set(struct bcm_sf2_priv *priv, in bcm_sf2_cfp_udf_set()
169 static int bcm_sf2_cfp_op(struct bcm_sf2_priv *priv, unsigned int op) in bcm_sf2_cfp_op()
193 static inline void bcm_sf2_cfp_rule_addr_set(struct bcm_sf2_priv *priv, in bcm_sf2_cfp_rule_addr_set()
206 static inline unsigned int bcm_sf2_cfp_rule_size(struct bcm_sf2_priv *priv) in bcm_sf2_cfp_rule_size()
212 static int bcm_sf2_cfp_act_pol_set(struct bcm_sf2_priv *priv, in bcm_sf2_cfp_act_pol_set()
263 static void bcm_sf2_cfp_slice_ipv4(struct bcm_sf2_priv *priv, in bcm_sf2_cfp_slice_ipv4()
346 static int bcm_sf2_cfp_ipv4_rule_set(struct bcm_sf2_priv *priv, int port, in bcm_sf2_cfp_ipv4_rule_set()
482 static void bcm_sf2_cfp_slice_ipv6(struct bcm_sf2_priv *priv, in bcm_sf2_cfp_slice_ipv6()
567 static struct cfp_rule *bcm_sf2_cfp_rule_find(struct bcm_sf2_priv *priv, in bcm_sf2_cfp_rule_find()
580 static int bcm_sf2_cfp_rule_cmp(struct bcm_sf2_priv *priv, int port, in bcm_sf2_cfp_rule_cmp()
[all …]