esw_stats 1061 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c const u8 rx_tx, struct __qlcnic_esw_statistics *esw_stats) { esw_stats 1071 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c if (esw_stats == NULL) esw_stats 1101 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c esw_stats->context_id = le16_to_cpu(stats->context_id); esw_stats 1102 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c esw_stats->version = le16_to_cpu(stats->version); esw_stats 1103 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c esw_stats->size = le16_to_cpu(stats->size); esw_stats 1104 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c esw_stats->multicast_frames = esw_stats 1106 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c esw_stats->broadcast_frames = esw_stats 1108 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c esw_stats->unicast_frames = le64_to_cpu(stats->unicast_frames); esw_stats 1109 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c esw_stats->dropped_frames = le64_to_cpu(stats->dropped_frames); esw_stats 1110 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c esw_stats->local_frames = le64_to_cpu(stats->local_frames); esw_stats 1111 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c esw_stats->errors = le64_to_cpu(stats->errors); esw_stats 1112 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c esw_stats->numbytes = le64_to_cpu(stats->numbytes); esw_stats 1186 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c const u8 rx_tx, struct __qlcnic_esw_statistics *esw_stats) { esw_stats 1192 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c if (esw_stats == NULL) esw_stats 1199 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c memset(esw_stats, 0, sizeof(u64)); esw_stats 1200 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c esw_stats->unicast_frames = QLCNIC_STATS_NOT_AVAIL; esw_stats 1201 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c esw_stats->multicast_frames = QLCNIC_STATS_NOT_AVAIL; esw_stats 1202 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c esw_stats->broadcast_frames = QLCNIC_STATS_NOT_AVAIL; esw_stats 1203 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c esw_stats->dropped_frames = QLCNIC_STATS_NOT_AVAIL; esw_stats 1204 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c esw_stats->errors = QLCNIC_STATS_NOT_AVAIL; esw_stats 1205 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c esw_stats->local_frames = QLCNIC_STATS_NOT_AVAIL; esw_stats 1206 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c esw_stats->numbytes = QLCNIC_STATS_NOT_AVAIL; esw_stats 1207 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c esw_stats->context_id = eswitch; esw_stats 1218 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c esw_stats->size = port_stats.size; esw_stats 1219 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c esw_stats->version = port_stats.version; esw_stats 1220 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c QLCNIC_ADD_ESW_STATS(esw_stats->unicast_frames, esw_stats 1222 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c QLCNIC_ADD_ESW_STATS(esw_stats->multicast_frames, esw_stats 1224 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c QLCNIC_ADD_ESW_STATS(esw_stats->broadcast_frames, esw_stats 1226 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c QLCNIC_ADD_ESW_STATS(esw_stats->dropped_frames, esw_stats 1228 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c QLCNIC_ADD_ESW_STATS(esw_stats->errors, esw_stats 1230 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c QLCNIC_ADD_ESW_STATS(esw_stats->local_frames, esw_stats 1232 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c QLCNIC_ADD_ESW_STATS(esw_stats->numbytes, esw_stats 1291 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c struct __qlcnic_esw_statistics *esw_stats = esw_stats 1293 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(esw_stats->unicast_frames); esw_stats 1294 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(esw_stats->multicast_frames); esw_stats 1295 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(esw_stats->broadcast_frames); esw_stats 1296 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(esw_stats->dropped_frames); esw_stats 1297 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(esw_stats->errors); esw_stats 1298 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(esw_stats->local_frames); esw_stats 1299 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c *data++ = QLCNIC_FILL_STATS(esw_stats->numbytes); esw_stats 815 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c struct qlcnic_esw_statistics esw_stats; esw_stats 827 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c memset(&esw_stats, 0, size); esw_stats 829 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c &esw_stats.rx); esw_stats 834 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c &esw_stats.tx); esw_stats 838 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c memcpy(buf, &esw_stats, size);