Lines Matching refs:port_set_stp_state
2770 static void port_set_stp_state(struct ksz_hw *hw, int port, int state) in port_set_stp_state() function
4248 port_set_stp_state(hw, port, STP_STATE_DISABLED); in sw_enable()
4251 port_set_stp_state(hw, port, STP_STATE_FORWARDING); in sw_enable()
4255 port_set_stp_state(hw, SWITCH_PORT_NUM, STP_STATE_SIMPLE); in sw_enable()
4257 port_set_stp_state(hw, SWITCH_PORT_NUM, STP_STATE_FORWARDING); in sw_enable()
4943 port_set_stp_state(hw, port, in netdev_tx_timeout()
4948 port_set_stp_state(hw, port, in netdev_tx_timeout()
5326 port_set_stp_state(hw, SWITCH_PORT_NUM, STP_STATE_SIMPLE); in bridge_change()
5362 port_set_stp_state(hw, port->first_port, STP_STATE_DISABLED); in netdev_close()
5539 port_set_stp_state(hw, port->first_port, STP_STATE_SIMPLE); in netdev_open()
5701 port_set_stp_state(hw, port, STP_STATE_DISABLED); in dev_set_promiscuous()