Searched refs:SWITCH_PORT_NUM (Results 1 – 3 of 3) sorted by relevance
694 if (port < SWITCH_PORT_NUM) in ksz8795_port_stp_state_set()699 if (port < SWITCH_PORT_NUM && in ksz8795_port_stp_state_set()723 if (port < SWITCH_PORT_NUM && in ksz8795_port_stp_state_set()1008 for (i = 0; i < SWITCH_PORT_NUM; i++) { in ksz8795_config_cpu_port()1154 dev->phy_port_cnt = SWITCH_PORT_NUM; in ksz8795_switch_detect()1155 dev->port_cnt = SWITCH_PORT_NUM; in ksz8795_switch_detect()
852 #define SWITCH_PORT_NUM (TOTAL_PORT_NUM - 1) macro
1064 #define SWITCH_PORT_NUM 2 macro1065 #define TOTAL_PORT_NUM (SWITCH_PORT_NUM + 1)1066 #define HOST_MASK (1 << SWITCH_PORT_NUM)1071 #define HOST_PORT SWITCH_PORT_NUM1266 struct ksz_port_info port_info[SWITCH_PORT_NUM];4245 for (port = 0; port < SWITCH_PORT_NUM; port++) { in sw_enable()4257 port_set_stp_state(hw, SWITCH_PORT_NUM, STP_STATE_SIMPLE); in sw_enable()4259 port_set_stp_state(hw, SWITCH_PORT_NUM, STP_STATE_FORWARDING); in sw_enable()4281 for (port = 0; port < SWITCH_PORT_NUM; port++) in sw_setup()4940 for (port = 0; port < SWITCH_PORT_NUM; port++) { in netdev_tx_timeout()[all …]