Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/microchip/lan966x/
H A 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()
H A Dlan966x_main.h397 bool learn_ena; member
/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch.c1666 port_priv->learn_ena); in dpaa2_switch_port_attr_stp_state_set()
1717 bool learn_ena = !!(flags.val & BR_LEARNING); in dpaa2_switch_port_bridge_flags() local
1719 err = dpaa2_switch_port_set_learning(port_priv, learn_ena); in dpaa2_switch_port_bridge_flags()
1722 port_priv->learn_ena = learn_ena; in dpaa2_switch_port_bridge_flags()
2009 bool learn_ena; in dpaa2_switch_port_bridge_join() local
2020 learn_ena = br_port_flag_is_set(netdev, BR_LEARNING); in dpaa2_switch_port_bridge_join()
2021 err = dpaa2_switch_port_set_learning(port_priv, learn_ena); in dpaa2_switch_port_bridge_join()
2022 port_priv->learn_ena = learn_ena; in dpaa2_switch_port_bridge_join()
2121 port_priv->learn_ena = false; in dpaa2_switch_port_bridge_leave()
3346 port_priv->learn_ena = false; in dpaa2_switch_probe_port()
H A Ddpaa2-switch.h160 bool learn_ena; member
/linux/drivers/net/ethernet/mscc/
H A Docelot.c1982 u32 learn_ena = 0; in ocelot_bridge_stp_state_set() local
1989 ocelot_port->learn_ena) in ocelot_bridge_stp_state_set()
1990 learn_ena = ANA_PORT_PORT_CFG_LEARN_ENA; in ocelot_bridge_stp_state_set()
1992 ocelot_rmw_gix(ocelot, learn_ena, ANA_PORT_PORT_CFG_LEARN_ENA, in ocelot_bridge_stp_state_set()
2687 ocelot_port->learn_ena = enabled; in ocelot_port_set_learning()
/linux/include/soc/mscc/
H A Docelot.h796 bool learn_ena; member
/linux/drivers/net/dsa/sja1105/
H A Dsja1105_main.c3054 bool learn_ena = !!(flags.val & BR_LEARNING); in sja1105_port_bridge_flags() local
3056 rc = sja1105_port_set_learning(priv, port, learn_ena); in sja1105_port_bridge_flags()