Searched refs:core_writel (Results 1 – 3 of 3) sorted by relevance
/drivers/net/dsa/ |
D | bcm_sf2_cfp.c | 163 core_writel(priv, layout->udfs[slice_num].slices[i], in bcm_sf2_cfp_udf_set() 175 core_writel(priv, reg, CORE_CFP_ACC); in bcm_sf2_cfp_op() 201 core_writel(priv, reg, CORE_CFP_ACC); in bcm_sf2_cfp_rule_addr_set() 234 core_writel(priv, reg, CORE_ACT_POL_DATA0); in bcm_sf2_cfp_act_pol_set() 237 core_writel(priv, rule_index << CHAIN_ID_SHIFT, CORE_ACT_POL_DATA1); in bcm_sf2_cfp_act_pol_set() 239 core_writel(priv, 0, CORE_ACT_POL_DATA2); in bcm_sf2_cfp_act_pol_set() 249 core_writel(priv, POLICER_MODE_DISABLE, CORE_RATE_METER0); in bcm_sf2_cfp_act_pol_set() 278 core_writel(priv, reg, offset); in bcm_sf2_cfp_slice_ipv4() 289 core_writel(priv, reg, offset); in bcm_sf2_cfp_slice_ipv4() 302 core_writel(priv, reg, offset); in bcm_sf2_cfp_slice_ipv4() [all …]
|
D | bcm_sf2.c | 43 core_writel(priv, reg, CORE_MEM_PSM_VDD_CTRL); in bcm_sf2_imp_setup() 46 core_writel(priv, SW_FWDG_EN, CORE_SWMODE); in bcm_sf2_imp_setup() 51 core_writel(priv, reg, CORE_SWITCH_CTRL); in bcm_sf2_imp_setup() 59 core_writel(priv, reg, CORE_PORT_TC2_QOS_MAP_PORT(port)); in bcm_sf2_imp_setup() 72 core_writel(priv, reg, offset); in bcm_sf2_imp_setup() 78 core_writel(priv, reg, CORE_IMP_CTL); in bcm_sf2_imp_setup() 82 core_writel(priv, reg, CORE_G_PCTL_PORT(port)); in bcm_sf2_imp_setup() 172 core_writel(priv, reg, CORE_MEM_PSM_VDD_CTRL); in bcm_sf2_port_setup() 177 core_writel(priv, reg, CORE_DIS_LEARN); in bcm_sf2_port_setup() 189 core_writel(priv, reg, CORE_PORT_TC2_QOS_MAP_PORT(port)); in bcm_sf2_port_setup() [all …]
|
D | bcm_sf2.h | 179 static inline void core_writel(struct bcm_sf2_priv *priv, u32 val, u32 off) in core_writel() function
|