Lines Matching refs:port_mib
1199 struct ksz_port_mib port_mib[TOTAL_PORT_NUM]; member
1811 struct ksz_port_mib *mib = &hw->port_mib[port]; in port_r_cnt()
1836 struct ksz_port_mib *mib = &hw->port_mib[port]; in port_init_cnt()
3272 hw->port_mib[p].link_down = 1; in port_get_link_speed()
3276 hw->port_mib[p].state = (u8) info->state; in port_get_link_speed()
4537 struct ksz_port_mib *port_mib; in get_mib_counters() local
4541 port_mib = &hw->port_mib[port]; in get_mib_counters()
4542 for (mib = port_mib->mib_start; mib < hw->mib_cnt; mib++) in get_mib_counters()
4543 counter[mib] += port_mib->counter[mib]; in get_mib_counters()
5434 hw->port_mib[i].state = media_disconnected; in netdev_open()
5438 hw->port_mib[HOST_PORT].state = media_connected; in netdev_open()
5532 mib = &hw->port_mib[p]; in netdev_query_statistics()
6447 if (media_connected == hw->port_mib[p].state) { in netdev_get_ethtool_stats()
6473 } else if (hw->port_mib[p].cnt_ptr) { in netdev_get_ethtool_stats()
6570 mib = &hw->port_mib[i]; in mib_read_work()
6935 hw->port_mib[i].mib_start = 0; in pcidev_init()