Home
last modified time | relevance | path

Searched refs:SWITCH_PORT_NUM (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/net/dsa/microchip/
Dksz8795.c694 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()
Dksz8795_reg.h852 #define SWITCH_PORT_NUM (TOTAL_PORT_NUM - 1) macro
/Linux-v5.10/drivers/net/ethernet/micrel/
Dksz884x.c1064 #define SWITCH_PORT_NUM 2 macro
1065 #define TOTAL_PORT_NUM (SWITCH_PORT_NUM + 1)
1066 #define HOST_MASK (1 << SWITCH_PORT_NUM)
1071 #define HOST_PORT SWITCH_PORT_NUM
1266 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 …]