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

/linux-4.1.27/drivers/net/ethernet/micrel/
H A Dksz884x.c1072 #define SWITCH_PORT_NUM 2 macro
1073 #define TOTAL_PORT_NUM (SWITCH_PORT_NUM + 1)
1074 #define HOST_MASK (1 << SWITCH_PORT_NUM)
1079 #define HOST_PORT SWITCH_PORT_NUM
1273 struct ksz_port_info port_info[SWITCH_PORT_NUM];
4254 for (port = 0; port < SWITCH_PORT_NUM; port++) { sw_enable()
4266 port_set_stp_state(hw, SWITCH_PORT_NUM, STP_STATE_SIMPLE); sw_enable()
4268 port_set_stp_state(hw, SWITCH_PORT_NUM, STP_STATE_FORWARDING); sw_enable()
4290 for (port = 0; port < SWITCH_PORT_NUM; port++) sw_setup()
4951 for (port = 0; port < SWITCH_PORT_NUM; port++) { netdev_tx_timeout()
5338 port_set_stp_state(hw, SWITCH_PORT_NUM, STP_STATE_SIMPLE); bridge_change()
5341 for (port = 0; port < SWITCH_PORT_NUM; port++) { bridge_change()
6527 n = SWITCH_PORT_NUM; netdev_get_ethtool_stats()
6533 if (n == SWITCH_PORT_NUM) netdev_get_ethtool_stats()
6539 if (n < SWITCH_PORT_NUM) netdev_get_ethtool_stats()
6542 if (1 == port->mib_port_cnt && n < SWITCH_PORT_NUM) { netdev_get_ethtool_stats()
6842 struct net_device *netdev[SWITCH_PORT_NUM];
6999 hw->dev_count = SWITCH_PORT_NUM; pcidev_init()
7000 hw->addr_list_size = SWITCH_PORT_NUM - 1; pcidev_init()
7005 port_count = SWITCH_PORT_NUM; pcidev_init()
7006 mib_port_count = SWITCH_PORT_NUM; pcidev_init()

Completed in 85 milliseconds