Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/microchip/lan966x/
Dlan966x_switchdev.c100 port->learn_ena = enabled; in lan966x_port_set_learning()
159 bool learn_ena = false; in lan966x_port_stp_state_set() local
162 port->learn_ena) in lan966x_port_stp_state_set()
163 learn_ena = true; in lan966x_port_stp_state_set()
170 lan_rmw(ANA_PORT_CFG_LEARN_ENA_SET(learn_ena), in lan966x_port_stp_state_set()
Dlan966x_main.h304 bool learn_ena; member
/Linux-v6.1/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-switch.c1647 port_priv->learn_ena); in dpaa2_switch_port_attr_stp_state_set()
1698 bool learn_ena = !!(flags.val & BR_LEARNING); in dpaa2_switch_port_bridge_flags() local
1700 err = dpaa2_switch_port_set_learning(port_priv, learn_ena); in dpaa2_switch_port_bridge_flags()
1703 port_priv->learn_ena = learn_ena; in dpaa2_switch_port_bridge_flags()
1993 bool learn_ena; in dpaa2_switch_port_bridge_join() local
2016 learn_ena = br_port_flag_is_set(netdev, BR_LEARNING); in dpaa2_switch_port_bridge_join()
2017 err = dpaa2_switch_port_set_learning(port_priv, learn_ena); in dpaa2_switch_port_bridge_join()
2018 port_priv->learn_ena = learn_ena; in dpaa2_switch_port_bridge_join()
2116 port_priv->learn_ena = false; in dpaa2_switch_port_bridge_leave()
3298 port_priv->learn_ena = false; in dpaa2_switch_probe_port()
Ddpaa2-switch.h160 bool learn_ena; member
/Linux-v6.1/drivers/net/ethernet/mscc/
Docelot.c1636 u32 learn_ena = 0; in ocelot_bridge_stp_state_set() local
1643 ocelot_port->learn_ena) in ocelot_bridge_stp_state_set()
1644 learn_ena = ANA_PORT_PORT_CFG_LEARN_ENA; in ocelot_bridge_stp_state_set()
1646 ocelot_rmw_gix(ocelot, learn_ena, ANA_PORT_PORT_CFG_LEARN_ENA, in ocelot_bridge_stp_state_set()
2341 ocelot_port->learn_ena = enabled; in ocelot_port_set_learning()
/Linux-v6.1/include/soc/mscc/
Docelot.h952 bool learn_ena; member
/Linux-v6.1/drivers/net/dsa/sja1105/
Dsja1105_main.c2993 bool learn_ena = !!(flags.val & BR_LEARNING); in sja1105_port_bridge_flags() local
2995 rc = sja1105_port_set_learning(priv, port, learn_ena); in sja1105_port_bridge_flags()