Lines Matching refs:mib_read
1276 static inline u32 mib_read(struct mv643xx_eth_private *mp, int offset) in mib_read() function
1286 mib_read(mp, i); in mib_counters_clear()
1298 p->good_octets_received += mib_read(mp, 0x00); in mib_counters_update()
1299 p->bad_octets_received += mib_read(mp, 0x08); in mib_counters_update()
1300 p->internal_mac_transmit_err += mib_read(mp, 0x0c); in mib_counters_update()
1301 p->good_frames_received += mib_read(mp, 0x10); in mib_counters_update()
1302 p->bad_frames_received += mib_read(mp, 0x14); in mib_counters_update()
1303 p->broadcast_frames_received += mib_read(mp, 0x18); in mib_counters_update()
1304 p->multicast_frames_received += mib_read(mp, 0x1c); in mib_counters_update()
1305 p->frames_64_octets += mib_read(mp, 0x20); in mib_counters_update()
1306 p->frames_65_to_127_octets += mib_read(mp, 0x24); in mib_counters_update()
1307 p->frames_128_to_255_octets += mib_read(mp, 0x28); in mib_counters_update()
1308 p->frames_256_to_511_octets += mib_read(mp, 0x2c); in mib_counters_update()
1309 p->frames_512_to_1023_octets += mib_read(mp, 0x30); in mib_counters_update()
1310 p->frames_1024_to_max_octets += mib_read(mp, 0x34); in mib_counters_update()
1311 p->good_octets_sent += mib_read(mp, 0x38); in mib_counters_update()
1312 p->good_frames_sent += mib_read(mp, 0x40); in mib_counters_update()
1313 p->excessive_collision += mib_read(mp, 0x44); in mib_counters_update()
1314 p->multicast_frames_sent += mib_read(mp, 0x48); in mib_counters_update()
1315 p->broadcast_frames_sent += mib_read(mp, 0x4c); in mib_counters_update()
1316 p->unrec_mac_control_received += mib_read(mp, 0x50); in mib_counters_update()
1317 p->fc_sent += mib_read(mp, 0x54); in mib_counters_update()
1318 p->good_fc_received += mib_read(mp, 0x58); in mib_counters_update()
1319 p->bad_fc_received += mib_read(mp, 0x5c); in mib_counters_update()
1320 p->undersize_received += mib_read(mp, 0x60); in mib_counters_update()
1321 p->fragments_received += mib_read(mp, 0x64); in mib_counters_update()
1322 p->oversize_received += mib_read(mp, 0x68); in mib_counters_update()
1323 p->jabber_received += mib_read(mp, 0x6c); in mib_counters_update()
1324 p->mac_receive_error += mib_read(mp, 0x70); in mib_counters_update()
1325 p->bad_crc_event += mib_read(mp, 0x74); in mib_counters_update()
1326 p->collision += mib_read(mp, 0x78); in mib_counters_update()
1327 p->late_collision += mib_read(mp, 0x7c); in mib_counters_update()