Home
last modified time | relevance | path

Searched refs:core_stats (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/amd/display/modules/stats/
Dstats.c76 struct core_stats { struct
94 container_of(mod_stats, struct core_stats, public) argument
99 struct core_stats *core_stats = NULL; in mod_stats_init() local
105 core_stats = MOD_STATS_TO_CORE(mod_stats); in mod_stats_init()
106 dc = core_stats->dc; in mod_stats_init()
113 struct core_stats *core_stats = NULL; in mod_stats_create() local
121 core_stats = kzalloc(sizeof(struct core_stats), GFP_KERNEL); in mod_stats_create()
123 if (core_stats == NULL) in mod_stats_create()
126 core_stats->dc = dc; in mod_stats_create()
128 core_stats->enabled = DAL_STATS_ENABLE_REGKEY_DEFAULT; in mod_stats_create()
[all …]
/Linux-v4.19/drivers/net/ethernet/sfc/
Dsiena.c588 struct rtnl_link_stats64 *core_stats) in siena_update_nic_stats() argument
605 if (core_stats) { in siena_update_nic_stats()
606 core_stats->rx_packets = stats[SIENA_STAT_rx_packets]; in siena_update_nic_stats()
607 core_stats->tx_packets = stats[SIENA_STAT_tx_packets]; in siena_update_nic_stats()
608 core_stats->rx_bytes = stats[SIENA_STAT_rx_bytes]; in siena_update_nic_stats()
609 core_stats->tx_bytes = stats[SIENA_STAT_tx_bytes]; in siena_update_nic_stats()
610 core_stats->rx_dropped = stats[SIENA_STAT_rx_nodesc_drop_cnt] + in siena_update_nic_stats()
613 core_stats->multicast = stats[SIENA_STAT_rx_multicast]; in siena_update_nic_stats()
614 core_stats->collisions = stats[SIENA_STAT_tx_collision]; in siena_update_nic_stats()
615 core_stats->rx_length_errors = in siena_update_nic_stats()
[all …]
Def10.c1873 struct rtnl_link_stats64 *core_stats) in efx_ef10_update_stats_common() argument
1891 if (!core_stats) in efx_ef10_update_stats_common()
1897 core_stats->rx_packets = stats[EF10_STAT_rx_unicast] + in efx_ef10_update_stats_common()
1900 core_stats->tx_packets = stats[EF10_STAT_tx_unicast] + in efx_ef10_update_stats_common()
1903 core_stats->rx_bytes = stats[EF10_STAT_rx_unicast_bytes] + in efx_ef10_update_stats_common()
1906 core_stats->tx_bytes = stats[EF10_STAT_tx_unicast_bytes] + in efx_ef10_update_stats_common()
1909 core_stats->rx_dropped = stats[GENERIC_STAT_rx_nodesc_trunc] + in efx_ef10_update_stats_common()
1911 core_stats->multicast = stats[EF10_STAT_rx_multicast]; in efx_ef10_update_stats_common()
1912 core_stats->rx_crc_errors = stats[EF10_STAT_rx_bad]; in efx_ef10_update_stats_common()
1913 core_stats->rx_fifo_errors = stats[EF10_STAT_rx_overflow]; in efx_ef10_update_stats_common()
[all …]
Dnet_driver.h1296 struct rtnl_link_stats64 *core_stats);
/Linux-v4.19/drivers/net/ethernet/sfc/falcon/
Dfalcon.c2577 struct rtnl_link_stats64 *core_stats) in falcon_update_nic_stats() argument
2609 if (core_stats) { in falcon_update_nic_stats()
2610 core_stats->rx_packets = stats[FALCON_STAT_rx_packets]; in falcon_update_nic_stats()
2611 core_stats->tx_packets = stats[FALCON_STAT_tx_packets]; in falcon_update_nic_stats()
2612 core_stats->rx_bytes = stats[FALCON_STAT_rx_bytes]; in falcon_update_nic_stats()
2613 core_stats->tx_bytes = stats[FALCON_STAT_tx_bytes]; in falcon_update_nic_stats()
2614 core_stats->rx_dropped = stats[FALCON_STAT_rx_nodesc_drop_cnt] + in falcon_update_nic_stats()
2617 core_stats->multicast = stats[FALCON_STAT_rx_multicast]; in falcon_update_nic_stats()
2618 core_stats->rx_length_errors = in falcon_update_nic_stats()
2621 core_stats->rx_crc_errors = stats[FALCON_STAT_rx_bad]; in falcon_update_nic_stats()
[all …]
Dnet_driver.h1065 struct rtnl_link_stats64 *core_stats);