Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_dsaf_mac.c1091 int max_port_num = hns_mac_get_max_port_num(dsaf_dev); in hns_mac_init() local
1103 if (port_id >= max_port_num) { in hns_mac_init()
1125 for (port_id = 0; port_id < max_port_num; port_id++) { in hns_mac_init()
1137 for (port_id = 0; port_id < max_port_num; port_id++) { in hns_mac_init()
1157 int max_port_num = hns_mac_get_max_port_num(dsaf_dev); in hns_mac_uninit() local
1159 for (i = 0; i < max_port_num; i++) { in hns_mac_uninit()