Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/dsa/
Dbcm_sf2_cfp.c165 core_writel(priv, layout->udfs[slice_num].slices[i], in bcm_sf2_cfp_udf_set()
177 core_writel(priv, reg, CORE_CFP_ACC); in bcm_sf2_cfp_op()
203 core_writel(priv, reg, CORE_CFP_ACC); in bcm_sf2_cfp_rule_addr_set()
236 core_writel(priv, reg, CORE_ACT_POL_DATA0); in bcm_sf2_cfp_act_pol_set()
239 core_writel(priv, rule_index << CHAIN_ID_SHIFT, CORE_ACT_POL_DATA1); in bcm_sf2_cfp_act_pol_set()
241 core_writel(priv, 0, CORE_ACT_POL_DATA2); in bcm_sf2_cfp_act_pol_set()
251 core_writel(priv, POLICER_MODE_DISABLE, CORE_RATE_METER0); in bcm_sf2_cfp_act_pol_set()
278 core_writel(priv, reg, CORE_CFP_MASK_PORT(5)); in bcm_sf2_cfp_slice_ipv4()
280 core_writel(priv, reg, CORE_CFP_DATA_PORT(5)); in bcm_sf2_cfp_slice_ipv4()
291 core_writel(priv, reg, offset); in bcm_sf2_cfp_slice_ipv4()
[all …]
Dbcm_sf2.c167 core_writel(priv, reg, CORE_MEM_PSM_VDD_CTRL); in bcm_sf2_imp_setup()
170 core_writel(priv, SW_FWDG_EN, CORE_SWMODE); in bcm_sf2_imp_setup()
175 core_writel(priv, reg, CORE_SWITCH_CTRL); in bcm_sf2_imp_setup()
183 core_writel(priv, reg, CORE_PORT_TC2_QOS_MAP_PORT(port)); in bcm_sf2_imp_setup()
192 core_writel(priv, reg, CORE_IMP_CTL); in bcm_sf2_imp_setup()
196 core_writel(priv, reg, CORE_G_PCTL_PORT(port)); in bcm_sf2_imp_setup()
297 core_writel(priv, reg, CORE_MEM_PSM_VDD_CTRL); in bcm_sf2_port_setup()
309 core_writel(priv, reg, CORE_PORT_TC2_QOS_MAP_PORT(port)); in bcm_sf2_port_setup()
334 core_writel(priv, 32, CORE_TXQ_THD_PAUSE_QN_PORT(port)); in bcm_sf2_port_setup()
358 core_writel(priv, reg, CORE_DIS_LEARN); in bcm_sf2_port_disable()
[all …]
Dbcm_sf2.h188 static inline void core_writel(struct bcm_sf2_priv *priv, u32 val, u32 off) in core_writel() function