Lines Matching refs:port_mib
1199 struct ksz_port_mib port_mib[TOTAL_PORT_NUM]; member
1802 struct ksz_port_mib *mib = &hw->port_mib[port]; in port_r_cnt()
1827 struct ksz_port_mib *mib = &hw->port_mib[port]; in port_init_cnt()
2974 hw->port_mib[p].link_down = 1; in port_get_link_speed()
2978 hw->port_mib[p].state = (u8) info->state; in port_get_link_speed()
4239 struct ksz_port_mib *port_mib; in get_mib_counters() local
4243 port_mib = &hw->port_mib[port]; in get_mib_counters()
4244 for (mib = port_mib->mib_start; mib < hw->mib_cnt; mib++) in get_mib_counters()
4245 counter[mib] += port_mib->counter[mib]; in get_mib_counters()
5136 hw->port_mib[i].state = media_disconnected; in netdev_open()
5140 hw->port_mib[HOST_PORT].state = media_connected; in netdev_open()
5234 mib = &hw->port_mib[p]; in netdev_query_statistics()
6149 if (media_connected == hw->port_mib[p].state) { in netdev_get_ethtool_stats()
6175 } else if (hw->port_mib[p].cnt_ptr) { in netdev_get_ethtool_stats()
6272 mib = &hw->port_mib[i]; in mib_read_work()
6637 hw->port_mib[i].mib_start = 0; in pcidev_init()