Lines Matching refs:port_set_stp_state
2778 static void port_set_stp_state(struct ksz_hw *hw, int port, int state) in port_set_stp_state() function
4259 port_set_stp_state(hw, port, STP_STATE_DISABLED); in sw_enable()
4262 port_set_stp_state(hw, port, STP_STATE_FORWARDING); in sw_enable()
4266 port_set_stp_state(hw, SWITCH_PORT_NUM, STP_STATE_SIMPLE); in sw_enable()
4268 port_set_stp_state(hw, SWITCH_PORT_NUM, STP_STATE_FORWARDING); in sw_enable()
4954 port_set_stp_state(hw, port, in netdev_tx_timeout()
4959 port_set_stp_state(hw, port, in netdev_tx_timeout()
5338 port_set_stp_state(hw, SWITCH_PORT_NUM, STP_STATE_SIMPLE); in bridge_change()
5374 port_set_stp_state(hw, port->first_port, STP_STATE_DISABLED); in netdev_close()
5551 port_set_stp_state(hw, port->first_port, STP_STATE_SIMPLE); in netdev_open()
5713 port_set_stp_state(hw, port, STP_STATE_DISABLED); in dev_set_promiscuous()