Lines Matching refs:port_mask
173 int port_mask; in cpsw_port_vlan_add() local
178 port_mask = BIT(HOST_PORT_NUM); in cpsw_port_vlan_add()
180 unreg_mcast_mask = port_mask; in cpsw_port_vlan_add()
182 port_mask = BIT(priv->emac_port); in cpsw_port_vlan_add()
187 reg_mcast_mask = port_mask; in cpsw_port_vlan_add()
190 untag_mask = port_mask; in cpsw_port_vlan_add()
192 ret = cpsw_ale_vlan_add_modify(cpsw->ale, vid, port_mask, untag_mask, in cpsw_port_vlan_add()
208 priv->ndev->name, vid, port_mask); in cpsw_port_vlan_add()
217 int port_mask; in cpsw_port_vlan_del() local
221 port_mask = BIT(HOST_PORT_NUM); in cpsw_port_vlan_del()
223 port_mask = BIT(priv->emac_port); in cpsw_port_vlan_del()
225 ret = cpsw_ale_vlan_del_modify(cpsw->ale, vid, port_mask); in cpsw_port_vlan_del()
243 port_mask, ALE_VLAN, vid); in cpsw_port_vlan_del()
245 priv->ndev->name, vid, port_mask); in cpsw_port_vlan_del()
270 int port_mask; in cpsw_port_mdb_add() local
274 port_mask = BIT(HOST_PORT_NUM); in cpsw_port_mdb_add()
276 port_mask = BIT(priv->emac_port); in cpsw_port_mdb_add()
278 err = cpsw_ale_add_mcast(cpsw->ale, mdb->addr, port_mask, in cpsw_port_mdb_add()
281 priv->ndev->name, mdb->vid, mdb->addr, port_mask); in cpsw_port_mdb_add()