Home
last modified time | relevance | path

Searched +full:rpmh +full:- +full:stats (Results 1 – 2 of 2) sorted by relevance

/linux/Documentation/devicetree/bindings/soc/qcom/
H A Dqcom-stats.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/soc/qcom/qcom-stats.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm Technologies, Inc. (QTI) Stats
10 - Maulik Shah <quic_mkshah@quicinc.com>
22 - qcom,rpmh-stats
23 - qcom,sdm845-rpmh-stats
24 - qcom,rpm-stats
25 # For older RPM firmware versions with fixed offset for the sleep stats
[all …]
/linux/drivers/soc/qcom/
H A Dqcom_stats.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2011-2021, The Linux Foundation. All rights reserved.
4 * Copyright (c) 2022-2025, Qualcomm Innovation Center, Inc. All rights reserved.
100 u64 accumulated = stat->accumulated; in qcom_print_stats()
102 * If a subsystem is in sleep when reading the sleep stats adjust in qcom_print_stats()
105 if (stat->last_entered_at > stat->last_exited_at) in qcom_print_stats()
106 accumulated += arch_timer_read_counter() - stat->last_entered_at; in qcom_print_stats()
108 seq_printf(s, "Count: %u\n", stat->count); in qcom_print_stats()
109 seq_printf(s, "Last Entered At: %llu\n", stat->last_entered_at); in qcom_print_stats()
110 seq_printf(s, "Last Exited At: %llu\n", stat->last_exited_at); in qcom_print_stats()
[all …]