nic_stats 1540 drivers/net/ethernet/realtek/8139cp.c struct cp_dma_stats *nic_stats; nic_stats 1544 drivers/net/ethernet/realtek/8139cp.c nic_stats = dma_alloc_coherent(&cp->pdev->dev, sizeof(*nic_stats), nic_stats 1546 drivers/net/ethernet/realtek/8139cp.c if (!nic_stats) nic_stats 1564 drivers/net/ethernet/realtek/8139cp.c tmp_stats[i++] = le64_to_cpu(nic_stats->tx_ok); nic_stats 1565 drivers/net/ethernet/realtek/8139cp.c tmp_stats[i++] = le64_to_cpu(nic_stats->rx_ok); nic_stats 1566 drivers/net/ethernet/realtek/8139cp.c tmp_stats[i++] = le64_to_cpu(nic_stats->tx_err); nic_stats 1567 drivers/net/ethernet/realtek/8139cp.c tmp_stats[i++] = le32_to_cpu(nic_stats->rx_err); nic_stats 1568 drivers/net/ethernet/realtek/8139cp.c tmp_stats[i++] = le16_to_cpu(nic_stats->rx_fifo); nic_stats 1569 drivers/net/ethernet/realtek/8139cp.c tmp_stats[i++] = le16_to_cpu(nic_stats->frame_align); nic_stats 1570 drivers/net/ethernet/realtek/8139cp.c tmp_stats[i++] = le32_to_cpu(nic_stats->tx_ok_1col); nic_stats 1571 drivers/net/ethernet/realtek/8139cp.c tmp_stats[i++] = le32_to_cpu(nic_stats->tx_ok_mcol); nic_stats 1572 drivers/net/ethernet/realtek/8139cp.c tmp_stats[i++] = le64_to_cpu(nic_stats->rx_ok_phys); nic_stats 1573 drivers/net/ethernet/realtek/8139cp.c tmp_stats[i++] = le64_to_cpu(nic_stats->rx_ok_bcast); nic_stats 1574 drivers/net/ethernet/realtek/8139cp.c tmp_stats[i++] = le32_to_cpu(nic_stats->rx_ok_mcast); nic_stats 1575 drivers/net/ethernet/realtek/8139cp.c tmp_stats[i++] = le16_to_cpu(nic_stats->tx_abort); nic_stats 1576 drivers/net/ethernet/realtek/8139cp.c tmp_stats[i++] = le16_to_cpu(nic_stats->tx_underrun); nic_stats 1580 drivers/net/ethernet/realtek/8139cp.c dma_free_coherent(&cp->pdev->dev, sizeof(*nic_stats), nic_stats, dma); nic_stats 2061 drivers/staging/qlge/qlge.h struct nic_stats nic_stats; nic_stats 1532 drivers/staging/qlge/qlge_dbg.c pr_err("%s = %ld\n", #stat, (unsigned long)qdev->nic_stats.stat) nic_stats 48 drivers/staging/qlge/qlge_ethtool.c {"tx_pkts", QL_SIZEOF(nic_stats.tx_pkts), QL_OFF(nic_stats.tx_pkts)}, nic_stats 49 drivers/staging/qlge/qlge_ethtool.c {"tx_bytes", QL_SIZEOF(nic_stats.tx_bytes), QL_OFF(nic_stats.tx_bytes)}, nic_stats 50 drivers/staging/qlge/qlge_ethtool.c {"tx_mcast_pkts", QL_SIZEOF(nic_stats.tx_mcast_pkts), nic_stats 51 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.tx_mcast_pkts)}, nic_stats 52 drivers/staging/qlge/qlge_ethtool.c {"tx_bcast_pkts", QL_SIZEOF(nic_stats.tx_bcast_pkts), nic_stats 53 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.tx_bcast_pkts)}, nic_stats 54 drivers/staging/qlge/qlge_ethtool.c {"tx_ucast_pkts", QL_SIZEOF(nic_stats.tx_ucast_pkts), nic_stats 55 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.tx_ucast_pkts)}, nic_stats 56 drivers/staging/qlge/qlge_ethtool.c {"tx_ctl_pkts", QL_SIZEOF(nic_stats.tx_ctl_pkts), nic_stats 57 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.tx_ctl_pkts)}, nic_stats 58 drivers/staging/qlge/qlge_ethtool.c {"tx_pause_pkts", QL_SIZEOF(nic_stats.tx_pause_pkts), nic_stats 59 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.tx_pause_pkts)}, nic_stats 60 drivers/staging/qlge/qlge_ethtool.c {"tx_64_pkts", QL_SIZEOF(nic_stats.tx_64_pkt), nic_stats 61 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.tx_64_pkt)}, nic_stats 62 drivers/staging/qlge/qlge_ethtool.c {"tx_65_to_127_pkts", QL_SIZEOF(nic_stats.tx_65_to_127_pkt), nic_stats 63 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.tx_65_to_127_pkt)}, nic_stats 64 drivers/staging/qlge/qlge_ethtool.c {"tx_128_to_255_pkts", QL_SIZEOF(nic_stats.tx_128_to_255_pkt), nic_stats 65 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.tx_128_to_255_pkt)}, nic_stats 66 drivers/staging/qlge/qlge_ethtool.c {"tx_256_511_pkts", QL_SIZEOF(nic_stats.tx_256_511_pkt), nic_stats 67 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.tx_256_511_pkt)}, nic_stats 68 drivers/staging/qlge/qlge_ethtool.c {"tx_512_to_1023_pkts", QL_SIZEOF(nic_stats.tx_512_to_1023_pkt), nic_stats 69 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.tx_512_to_1023_pkt)}, nic_stats 70 drivers/staging/qlge/qlge_ethtool.c {"tx_1024_to_1518_pkts", QL_SIZEOF(nic_stats.tx_1024_to_1518_pkt), nic_stats 71 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.tx_1024_to_1518_pkt)}, nic_stats 72 drivers/staging/qlge/qlge_ethtool.c {"tx_1519_to_max_pkts", QL_SIZEOF(nic_stats.tx_1519_to_max_pkt), nic_stats 73 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.tx_1519_to_max_pkt)}, nic_stats 74 drivers/staging/qlge/qlge_ethtool.c {"tx_undersize_pkts", QL_SIZEOF(nic_stats.tx_undersize_pkt), nic_stats 75 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.tx_undersize_pkt)}, nic_stats 76 drivers/staging/qlge/qlge_ethtool.c {"tx_oversize_pkts", QL_SIZEOF(nic_stats.tx_oversize_pkt), nic_stats 77 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.tx_oversize_pkt)}, nic_stats 78 drivers/staging/qlge/qlge_ethtool.c {"rx_bytes", QL_SIZEOF(nic_stats.rx_bytes), QL_OFF(nic_stats.rx_bytes)}, nic_stats 79 drivers/staging/qlge/qlge_ethtool.c {"rx_bytes_ok", QL_SIZEOF(nic_stats.rx_bytes_ok), nic_stats 80 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_bytes_ok)}, nic_stats 81 drivers/staging/qlge/qlge_ethtool.c {"rx_pkts", QL_SIZEOF(nic_stats.rx_pkts), QL_OFF(nic_stats.rx_pkts)}, nic_stats 82 drivers/staging/qlge/qlge_ethtool.c {"rx_pkts_ok", QL_SIZEOF(nic_stats.rx_pkts_ok), nic_stats 83 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_pkts_ok)}, nic_stats 84 drivers/staging/qlge/qlge_ethtool.c {"rx_bcast_pkts", QL_SIZEOF(nic_stats.rx_bcast_pkts), nic_stats 85 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_bcast_pkts)}, nic_stats 86 drivers/staging/qlge/qlge_ethtool.c {"rx_mcast_pkts", QL_SIZEOF(nic_stats.rx_mcast_pkts), nic_stats 87 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_mcast_pkts)}, nic_stats 88 drivers/staging/qlge/qlge_ethtool.c {"rx_ucast_pkts", QL_SIZEOF(nic_stats.rx_ucast_pkts), nic_stats 89 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_ucast_pkts)}, nic_stats 90 drivers/staging/qlge/qlge_ethtool.c {"rx_undersize_pkts", QL_SIZEOF(nic_stats.rx_undersize_pkts), nic_stats 91 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_undersize_pkts)}, nic_stats 92 drivers/staging/qlge/qlge_ethtool.c {"rx_oversize_pkts", QL_SIZEOF(nic_stats.rx_oversize_pkts), nic_stats 93 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_oversize_pkts)}, nic_stats 94 drivers/staging/qlge/qlge_ethtool.c {"rx_jabber_pkts", QL_SIZEOF(nic_stats.rx_jabber_pkts), nic_stats 95 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_jabber_pkts)}, nic_stats 97 drivers/staging/qlge/qlge_ethtool.c QL_SIZEOF(nic_stats.rx_undersize_fcerr_pkts), nic_stats 98 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_undersize_fcerr_pkts)}, nic_stats 99 drivers/staging/qlge/qlge_ethtool.c {"rx_drop_events", QL_SIZEOF(nic_stats.rx_drop_events), nic_stats 100 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_drop_events)}, nic_stats 101 drivers/staging/qlge/qlge_ethtool.c {"rx_fcerr_pkts", QL_SIZEOF(nic_stats.rx_fcerr_pkts), nic_stats 102 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_fcerr_pkts)}, nic_stats 103 drivers/staging/qlge/qlge_ethtool.c {"rx_align_err", QL_SIZEOF(nic_stats.rx_align_err), nic_stats 104 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_align_err)}, nic_stats 105 drivers/staging/qlge/qlge_ethtool.c {"rx_symbol_err", QL_SIZEOF(nic_stats.rx_symbol_err), nic_stats 106 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_symbol_err)}, nic_stats 107 drivers/staging/qlge/qlge_ethtool.c {"rx_mac_err", QL_SIZEOF(nic_stats.rx_mac_err), nic_stats 108 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_mac_err)}, nic_stats 109 drivers/staging/qlge/qlge_ethtool.c {"rx_ctl_pkts", QL_SIZEOF(nic_stats.rx_ctl_pkts), nic_stats 110 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_ctl_pkts)}, nic_stats 111 drivers/staging/qlge/qlge_ethtool.c {"rx_pause_pkts", QL_SIZEOF(nic_stats.rx_pause_pkts), nic_stats 112 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_pause_pkts)}, nic_stats 113 drivers/staging/qlge/qlge_ethtool.c {"rx_64_pkts", QL_SIZEOF(nic_stats.rx_64_pkts), nic_stats 114 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_64_pkts)}, nic_stats 115 drivers/staging/qlge/qlge_ethtool.c {"rx_65_to_127_pkts", QL_SIZEOF(nic_stats.rx_65_to_127_pkts), nic_stats 116 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_65_to_127_pkts)}, nic_stats 117 drivers/staging/qlge/qlge_ethtool.c {"rx_128_255_pkts", QL_SIZEOF(nic_stats.rx_128_255_pkts), nic_stats 118 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_128_255_pkts)}, nic_stats 119 drivers/staging/qlge/qlge_ethtool.c {"rx_256_511_pkts", QL_SIZEOF(nic_stats.rx_256_511_pkts), nic_stats 120 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_256_511_pkts)}, nic_stats 121 drivers/staging/qlge/qlge_ethtool.c {"rx_512_to_1023_pkts", QL_SIZEOF(nic_stats.rx_512_to_1023_pkts), nic_stats 122 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_512_to_1023_pkts)}, nic_stats 123 drivers/staging/qlge/qlge_ethtool.c {"rx_1024_to_1518_pkts", QL_SIZEOF(nic_stats.rx_1024_to_1518_pkts), nic_stats 124 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_1024_to_1518_pkts)}, nic_stats 125 drivers/staging/qlge/qlge_ethtool.c {"rx_1519_to_max_pkts", QL_SIZEOF(nic_stats.rx_1519_to_max_pkts), nic_stats 126 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_1519_to_max_pkts)}, nic_stats 127 drivers/staging/qlge/qlge_ethtool.c {"rx_len_err_pkts", QL_SIZEOF(nic_stats.rx_len_err_pkts), nic_stats 128 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_len_err_pkts)}, nic_stats 129 drivers/staging/qlge/qlge_ethtool.c {"rx_code_err", QL_SIZEOF(nic_stats.rx_code_err), nic_stats 130 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_code_err)}, nic_stats 131 drivers/staging/qlge/qlge_ethtool.c {"rx_oversize_err", QL_SIZEOF(nic_stats.rx_oversize_err), nic_stats 132 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_oversize_err)}, nic_stats 133 drivers/staging/qlge/qlge_ethtool.c {"rx_undersize_err", QL_SIZEOF(nic_stats.rx_undersize_err), nic_stats 134 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_undersize_err)}, nic_stats 135 drivers/staging/qlge/qlge_ethtool.c {"rx_preamble_err", QL_SIZEOF(nic_stats.rx_preamble_err), nic_stats 136 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_preamble_err)}, nic_stats 137 drivers/staging/qlge/qlge_ethtool.c {"rx_frame_len_err", QL_SIZEOF(nic_stats.rx_frame_len_err), nic_stats 138 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_frame_len_err)}, nic_stats 139 drivers/staging/qlge/qlge_ethtool.c {"rx_crc_err", QL_SIZEOF(nic_stats.rx_crc_err), nic_stats 140 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_crc_err)}, nic_stats 141 drivers/staging/qlge/qlge_ethtool.c {"rx_err_count", QL_SIZEOF(nic_stats.rx_err_count), nic_stats 142 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_err_count)}, nic_stats 143 drivers/staging/qlge/qlge_ethtool.c {"tx_cbfc_pause_frames0", QL_SIZEOF(nic_stats.tx_cbfc_pause_frames0), nic_stats 144 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.tx_cbfc_pause_frames0)}, nic_stats 145 drivers/staging/qlge/qlge_ethtool.c {"tx_cbfc_pause_frames1", QL_SIZEOF(nic_stats.tx_cbfc_pause_frames1), nic_stats 146 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.tx_cbfc_pause_frames1)}, nic_stats 147 drivers/staging/qlge/qlge_ethtool.c {"tx_cbfc_pause_frames2", QL_SIZEOF(nic_stats.tx_cbfc_pause_frames2), nic_stats 148 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.tx_cbfc_pause_frames2)}, nic_stats 149 drivers/staging/qlge/qlge_ethtool.c {"tx_cbfc_pause_frames3", QL_SIZEOF(nic_stats.tx_cbfc_pause_frames3), nic_stats 150 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.tx_cbfc_pause_frames3)}, nic_stats 151 drivers/staging/qlge/qlge_ethtool.c {"tx_cbfc_pause_frames4", QL_SIZEOF(nic_stats.tx_cbfc_pause_frames4), nic_stats 152 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.tx_cbfc_pause_frames4)}, nic_stats 153 drivers/staging/qlge/qlge_ethtool.c {"tx_cbfc_pause_frames5", QL_SIZEOF(nic_stats.tx_cbfc_pause_frames5), nic_stats 154 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.tx_cbfc_pause_frames5)}, nic_stats 155 drivers/staging/qlge/qlge_ethtool.c {"tx_cbfc_pause_frames6", QL_SIZEOF(nic_stats.tx_cbfc_pause_frames6), nic_stats 156 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.tx_cbfc_pause_frames6)}, nic_stats 157 drivers/staging/qlge/qlge_ethtool.c {"tx_cbfc_pause_frames7", QL_SIZEOF(nic_stats.tx_cbfc_pause_frames7), nic_stats 158 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.tx_cbfc_pause_frames7)}, nic_stats 159 drivers/staging/qlge/qlge_ethtool.c {"rx_cbfc_pause_frames0", QL_SIZEOF(nic_stats.rx_cbfc_pause_frames0), nic_stats 160 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_cbfc_pause_frames0)}, nic_stats 161 drivers/staging/qlge/qlge_ethtool.c {"rx_cbfc_pause_frames1", QL_SIZEOF(nic_stats.rx_cbfc_pause_frames1), nic_stats 162 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_cbfc_pause_frames1)}, nic_stats 163 drivers/staging/qlge/qlge_ethtool.c {"rx_cbfc_pause_frames2", QL_SIZEOF(nic_stats.rx_cbfc_pause_frames2), nic_stats 164 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_cbfc_pause_frames2)}, nic_stats 165 drivers/staging/qlge/qlge_ethtool.c {"rx_cbfc_pause_frames3", QL_SIZEOF(nic_stats.rx_cbfc_pause_frames3), nic_stats 166 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_cbfc_pause_frames3)}, nic_stats 167 drivers/staging/qlge/qlge_ethtool.c {"rx_cbfc_pause_frames4", QL_SIZEOF(nic_stats.rx_cbfc_pause_frames4), nic_stats 168 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_cbfc_pause_frames4)}, nic_stats 169 drivers/staging/qlge/qlge_ethtool.c {"rx_cbfc_pause_frames5", QL_SIZEOF(nic_stats.rx_cbfc_pause_frames5), nic_stats 170 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_cbfc_pause_frames5)}, nic_stats 171 drivers/staging/qlge/qlge_ethtool.c {"rx_cbfc_pause_frames6", QL_SIZEOF(nic_stats.rx_cbfc_pause_frames6), nic_stats 172 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_cbfc_pause_frames6)}, nic_stats 173 drivers/staging/qlge/qlge_ethtool.c {"rx_cbfc_pause_frames7", QL_SIZEOF(nic_stats.rx_cbfc_pause_frames7), nic_stats 174 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_cbfc_pause_frames7)}, nic_stats 175 drivers/staging/qlge/qlge_ethtool.c {"rx_nic_fifo_drop", QL_SIZEOF(nic_stats.rx_nic_fifo_drop), nic_stats 176 drivers/staging/qlge/qlge_ethtool.c QL_OFF(nic_stats.rx_nic_fifo_drop)}, nic_stats 248 drivers/staging/qlge/qlge_ethtool.c u64 *iter = &qdev->nic_stats.tx_pkts; nic_stats 1439 drivers/staging/qlge/qlge_main.c struct nic_stats *stats = &qdev->nic_stats;