Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/dsa/
Dbcm_sf2.c490 u32 reg, p_ctl; in bcm_sf2_sw_br_join() local
492 p_ctl = core_readl(priv, CORE_PORT_VLAN_CTL_PORT(port)); in bcm_sf2_sw_br_join()
506 p_ctl |= 1 << i; in bcm_sf2_sw_br_join()
512 core_writel(priv, p_ctl, CORE_PORT_VLAN_CTL_PORT(port)); in bcm_sf2_sw_br_join()
513 priv->port_sts[port].vlan_ctl_mask = p_ctl; in bcm_sf2_sw_br_join()
523 u32 reg, p_ctl; in bcm_sf2_sw_br_leave() local
525 p_ctl = core_readl(priv, CORE_PORT_VLAN_CTL_PORT(port)); in bcm_sf2_sw_br_leave()
539 p_ctl &= ~(1 << i); in bcm_sf2_sw_br_leave()
542 core_writel(priv, p_ctl, CORE_PORT_VLAN_CTL_PORT(port)); in bcm_sf2_sw_br_leave()
543 priv->port_sts[port].vlan_ctl_mask = p_ctl; in bcm_sf2_sw_br_leave()