Lines Matching refs:port_mask
172 u32 port_mask, unreg_mcast = 0; in am65_cpsw_nuss_ndo_slave_add_vid() local
185 port_mask = BIT(port->port_id) | ALE_PORT_HOST; in am65_cpsw_nuss_ndo_slave_add_vid()
187 unreg_mcast = port_mask; in am65_cpsw_nuss_ndo_slave_add_vid()
189 ret = cpsw_ale_vlan_add_modify(common->ale, vid, port_mask, in am65_cpsw_nuss_ndo_slave_add_vid()
190 unreg_mcast, port_mask, 0); in am65_cpsw_nuss_ndo_slave_add_vid()
248 u32 port_mask; in am65_cpsw_nuss_ndo_slave_set_rx_mode() local
261 port_mask = ALE_PORT_HOST; in am65_cpsw_nuss_ndo_slave_set_rx_mode()
263 cpsw_ale_flush_multicast(common->ale, port_mask, -1); in am65_cpsw_nuss_ndo_slave_set_rx_mode()
271 port_mask, 0, 0, 0); in am65_cpsw_nuss_ndo_slave_set_rx_mode()
372 u32 val, port_mask; in am65_cpsw_nuss_common_open() local
418 port_mask = GENMASK(common->port_num, 0) & in am65_cpsw_nuss_common_open()
421 cpsw_ale_add_vlan(common->ale, 0, port_mask, in am65_cpsw_nuss_common_open()
422 port_mask, port_mask, in am65_cpsw_nuss_common_open()
423 port_mask & ~ALE_PORT_HOST); in am65_cpsw_nuss_common_open()
2411 u32 port_mask; in am65_cpsw_init_port_emac_ale() local
2422 port_mask = BIT(port->port_id) | ALE_PORT_HOST; in am65_cpsw_init_port_emac_ale()
2427 port_mask, ALE_VLAN, slave->port_vlan, ALE_MCAST_FWD_2); in am65_cpsw_init_port_emac_ale()
2434 u32 port_mask; in am65_cpsw_init_port_switch_ale() local
2443 port_mask = BIT(port->port_id) | ALE_PORT_HOST; in am65_cpsw_init_port_switch_ale()
2446 port_mask, ALE_VLAN, slave->port_vlan, in am65_cpsw_init_port_switch_ale()