Searched refs:SWITCH_PORT_NUM (Results 1 – 1 of 1) sorted by relevance
996 #define SWITCH_PORT_NUM 2 macro997 #define TOTAL_PORT_NUM (SWITCH_PORT_NUM + 1)998 #define HOST_MASK (1 << SWITCH_PORT_NUM)1003 #define HOST_PORT SWITCH_PORT_NUM1198 struct ksz_port_info port_info[SWITCH_PORT_NUM];3872 for (port = 0; port < SWITCH_PORT_NUM; port++) { in sw_enable()3884 port_set_stp_state(hw, SWITCH_PORT_NUM, STP_STATE_SIMPLE); in sw_enable()3886 port_set_stp_state(hw, SWITCH_PORT_NUM, STP_STATE_FORWARDING); in sw_enable()3908 for (port = 0; port < SWITCH_PORT_NUM; port++) in sw_setup()4567 for (port = 0; port < SWITCH_PORT_NUM; port++) { in netdev_tx_timeout()[all …]