Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/microchip/sparx5/
Dsparx5_switchdev.c60 if (!test_bit(port->portno, sparx5->bridge_mask)) { in sparx5_attr_stp_state_set()
173 if (bitmap_empty(sparx5->bridge_mask, SPX5_PORTS)) in sparx5_port_bridge_join()
183 set_bit(port->portno, sparx5->bridge_mask); in sparx5_port_bridge_join()
201 clear_bit(port->portno, sparx5->bridge_mask); in sparx5_port_bridge_join()
212 clear_bit(port->portno, sparx5->bridge_mask); in sparx5_port_bridge_leave()
213 if (bitmap_empty(sparx5->bridge_mask, SPX5_PORTS)) in sparx5_port_bridge_leave()
Dsparx5_netdev.c163 if (!test_bit(port->portno, sparx5->bridge_mask)) in sparx5_set_rx_mode()
Dsparx5_packet.c149 if (test_bit(port->portno, sparx5->bridge_mask)) in sparx5_xtr_grp()
Dsparx5_mactable.c377 if (!test_bit(port, sparx5->bridge_mask)) in sparx5_mact_handle_entry()
Dsparx5_ptp.c88 if (test_bit(port->portno, sparx5->bridge_mask)) in sparx5_ptp_hwtstamp_set()
Dsparx5_fdma.c249 if (test_bit(port->portno, sparx5->bridge_mask)) in sparx5_fdma_rx_get_frame()
Dsparx5_main.h261 DECLARE_BITMAP(bridge_mask, SPX5_PORTS);
/linux-6.1.9/drivers/net/ethernet/microchip/lan966x/
Dlan966x_switchdev.c256 if (!lan966x->bridge_mask) { in lan966x_port_bridge_join()
272 lan966x->bridge_mask |= BIT(port->chip_port); in lan966x_port_bridge_join()
291 lan966x->bridge_mask &= ~BIT(port->chip_port); in lan966x_port_bridge_leave()
293 if (!lan966x->bridge_mask) in lan966x_port_bridge_leave()
Dlan966x_vlan.c108 if (!(lan966x->bridge_mask & BIT(port->chip_port))) in lan966x_vlan_port_get_pvid()
Dlan966x_main.h221 u16 bridge_mask; member
Dlan966x_fdma.c447 if (lan966x->bridge_mask & BIT(src_port)) { in lan966x_fdma_rx_get_frame()
Dlan966x_ptp.c48 if (lan966x->bridge_mask & BIT(port->chip_port)) in lan966x_ptp_hwtstamp_set()
Dlan966x_main.c654 if (lan966x->bridge_mask & BIT(src_port)) { in lan966x_xtr_irq_handler()