Searched refs:learn_ena (Results 1 – 7 of 7) sorted by relevance
100 port->learn_ena = enabled; in lan966x_port_set_learning()159 bool learn_ena = false; in lan966x_port_stp_state_set() local162 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()
397 bool learn_ena; member
1666 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() local1719 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() local2020 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()
160 bool learn_ena; member
1982 u32 learn_ena = 0; in ocelot_bridge_stp_state_set() local1989 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()
796 bool learn_ena; member
3054 bool learn_ena = !!(flags.val & BR_LEARNING); in sja1105_port_bridge_flags() local3056 rc = sja1105_port_set_learning(priv, port, learn_ena); in sja1105_port_bridge_flags()