core_stats         94 drivers/gpu/drm/amd/display/modules/stats/stats.c 		container_of(mod_stats, struct core_stats, public)
core_stats         99 drivers/gpu/drm/amd/display/modules/stats/stats.c 	struct core_stats *core_stats = NULL;
core_stats        105 drivers/gpu/drm/amd/display/modules/stats/stats.c 	core_stats = MOD_STATS_TO_CORE(mod_stats);
core_stats        106 drivers/gpu/drm/amd/display/modules/stats/stats.c 	dc = core_stats->dc;
core_stats        113 drivers/gpu/drm/amd/display/modules/stats/stats.c 	struct core_stats *core_stats = NULL;
core_stats        121 drivers/gpu/drm/amd/display/modules/stats/stats.c 	core_stats = kzalloc(sizeof(struct core_stats), GFP_KERNEL);
core_stats        123 drivers/gpu/drm/amd/display/modules/stats/stats.c 	if (core_stats == NULL)
core_stats        126 drivers/gpu/drm/amd/display/modules/stats/stats.c 	core_stats->dc = dc;
core_stats        128 drivers/gpu/drm/amd/display/modules/stats/stats.c 	core_stats->enabled = DAL_STATS_ENABLE_REGKEY_DEFAULT;
core_stats        132 drivers/gpu/drm/amd/display/modules/stats/stats.c 		core_stats->enabled = reg_data;
core_stats        134 drivers/gpu/drm/amd/display/modules/stats/stats.c 	if (core_stats->enabled) {
core_stats        135 drivers/gpu/drm/amd/display/modules/stats/stats.c 		core_stats->entries = DAL_STATS_ENTRIES_REGKEY_DEFAULT;
core_stats        140 drivers/gpu/drm/amd/display/modules/stats/stats.c 				core_stats->entries = DAL_STATS_ENTRIES_REGKEY_MAX;
core_stats        142 drivers/gpu/drm/amd/display/modules/stats/stats.c 				core_stats->entries = reg_data;
core_stats        144 drivers/gpu/drm/amd/display/modules/stats/stats.c 		core_stats->time = kcalloc(core_stats->entries,
core_stats        148 drivers/gpu/drm/amd/display/modules/stats/stats.c 		if (core_stats->time == NULL)
core_stats        151 drivers/gpu/drm/amd/display/modules/stats/stats.c 		core_stats->event_entries = DAL_STATS_EVENT_ENTRIES_DEFAULT;
core_stats        152 drivers/gpu/drm/amd/display/modules/stats/stats.c 		core_stats->events = kcalloc(core_stats->event_entries,
core_stats        156 drivers/gpu/drm/amd/display/modules/stats/stats.c 		if (core_stats->events == NULL)
core_stats        160 drivers/gpu/drm/amd/display/modules/stats/stats.c 		core_stats->entries = 0;
core_stats        166 drivers/gpu/drm/amd/display/modules/stats/stats.c 	core_stats->index = 1;
core_stats        167 drivers/gpu/drm/amd/display/modules/stats/stats.c 	core_stats->event_index = 0;
core_stats        170 drivers/gpu/drm/amd/display/modules/stats/stats.c 	core_stats->entry_id = 0;
core_stats        172 drivers/gpu/drm/amd/display/modules/stats/stats.c 	return &core_stats->public;
core_stats        175 drivers/gpu/drm/amd/display/modules/stats/stats.c 	kfree(core_stats->time);
core_stats        178 drivers/gpu/drm/amd/display/modules/stats/stats.c 	kfree(core_stats);
core_stats        187 drivers/gpu/drm/amd/display/modules/stats/stats.c 		struct core_stats *core_stats = MOD_STATS_TO_CORE(mod_stats);
core_stats        189 drivers/gpu/drm/amd/display/modules/stats/stats.c 		kfree(core_stats->time);
core_stats        190 drivers/gpu/drm/amd/display/modules/stats/stats.c 		kfree(core_stats->events);
core_stats        191 drivers/gpu/drm/amd/display/modules/stats/stats.c 		kfree(core_stats);
core_stats        199 drivers/gpu/drm/amd/display/modules/stats/stats.c 	struct core_stats *core_stats = NULL;
core_stats        210 drivers/gpu/drm/amd/display/modules/stats/stats.c 	core_stats = MOD_STATS_TO_CORE(mod_stats);
core_stats        211 drivers/gpu/drm/amd/display/modules/stats/stats.c 	dc = core_stats->dc;
core_stats        213 drivers/gpu/drm/amd/display/modules/stats/stats.c 	time = core_stats->time;
core_stats        214 drivers/gpu/drm/amd/display/modules/stats/stats.c 	events = core_stats->events;
core_stats        234 drivers/gpu/drm/amd/display/modules/stats/stats.c 	for (int i = 0; i < core_stats->entry_id; i++) {
core_stats        235 drivers/gpu/drm/amd/display/modules/stats/stats.c 		if (event_index < core_stats->event_index &&
core_stats        239 drivers/gpu/drm/amd/display/modules/stats/stats.c 		} else if (time_index < core_stats->index &&
core_stats        274 drivers/gpu/drm/amd/display/modules/stats/stats.c 	struct core_stats *core_stats = NULL;
core_stats        281 drivers/gpu/drm/amd/display/modules/stats/stats.c 	core_stats = MOD_STATS_TO_CORE(mod_stats);
core_stats        283 drivers/gpu/drm/amd/display/modules/stats/stats.c 	memset(core_stats->time, 0,
core_stats        284 drivers/gpu/drm/amd/display/modules/stats/stats.c 		sizeof(struct stats_time_cache) * core_stats->entries);
core_stats        286 drivers/gpu/drm/amd/display/modules/stats/stats.c 	memset(core_stats->events, 0,
core_stats        287 drivers/gpu/drm/amd/display/modules/stats/stats.c 		sizeof(struct stats_event_cache) * core_stats->event_entries);
core_stats        289 drivers/gpu/drm/amd/display/modules/stats/stats.c 	core_stats->index = 1;
core_stats        290 drivers/gpu/drm/amd/display/modules/stats/stats.c 	core_stats->event_index = 0;
core_stats        293 drivers/gpu/drm/amd/display/modules/stats/stats.c 	core_stats->entry_id = 0;
core_stats        300 drivers/gpu/drm/amd/display/modules/stats/stats.c 	struct core_stats *core_stats = NULL;
core_stats        308 drivers/gpu/drm/amd/display/modules/stats/stats.c 	core_stats = MOD_STATS_TO_CORE(mod_stats);
core_stats        310 drivers/gpu/drm/amd/display/modules/stats/stats.c 	if (core_stats->event_index >= core_stats->event_entries)
core_stats        313 drivers/gpu/drm/amd/display/modules/stats/stats.c 	events = core_stats->events;
core_stats        314 drivers/gpu/drm/amd/display/modules/stats/stats.c 	index = core_stats->event_index;
core_stats        323 drivers/gpu/drm/amd/display/modules/stats/stats.c 	events[index].entry_id = core_stats->entry_id;
core_stats        324 drivers/gpu/drm/amd/display/modules/stats/stats.c 	core_stats->event_index++;
core_stats        325 drivers/gpu/drm/amd/display/modules/stats/stats.c 	core_stats->entry_id++;
core_stats        331 drivers/gpu/drm/amd/display/modules/stats/stats.c 	struct core_stats *core_stats = NULL;
core_stats        338 drivers/gpu/drm/amd/display/modules/stats/stats.c 	core_stats = MOD_STATS_TO_CORE(mod_stats);
core_stats        340 drivers/gpu/drm/amd/display/modules/stats/stats.c 	if (core_stats->index >= core_stats->entries)
core_stats        343 drivers/gpu/drm/amd/display/modules/stats/stats.c 	time = core_stats->time;
core_stats        344 drivers/gpu/drm/amd/display/modules/stats/stats.c 	index = core_stats->index;
core_stats        366 drivers/gpu/drm/amd/display/modules/stats/stats.c 	time[index].entry_id = core_stats->entry_id;
core_stats        367 drivers/gpu/drm/amd/display/modules/stats/stats.c 	core_stats->index++;
core_stats        368 drivers/gpu/drm/amd/display/modules/stats/stats.c 	core_stats->entry_id++;
core_stats        374 drivers/gpu/drm/amd/display/modules/stats/stats.c 	struct core_stats *core_stats = NULL;
core_stats        383 drivers/gpu/drm/amd/display/modules/stats/stats.c 	core_stats = MOD_STATS_TO_CORE(mod_stats);
core_stats        385 drivers/gpu/drm/amd/display/modules/stats/stats.c 	if (core_stats->index >= core_stats->entries)
core_stats        388 drivers/gpu/drm/amd/display/modules/stats/stats.c 	time = core_stats->time;
core_stats        389 drivers/gpu/drm/amd/display/modules/stats/stats.c 	index = core_stats->index;
core_stats        424 drivers/gpu/drm/amd/display/modules/stats/stats.c 	struct core_stats *core_stats = NULL;
core_stats        431 drivers/gpu/drm/amd/display/modules/stats/stats.c 	core_stats = MOD_STATS_TO_CORE(mod_stats);
core_stats        433 drivers/gpu/drm/amd/display/modules/stats/stats.c 	if (core_stats->index >= core_stats->entries)
core_stats        436 drivers/gpu/drm/amd/display/modules/stats/stats.c 	time = core_stats->time;
core_stats        437 drivers/gpu/drm/amd/display/modules/stats/stats.c 	index = core_stats->index;
core_stats       1870 drivers/net/ethernet/sfc/ef10.c 					   struct rtnl_link_stats64 *core_stats)
core_stats       1888 drivers/net/ethernet/sfc/ef10.c 	if (!core_stats)
core_stats       1894 drivers/net/ethernet/sfc/ef10.c 		core_stats->rx_packets = stats[EF10_STAT_rx_unicast] +
core_stats       1897 drivers/net/ethernet/sfc/ef10.c 		core_stats->tx_packets = stats[EF10_STAT_tx_unicast] +
core_stats       1900 drivers/net/ethernet/sfc/ef10.c 		core_stats->rx_bytes = stats[EF10_STAT_rx_unicast_bytes] +
core_stats       1903 drivers/net/ethernet/sfc/ef10.c 		core_stats->tx_bytes = stats[EF10_STAT_tx_unicast_bytes] +
core_stats       1906 drivers/net/ethernet/sfc/ef10.c 		core_stats->rx_dropped = stats[GENERIC_STAT_rx_nodesc_trunc] +
core_stats       1908 drivers/net/ethernet/sfc/ef10.c 		core_stats->multicast = stats[EF10_STAT_rx_multicast];
core_stats       1909 drivers/net/ethernet/sfc/ef10.c 		core_stats->rx_crc_errors = stats[EF10_STAT_rx_bad];
core_stats       1910 drivers/net/ethernet/sfc/ef10.c 		core_stats->rx_fifo_errors = stats[EF10_STAT_rx_overflow];
core_stats       1911 drivers/net/ethernet/sfc/ef10.c 		core_stats->rx_errors = core_stats->rx_crc_errors;
core_stats       1912 drivers/net/ethernet/sfc/ef10.c 		core_stats->tx_errors = stats[EF10_STAT_tx_bad];
core_stats       1915 drivers/net/ethernet/sfc/ef10.c 		core_stats->rx_packets = stats[EF10_STAT_port_rx_packets];
core_stats       1916 drivers/net/ethernet/sfc/ef10.c 		core_stats->tx_packets = stats[EF10_STAT_port_tx_packets];
core_stats       1917 drivers/net/ethernet/sfc/ef10.c 		core_stats->rx_bytes = stats[EF10_STAT_port_rx_bytes];
core_stats       1918 drivers/net/ethernet/sfc/ef10.c 		core_stats->tx_bytes = stats[EF10_STAT_port_tx_bytes];
core_stats       1919 drivers/net/ethernet/sfc/ef10.c 		core_stats->rx_dropped = stats[EF10_STAT_port_rx_nodesc_drops] +
core_stats       1922 drivers/net/ethernet/sfc/ef10.c 		core_stats->multicast = stats[EF10_STAT_port_rx_multicast];
core_stats       1923 drivers/net/ethernet/sfc/ef10.c 		core_stats->rx_length_errors =
core_stats       1926 drivers/net/ethernet/sfc/ef10.c 		core_stats->rx_crc_errors = stats[EF10_STAT_port_rx_bad];
core_stats       1927 drivers/net/ethernet/sfc/ef10.c 		core_stats->rx_frame_errors =
core_stats       1929 drivers/net/ethernet/sfc/ef10.c 		core_stats->rx_fifo_errors = stats[EF10_STAT_port_rx_overflow];
core_stats       1930 drivers/net/ethernet/sfc/ef10.c 		core_stats->rx_errors = (core_stats->rx_length_errors +
core_stats       1931 drivers/net/ethernet/sfc/ef10.c 					 core_stats->rx_crc_errors +
core_stats       1932 drivers/net/ethernet/sfc/ef10.c 					 core_stats->rx_frame_errors);
core_stats       1975 drivers/net/ethernet/sfc/ef10.c 				       struct rtnl_link_stats64 *core_stats)
core_stats       1988 drivers/net/ethernet/sfc/ef10.c 	return efx_ef10_update_stats_common(efx, full_stats, core_stats);
core_stats       2064 drivers/net/ethernet/sfc/ef10.c 				       struct rtnl_link_stats64 *core_stats)
core_stats       2069 drivers/net/ethernet/sfc/ef10.c 	return efx_ef10_update_stats_common(efx, full_stats, core_stats);
core_stats       2574 drivers/net/ethernet/sfc/falcon/falcon.c 				      struct rtnl_link_stats64 *core_stats)
core_stats       2606 drivers/net/ethernet/sfc/falcon/falcon.c 	if (core_stats) {
core_stats       2607 drivers/net/ethernet/sfc/falcon/falcon.c 		core_stats->rx_packets = stats[FALCON_STAT_rx_packets];
core_stats       2608 drivers/net/ethernet/sfc/falcon/falcon.c 		core_stats->tx_packets = stats[FALCON_STAT_tx_packets];
core_stats       2609 drivers/net/ethernet/sfc/falcon/falcon.c 		core_stats->rx_bytes = stats[FALCON_STAT_rx_bytes];
core_stats       2610 drivers/net/ethernet/sfc/falcon/falcon.c 		core_stats->tx_bytes = stats[FALCON_STAT_tx_bytes];
core_stats       2611 drivers/net/ethernet/sfc/falcon/falcon.c 		core_stats->rx_dropped = stats[FALCON_STAT_rx_nodesc_drop_cnt] +
core_stats       2614 drivers/net/ethernet/sfc/falcon/falcon.c 		core_stats->multicast = stats[FALCON_STAT_rx_multicast];
core_stats       2615 drivers/net/ethernet/sfc/falcon/falcon.c 		core_stats->rx_length_errors =
core_stats       2618 drivers/net/ethernet/sfc/falcon/falcon.c 		core_stats->rx_crc_errors = stats[FALCON_STAT_rx_bad];
core_stats       2619 drivers/net/ethernet/sfc/falcon/falcon.c 		core_stats->rx_frame_errors = stats[FALCON_STAT_rx_align_error];
core_stats       2620 drivers/net/ethernet/sfc/falcon/falcon.c 		core_stats->rx_fifo_errors = stats[FALCON_STAT_rx_overflow];
core_stats       2622 drivers/net/ethernet/sfc/falcon/falcon.c 		core_stats->rx_errors = (core_stats->rx_length_errors +
core_stats       2623 drivers/net/ethernet/sfc/falcon/falcon.c 					 core_stats->rx_crc_errors +
core_stats       2624 drivers/net/ethernet/sfc/falcon/falcon.c 					 core_stats->rx_frame_errors +
core_stats       1062 drivers/net/ethernet/sfc/falcon/net_driver.h 			       struct rtnl_link_stats64 *core_stats);
core_stats       1293 drivers/net/ethernet/sfc/net_driver.h 			       struct rtnl_link_stats64 *core_stats);
core_stats        585 drivers/net/ethernet/sfc/siena.c 				     struct rtnl_link_stats64 *core_stats)
core_stats        602 drivers/net/ethernet/sfc/siena.c 	if (core_stats) {
core_stats        603 drivers/net/ethernet/sfc/siena.c 		core_stats->rx_packets = stats[SIENA_STAT_rx_packets];
core_stats        604 drivers/net/ethernet/sfc/siena.c 		core_stats->tx_packets = stats[SIENA_STAT_tx_packets];
core_stats        605 drivers/net/ethernet/sfc/siena.c 		core_stats->rx_bytes = stats[SIENA_STAT_rx_bytes];
core_stats        606 drivers/net/ethernet/sfc/siena.c 		core_stats->tx_bytes = stats[SIENA_STAT_tx_bytes];
core_stats        607 drivers/net/ethernet/sfc/siena.c 		core_stats->rx_dropped = stats[SIENA_STAT_rx_nodesc_drop_cnt] +
core_stats        610 drivers/net/ethernet/sfc/siena.c 		core_stats->multicast = stats[SIENA_STAT_rx_multicast];
core_stats        611 drivers/net/ethernet/sfc/siena.c 		core_stats->collisions = stats[SIENA_STAT_tx_collision];
core_stats        612 drivers/net/ethernet/sfc/siena.c 		core_stats->rx_length_errors =
core_stats        615 drivers/net/ethernet/sfc/siena.c 		core_stats->rx_crc_errors = stats[SIENA_STAT_rx_bad];
core_stats        616 drivers/net/ethernet/sfc/siena.c 		core_stats->rx_frame_errors = stats[SIENA_STAT_rx_align_error];
core_stats        617 drivers/net/ethernet/sfc/siena.c 		core_stats->rx_fifo_errors = stats[SIENA_STAT_rx_overflow];
core_stats        618 drivers/net/ethernet/sfc/siena.c 		core_stats->tx_window_errors =
core_stats        621 drivers/net/ethernet/sfc/siena.c 		core_stats->rx_errors = (core_stats->rx_length_errors +
core_stats        622 drivers/net/ethernet/sfc/siena.c 					 core_stats->rx_crc_errors +
core_stats        623 drivers/net/ethernet/sfc/siena.c 					 core_stats->rx_frame_errors +
core_stats        625 drivers/net/ethernet/sfc/siena.c 		core_stats->tx_errors = (core_stats->tx_window_errors +