Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/drivers/net/ethernet/sfc/
Dsiena.c585 struct rtnl_link_stats64 *core_stats) in siena_update_nic_stats() argument
602 if (core_stats) { in siena_update_nic_stats()
603 core_stats->rx_packets = stats[SIENA_STAT_rx_packets]; in siena_update_nic_stats()
604 core_stats->tx_packets = stats[SIENA_STAT_tx_packets]; in siena_update_nic_stats()
605 core_stats->rx_bytes = stats[SIENA_STAT_rx_bytes]; in siena_update_nic_stats()
606 core_stats->tx_bytes = stats[SIENA_STAT_tx_bytes]; in siena_update_nic_stats()
607 core_stats->rx_dropped = stats[SIENA_STAT_rx_nodesc_drop_cnt] + in siena_update_nic_stats()
610 core_stats->multicast = stats[SIENA_STAT_rx_multicast]; in siena_update_nic_stats()
611 core_stats->collisions = stats[SIENA_STAT_tx_collision]; in siena_update_nic_stats()
612 core_stats->rx_length_errors = in siena_update_nic_stats()
[all …]
Def10.c1870 struct rtnl_link_stats64 *core_stats) in efx_ef10_update_stats_common() argument
1888 if (!core_stats) in efx_ef10_update_stats_common()
1894 core_stats->rx_packets = stats[EF10_STAT_rx_unicast] + in efx_ef10_update_stats_common()
1897 core_stats->tx_packets = stats[EF10_STAT_tx_unicast] + in efx_ef10_update_stats_common()
1900 core_stats->rx_bytes = stats[EF10_STAT_rx_unicast_bytes] + in efx_ef10_update_stats_common()
1903 core_stats->tx_bytes = stats[EF10_STAT_tx_unicast_bytes] + in efx_ef10_update_stats_common()
1906 core_stats->rx_dropped = stats[GENERIC_STAT_rx_nodesc_trunc] + in efx_ef10_update_stats_common()
1908 core_stats->multicast = stats[EF10_STAT_rx_multicast]; in efx_ef10_update_stats_common()
1909 core_stats->rx_crc_errors = stats[EF10_STAT_rx_bad]; in efx_ef10_update_stats_common()
1910 core_stats->rx_fifo_errors = stats[EF10_STAT_rx_overflow]; in efx_ef10_update_stats_common()
[all …]
Dnet_driver.h1293 struct rtnl_link_stats64 *core_stats);
/Linux-v5.4/drivers/net/ethernet/sfc/falcon/
Dfalcon.c2574 struct rtnl_link_stats64 *core_stats) in falcon_update_nic_stats() argument
2606 if (core_stats) { in falcon_update_nic_stats()
2607 core_stats->rx_packets = stats[FALCON_STAT_rx_packets]; in falcon_update_nic_stats()
2608 core_stats->tx_packets = stats[FALCON_STAT_tx_packets]; in falcon_update_nic_stats()
2609 core_stats->rx_bytes = stats[FALCON_STAT_rx_bytes]; in falcon_update_nic_stats()
2610 core_stats->tx_bytes = stats[FALCON_STAT_tx_bytes]; in falcon_update_nic_stats()
2611 core_stats->rx_dropped = stats[FALCON_STAT_rx_nodesc_drop_cnt] + in falcon_update_nic_stats()
2614 core_stats->multicast = stats[FALCON_STAT_rx_multicast]; in falcon_update_nic_stats()
2615 core_stats->rx_length_errors = in falcon_update_nic_stats()
2618 core_stats->rx_crc_errors = stats[FALCON_STAT_rx_bad]; in falcon_update_nic_stats()
[all …]
Dnet_driver.h1062 struct rtnl_link_stats64 *core_stats);